From owner-freebsd-questions@FreeBSD.ORG Wed Jan 9 09:19:48 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 4086216A41B for ; Wed, 9 Jan 2008 09:19:48 +0000 (UTC) (envelope-from quakenet1@optusnet.com.au) Received: from mail09.syd.optusnet.com.au (mail09.syd.optusnet.com.au [211.29.132.190]) by mx1.freebsd.org (Postfix) with ESMTP id B5EBC13C45D for ; Wed, 9 Jan 2008 09:19:47 +0000 (UTC) (envelope-from quakenet1@optusnet.com.au) Received: from [10.0.0.3] (c220-239-172-188.belrs4.nsw.optusnet.com.au [220.239.172.188]) by mail09.syd.optusnet.com.au (8.13.1/8.13.1) with ESMTP id m099JhsA001757; Wed, 9 Jan 2008 20:19:44 +1100 Message-Id: <2AB7562D-D4DC-43A7-A9EF-2A71046826AD@optusnet.com.au> From: Jerahmy Pocott To: "Philip M. Gollucci" In-Reply-To: <4783C048.9080403@ridecharge.com> Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Mime-Version: 1.0 (Apple Message framework v915) Date: Wed, 9 Jan 2008 20:20:05 +1100 References: <8EE4A2AA-E15D-4C07-AFBC-061A4595DA82@optusnet.com.au> <4783C048.9080403@ridecharge.com> X-Mailer: Apple Mail (2.915) Cc: FreeBSD Questions Subject: Re: Sendmail: "exposed" root, why? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 09 Jan 2008 09:19:48 -0000 On 09/01/2008, at 5:26 AM, Philip M. Gollucci wrote: > There is no directive, but you can edit the resultant .cf file > and remove the line > C{E}root > or root from that line if more than one user. > Be warned, you _will_ break /etc/crontab and periodic scripts mail > delivery. > > The reason it needs to be exposed is probably these scripts because > other wise the from address for daily security scripts will be > root@ rather than root@machine.domain. Now, it so > happens that most of these e-mails have the machine name in the > subject or what not. I guess I will just try not exposing root and see what happens.. I don't really see why the crontab and periodic mail would get broken though? Other than it having the wrong host in the From: field, the subject line would still say the correct host.. Or will it break it in some other way? Cheers, J.