Wednesday, March 09, 2005

How to forward a mailbox?

Extracted from debian-user
Tip provided by Johnie Ingram
Q:How would I forward the contents of one mail box to another e-mail address? I'm using a sendmail/procmail setup.

Answer:
cat /var/spool/mail/user | formail -s sendmail other@address