"|/usr/local/bin/procmail USER=yourlogin"It should include the quotes.
#Set on when debugging VERBOSE=off #Replace `mail' with your mail directory (Pine uses mail) MAILDIR=$HOME/mail #Directory for storing procmail log and rc files PMDIR=$HOME/.procmail LOGFILE=$PMDIR/log DEFAULT=$HOME/.email INCLUDERC=$PMDIR/rc.rules
:0 c * !^FROM_DAEMON * !^X-Loop: yourlogin@doc.ic.ac.uk ! email@host.comThis file tells procmail to forward all messages on to email@host.com except those coming from a daemon (such as bounce errors) or those coming from your email address. This stops endless loops of messages happening. You can make this funkier to only forward messages from certain people, or do what I do and exclude certian people's messages from being forwarded. I might add how to do that at a later stage if I can be bothered!
If you want to do that, the man pages for procmailrc or procmailex might help