From owner-freebsd-questions Tue Oct 2 11:33:56 2001 Delivered-To: freebsd-questions@freebsd.org Received: from relay3-gui.server.ntli.net (relay3-gui.server.ntli.net [194.168.4.200]) by hub.freebsd.org (Postfix) with ESMTP id 18E6137B401 for ; Tue, 2 Oct 2001 11:33:53 -0700 (PDT) Received: from pc2-card3-0-cust79.cdf.cable.ntl.com ([213.107.2.79] helo=rhadamanth.private.submonkey.net ident=exim) by relay3-gui.server.ntli.net with esmtp (Exim 3.03 #2) id 15oUMR-0003iL-00; Tue, 02 Oct 2001 19:33:43 +0100 Received: from setantae by rhadamanth.private.submonkey.net with local (Exim 3.33 #1) id 15oUML-0009Bk-00; Tue, 02 Oct 2001 19:33:37 +0100 Date: Tue, 2 Oct 2001 19:33:37 +0100 From: setantae To: Marco Radzinschi Cc: Drew Tomlinson , "FreeBSD Questions (E-mail)" Subject: Re: How to Forward All Root Mail Using Sendmail? Message-ID: <20011002193337.A35268@rhadamanth> References: <5CD46247635BD511B6B100A0CC3F023925A0FC@ldcmsx01.lc.ca.gov> <20011002133058.U478-100000@mail.radzinschi.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <20011002133058.U478-100000@mail.radzinschi.com>; from marco@radzinschi.com on Tue, Oct 02, 2001 at 01:32:31PM -0400 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Tue, Oct 02, 2001 at 01:32:31PM -0400, Marco Radzinschi wrote: > On Tue, 2 Oct 2001, Drew Tomlinson wrote: > > I want to have all mail for root on one FBSD box be forwarded to another > > address. I have tried creating a .forward file in / containing the email > > address to forward to but this isn't working. What else do I need to do? > > I'm not finding anything relating to this at sendmail.org. > Create a .forward file in the /root directory of the box you want mail > forwarded from, containing the address to be forwarded to. I doubt that this is the preferred way to do, since this involves (with exim, at least) the MTA/MDA setting it's euid to 0, which while not a massive security hole in itself, is unnecessary and therefore probably undesirable. A snatch of the output from `exim -bt -d12 root` the way you suggest to back me up here : set uid=0 gid=0 euid=0 egid=0 successful stat of /root/. /root/.forward not found restored uid=0 gid=0 euid=70 egid=6 And the way myself (and others) suggested this isn't necessary. Ceri -- keep a mild groove on To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message