Forwarding Email to an Outside Address

If you wish to forward all email to an outside address, modify the .procmail/rc.filter file in your home directory. The .procmail/rc.filter file should contain the following (where username@example.com is the outsite address to which you want email forwarded):

:0:spam.lock
* ^X-Spam-Status: Yes
|${DMAIL} +mail/SPAM

:0c
! username@example.com

:0:inbox.lock
|${DMAIL} +mail/INBOX

Note, the first section ensures that spam mail is placed in a folder named SPAM, and is not forwarded out. The forwarding piece is placed afetr that, but before delivery of mail to the local INBOX.

To remove forwarding on your return to IAS, simply comment out the forwarding lines as shown here:

:0:spam.lock
* ^X-Spam-Status: Yes
|${DMAIL} +mail/SPAM

#:0c
#! username@example.com

:0:inbox.lock
|${DMAIL} +mail/INBOX