From owner-freebsd-questions@FreeBSD.ORG Mon Nov 14 15:33:16 2005 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 28AE216A41F for ; Mon, 14 Nov 2005 15:33:16 +0000 (GMT) (envelope-from h.nieser@xs4all.nl) Received: from smtp-vbr9.xs4all.nl (smtp-vbr9.xs4all.nl [194.109.24.29]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3F7D643D46 for ; Mon, 14 Nov 2005 15:33:14 +0000 (GMT) (envelope-from h.nieser@xs4all.nl) Received: from [192.168.1.10] (nieser.net [194.109.160.131]) by smtp-vbr9.xs4all.nl (8.13.3/8.13.3) with ESMTP id jAEFXDA9066785 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Mon, 14 Nov 2005 16:33:13 +0100 (CET) (envelope-from h.nieser@xs4all.nl) Message-ID: <4378AE3A.2040805@xs4all.nl> Date: Mon, 14 Nov 2005 16:33:14 +0100 From: Hans Nieser User-Agent: Mozilla Thunderbird 1.0.7 (X11/20051106) X-Accept-Language: en-us, en MIME-Version: 1.0 To: freebsd-questions@freebsd.org References: <200511141440.jAEEeq6C064503@argotsoft.com> <4378A704.1010600@scls.lib.wi.us> In-Reply-To: <4378A704.1010600@scls.lib.wi.us> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: by XS4ALL Virus Scanner Subject: Re: How to redirect mail sent to root to external mailbox? 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: Mon, 14 Nov 2005 15:33:16 -0000 Greg Barniskis wrote: > Mark J. Sommer wrote: > >> >> This is really a sendmail question I believe. Your problem is probably >> because root doesn't get masqueraded. In your sendmail.cf, is there >> a line >> like the following: >> >> CEroot >> >> or >> >> C{E}root >> >> If so, comment it out and restart sendmail. > > > That will work but the config will get overwritten on upgrades. It is > best to override the defaults via the mc config generator, so that "CE > root" doesn't appear in the first place. Thanks to both of you! This appears to be causing my problems. (I haven't been able to actually test it yet because when I "su -l" to root and try to use "mail" to send e-mail it seems to use the user I initially logged in with anyway.) For the sake of completeness, I found the solution to removing root as an exposed user at http://www.grok.org.uk/docs/smroot.html . (It does require a bit more editing and adjusting of configuration files then I would like, but it's well-explained and does kinda make sense.) My apologies for sending this to the wrong list