Page 1 of 1

sendmail configuration

Posted: Fri Jun 21, 2013 12:43 pm
by mroter
Hi
we want to use sendmail due to formatting plugin we use.
It was working for few months but stopped working.
We can send mail via smtp to our SMTP relay.
when we use sendmail the mail go to public SMTP relay (e.g.mail.global.frontbridge.com ). How can we configure it?
(didn't find /etc/mail etc.)

Thanks
Matty

Re: sendmail configuration

Posted: Fri Jun 21, 2013 12:56 pm
by abrist
This can be a can of worms if you need the old core handlers instead of the XI php mailer. It will require you to configure your mta and/or create custom notification commands. The following link will give you a rough idea of how to do this, just note that you do not need to use the blogs sendEmail binary, you just need to give the correct path to sendmail.
http://danxlog.blogspot.com/2010/07/nag ... -send.html
As most centos installations actually use postfix for the mta, you may have to look at configuring postfix to send to an snmp relay. You can discover which mta you use on centos/redhat systems with:

Code: Select all

alternatives  --display mta