From owner-freebsd-questions Tue Oct 2 11:50: 1 2001 Delivered-To: freebsd-questions@freebsd.org Received: from sage-american.com (sage-american.com [216.122.141.44]) by hub.freebsd.org (Postfix) with ESMTP id 6C71A37B401 for ; Tue, 2 Oct 2001 11:49:56 -0700 (PDT) Received: from sageone (ppp-208-191-234-119.dialup.crchtx.swbell.net [208.191.234.119]) by sage-american.com (8.9.3/8.9.3) with SMTP id NAA24881; Tue, 2 Oct 2001 13:49:28 -0500 (CDT) Message-Id: <3.0.5.32.20011002134954.03f12c60@mail.sage-american.com> X-Sender: jacks@mail.sage-american.com X-Mailer: QUALCOMM Windows Eudora Pro Version 3.0.5 (32) Date: Tue, 02 Oct 2001 13:49:54 -0500 To: setantae , Marco Radzinschi From: jacks@sage-american.com Subject: Re: How to Forward All Root Mail Using Sendmail? Cc: Drew Tomlinson , "FreeBSD Questions (E-mail)" In-Reply-To: <20011002193337.A35268@rhadamanth> References: <20011002133058.U478-100000@mail.radzinschi.com> <5CD46247635BD511B6B100A0CC3F023925A0FC@ldcmsx01.lc.ca.gov> <20011002133058.U478-100000@mail.radzinschi.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" 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 Works fine for me in: ~/auserhome/mail/.forward (to_me@here.net) At 07:33 PM 10.2.2001 +0100, setantae wrote: >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 > > Best regards, Jack L. Stone, Server Admin Sage-American http://www.sage-american.com jacks@sage-american.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message