How do I forward old root emails from the root mailbox to my address?

Peter Ankerstål peter at pean.org
Thu Apr 26 06:15:17 UTC 2007


Andreas Widerøe Andersen wrote:
> Hi,
> On one of my FreeBSD servers all system emails to root is stored in the 
> root
> mailbox under /var/mail/root. I have updated my alias file so new mail is
> forwarded to one of my email adresses, but is there a simple way for me to
> send all these old mails in root's mailbox to my email address without
> logging in through pop3/imap?
> 
> A command line trick would be perfect.
I think you could just use the .forward file.
read about it in forward(5)


More information about the freebsd-questions mailing list