From owner-freebsd-questions@FreeBSD.ORG Mon Nov 14 15:57:17 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 077C116A41F for ; Mon, 14 Nov 2005 15:57:17 +0000 (GMT) (envelope-from msommer@argotsoft.com) Received: from mx1a.swcp.com (mx1a.swcp.com [216.184.2.64]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3106443D55 for ; Mon, 14 Nov 2005 15:57:12 +0000 (GMT) (envelope-from msommer@argotsoft.com) Received: from taka.swcp.com (taka-216.swcp.com [216.184.2.3]) by mx1a.swcp.com (8.13.3/8.13.3/Debian-6) with ESMTP id jAEFvAZ4000438; Mon, 14 Nov 2005 08:57:11 -0700 Received: from argotsoft.com (argotsoft.com [198.59.115.127]) by taka.swcp.com (8.13.3/8.13.1) with ESMTP id jAEFv8fp022973; Mon, 14 Nov 2005 08:57:09 -0700 (MST) (envelope-from msommer@argotsoft.com) Received: from athabasca (athabasca.argotsoft.com [192.168.3.104]) by argotsoft.com (8.12.3/8.12.3) with ESMTP id jAEFue6C064881; Mon, 14 Nov 2005 08:56:44 -0700 (MST) Message-Id: <200511141556.jAEFue6C064881@argotsoft.com> From: "Mark J. Sommer" To: "'Greg Barniskis'" Date: Mon, 14 Nov 2005 08:56:38 -0700 MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Office Outlook, Build 11.0.5510 In-Reply-To: <4378A704.1010600@scls.lib.wi.us> Thread-Index: AcXpLJ9HtPsrOoiKT0y66WqXQM6vtgABypYQ X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2180 X-Scanned-By: MIMEDefang 2.9 (www dot roaringpenguin dot com slash mimedefang) X-Virus-Scanned: ClamAV 0.87/1169/Fri Nov 11 14:28:05 2005 on av1 X-Virus-Status: Clean X-Spam-Checker-Version: SpamAssassin 3.0.4 (2005-06-05) on kaimen.swcp.com X-Spam-Status: No, hits=-2.4 required=10.0 tests=ALL_TRUSTED autolearn=failed version=3.0.4 X-Spam-Level: Cc: 'Hans Nieser' , freebsd-questions@freebsd.org 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:57:17 -0000 > -----Original Message----- > From: Greg Barniskis [mailto:nalists@scls.lib.wi.us] > Sent: Monday, November 14, 2005 8:02 AM > To: Mark J. Sommer > Cc: 'Hans Nieser'; freebsd-questions@freebsd.org > Subject: Re: How to redirect mail sent to root to external mailbox? > > 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. Yeah, I looked all over /usr/share/sendmail to find that config, but I couldn't. When I resolved this, I think I modified the template that the macros start from to avoid having it re-written. I'd appreciate it if anyone can pass on what macro it is that controls this.