Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 2 Oct 2001 19:33:37 +0100
From:      setantae <setantae@submonkey.net>
To:        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:  <20011002193337.A35268@rhadamanth>
In-Reply-To: <20011002133058.U478-100000@mail.radzinschi.com>; from marco@radzinschi.com on Tue, Oct 02, 2001 at 01:32:31PM -0400
References:  <5CD46247635BD511B6B100A0CC3F023925A0FC@ldcmsx01.lc.ca.gov> <20011002133058.U478-100000@mail.radzinschi.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20011002193337.A35268>