Date: Tue, 02 Oct 2001 13:49:54 -0500 From: jacks@sage-american.com To: setantae <setantae@submonkey.net>, Marco Radzinschi <marco@radzinschi.com> Cc: Drew Tomlinson <drew@mykitchentable.net>, "FreeBSD Questions (E-mail)" <freebsd-questions@FreeBSD.ORG> Subject: Re: How to Forward All Root Mail Using Sendmail? Message-ID: <3.0.5.32.20011002134954.03f12c60@mail.sage-american.com> In-Reply-To: <20011002193337.A35268@rhadamanth> References: <20011002133058.U478-100000@mail.radzinschi.com> <5CD46247635BD511B6B100A0CC3F023925A0FC@ldcmsx01.lc.ca.gov> <20011002133058.U478-100000@mail.radzinschi.com>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3.0.5.32.20011002134954.03f12c60>