The consequences of turning off sendmail

RW fbsd06 at
Sun Sep 28 12:28:07 UTC 2008

On Sat, 27 Sep 2008 22:20:40 -0400
Sahil Tandon <sahil at> wrote:

> Andrew Falanga <af300wsm at> wrote:

> You can turn off the Sendmail daemon so that it does not actually
> listen for incoming connections or act as an MTA in the conventional
> sense. But local utilities like cron can still invoke
> the /usr/sbin/sendmail command to send you notifications.
The default for sendmail is:


which has the sendmail daemon listening only on localhost. It's fully
functional in all respects except that it can't be accessed from
outside. You can use localhost:25 as an outgoing mail server if you

Turning-off the localhost daemon altogether and having  
/usr/sbin/sendmail deliver local mail directly is possible, but
it's deprecated on security grounds as it needs to run setuid.

More information about the freebsd-questions mailing list