How to forward old root mails to an external email address?

Daniel Staal DStaal at
Sun Feb 20 14:38:44 UTC 2011

--As of February 19, 2011 11:39:38 PM +0100, Andy Wodfer is alleged to have 

> 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.

More information about the freebsd-questions mailing list