Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 20 Feb 2011 09:38:43 -0500
From:      Daniel Staal <DStaal@usa.net>
To:        Andy Wodfer <wodfer@gmail.com>, freebsd-questions@freebsd.org
Subject:   Re: How to forward old root mails to an external email address?
Message-ID:  <BD35EB2EAC105DDFFA55CB82@mac-pro.magehandbook.com>
In-Reply-To: <AANLkTikV3qM6yYEdismh6BmyrR3FMXuah66AQwReU9c_@mail.gmail.com>
References:  <AANLkTi=KzYd%2BHpozAGqoTL7a7w0Smvn3=QENbmjzZTeo@mail.gmail.com> <1837CB358903EB8C60F348FA@mac-pro.magehandbook.com> <AANLkTimLMMpwk_jh18rPmh9TLw7aB7=XspNnU8T1P1Ps@mail.gmail.com> <20110219221442.39aacc81@gumby.homeunix.com> <AANLkTikV3qM6yYEdismh6BmyrR3FMXuah66AQwReU9c_@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
--As of February 19, 2011 11:39:38 PM +0100, Andy Wodfer is alleged to have 
said:

> Cool. Procmail is now installed, but the procmail.rc file, should that be
> placed under root's home folder ie /root/procmail.rc or another user? I
> assume root since Daniel's command doesn't specify any users?
>
> That would mean I'm logged in as root, run the command, formail sends all
> mails to procmail which sees the alias in procmail rc and sends the mails
> out? Correct?

--As for the rest, it is mine.

Well, it doesn't have to be root, just $home/.procmailrc of some user that 
can read /var/mail/root...

Otherwise, correct.

Daniel T. Staal

---------------------------------------------------------------
This email copyright the author.  Unless otherwise noted, you
are expressly allowed to retransmit, quote, or otherwise use
the contents for non-commercial purposes.  This copyright will
expire 5 years after the author's death, or in 30 years,
whichever is longer, unless such a period is in excess of
local copyright law.
---------------------------------------------------------------



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