Friday, 16 September 2011

Linux : Quick Reference for Sendmail Issues

Linux : Quick Reference for Sendmail Issues

Just discussing some of the common sendmail issues and troubleshooting procedures in linux

Problem: Sendmail can not send mail to users in other domains.

Symptom:It can send mail to internal email account but can’t send mail to outside of the company or users in other domains.

Solution: To implement the solution, please execute the following steps:

1. Edit /etc/mail/ to have:

define(`SMART_HOST’,`<your full smtp server address>’)


DAEMON_OPTIONS(`Port=smtp,Addr=, Name=MTA’)dnl

Do NOT edit /etc/mail/ as it may cause unexpected results.

(The “DAEMON_OPTIONS” line is a security measure – it allows sendmail to accept e-mail only from the local server. If you do not need otherwise, this is a good security practice. )

2. Regenerate from

# m4 /etc/mail/ > /etc/mail/

3. Restart the sendmail service:

# service sendmail restart

No comments:

Post a Comment

Twitter Bird Gadget