From owner-freebsd-security Mon Feb 12 10:46: 1 2001 Delivered-To: freebsd-security@freebsd.org Received: from khavrinen.lcs.mit.edu (khavrinen.lcs.mit.edu [18.24.4.193]) by hub.freebsd.org (Postfix) with ESMTP id 5D77837B67D for ; Mon, 12 Feb 2001 10:45:54 -0800 (PST) Received: (from wollman@localhost) by khavrinen.lcs.mit.edu (8.9.3/8.9.3) id NAA20130; Mon, 12 Feb 2001 13:45:50 -0500 (EST) (envelope-from wollman) Date: Mon, 12 Feb 2001 13:45:50 -0500 (EST) From: Garrett Wollman Message-Id: <200102121845.NAA20130@khavrinen.lcs.mit.edu> To: Ragnar Beer Cc: freebsd-security@FreeBSD.ORG Subject: cron and sendmail In-Reply-To: References: Sender: owner-freebsd-security@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org < 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