From owner-freebsd-security Mon Feb 12 11:33:32 2001 Delivered-To: freebsd-security@freebsd.org Received: from gwdu42.gwdg.de (gwdu42.gwdg.de [134.76.10.26]) by hub.freebsd.org (Postfix) with ESMTP id 8EA8137B4EC for ; Mon, 12 Feb 2001 11:33:24 -0800 (PST) Received: from ras23-066.gwdg.de ([134.76.23.66] helo=[192.168.0.98]) by gwdu42.gwdg.de with esmtp (Exim 3.14 #18) id 14SOix-0004Ol-00 for freebsd-security@freebsd.org; Mon, 12 Feb 2001 20:33:23 +0100 Mime-Version: 1.0 X-Sender: rbeer@popper.gwdg.de Message-Id: In-Reply-To: <200102121845.NAA20130@khavrinen.lcs.mit.edu> References: <200102121845.NAA20130@khavrinen.lcs.mit.edu> Date: Mon, 12 Feb 2001 20:32:56 +0100 To: freebsd-security@freebsd.org From: Ragnar Beer Subject: Re: cron and sendmail Content-Type: text/plain; charset="us-ascii" ; format="flowed" Sender: owner-freebsd-security@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Does that mean that it's better not to use sendmail even if it's not running in daemon mode? What else should I use for simplicity and security? Ragnar >< 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 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-security" in the body of the message