Oliver Peter wrote:
> On Wed, Apr 25, 2007 at 11:11:07AM +0200, Andreas Widere 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?

Perform the following command, assuming 'user' is the account you have
with the alias to somewhere else:

# mail -f /var/mail/root -F user

..which will merrily dump each message to the alias user, and from there
forward it to your email account.

Steve
_______________________________________________
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to