[CentOS] Re: system smtp server question

Thu Feb 7 16:30:12 UTC 2008
Alexander Dalloz <ad+lists at uni-x.org>

Scott Silva schrieb:

> Sendmail in its default setup is almost perfect in this respect. It 
> doesn't listen to anything but localhost, and it will get security 
> upgrades with the rest of the system. The only real change it needs is 
> to set up a smarthost for it to relay its notices to, and an alias to 
> root to receive the notices.

It is even pretty simple to switch off the sendmail daemon and only run 
the queueing submission agent:

1) edit /etc/sysconfig/sendmail and set
    "DAEMON=no"
2) edit /etc/mail/submit.mc and set
    FEATURE(`msp', `[IP.of.relayhost]')dnl

Given the sendmail-cf RPM is already installed a "service sendmail 
restart" is enough to a light, direct submitting sendmail setup.

Alexander