Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 12 Feb 2001 13:45:50 -0500 (EST)
From:      Garrett Wollman <wollman@khavrinen.lcs.mit.edu>
To:        Ragnar Beer <rbeer@uni-goettingen.de>
Cc:        freebsd-security@FreeBSD.ORG
Subject:   cron and sendmail
Message-ID:  <200102121845.NAA20130@khavrinen.lcs.mit.edu>
In-Reply-To: <p04330104b6addd622dfe@[192.168.0.98]>
References:  <p04330104b6addd622dfe@[192.168.0.98]>

next in thread | previous in thread | raw e-mail | index | archive | help
<<On Mon, 12 Feb 2001 19:41:00 +0100, Ragnar Beer <rbeer@uni-goettingen.de> said:

> I just learned (better late than never ;) that even if I have 
> disabled sendmail as a daemon with "sendmail_enable=NO" in 
> /etc/rc.conf the program still gets executed periodically by crond 
> and the /etc/periodic scripts.

If you are using some other MTA, you should configure `mailwrapper' to
redirect requests to that MTA rather than executing Sendmail(tm).  On
modern FreeBSD systems, /usr/sbin/sendmail is actually the
`mailwrapper' program, which redirects requests to your MTA of choice.

If you are not running any sort of MTA on the machine, then you should
generate and install a sendmail.cf file which uses the `nullclient'
configuration to send all of its outgoing mail to an appropriate mail
server.  You should also periodically run a `sendmail -q' in order to
deliver any mail which was queued due to the relay host being
unreachable.  Whether you use `cron' or `sendmail -qINTERVAL' to do
this is a matter of religion.

-GAWollman



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-security" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200102121845.NAA20130>