So I have been working on sendmail so that we are not running the sendmail daemon in the background on RHEL 5 and just have the server submit mail to our main SMTP server. To do this edit the following files.
/etc/sysconfig/sendmail
change the line
DAEMON=yes
to
DAEMON=no
Then edit the following file.
/etc/mail/submit.cf
change the line
D{MTAHost}[127.0.0.1]
to
D{MTAHost}[smtp.relayserver.com]
Restart the sendmail service
service sendmail restart
That's it.
Subscribe to:
Post Comments (Atom)
0 comments:
Post a Comment