Friday, January 18, 2013

Relaying mails in Sendmail

Today i noticed mails are not sending from our bugzilla application. Its a debian box,
first i checked the log files from /var/log/ i can see DEFFERED unable to reach the server

Solution :
add a field called “SMART_HOST” in our Sendmail configuration file:
vi /etc/mail/
and add the following line near the beginnnig of the file:
m4 /etc/mail/ > /etc/mail/
/etc/init.d/sendmail restart
tail /var/log/

No comments:

Post a Comment