Replying to message of Wed, 14 Apr 1999 14:47:09 +0800
from "Dean Lin" <dean(_at_)ttn(_dot_)com(_dot_)tw>
regarding ``forward to itself mail box.''
I know how to forward email to other mailbox account.
but if I want to forward email to other mailbox and myself mailbox.
how do I write the .procmailrc ?
say your other account is 'you(_at_)otheraccount(_dot_)com'
This just forwards to 'you(_at_)otheraccount(_dot_)com':
:0
! you(_at_)otheraccount(_dot_)com
this forwards to 'you(_at_)otheraccount(_dot_)com'
and leaves a copy locally (assuming this is all you are doing)
:0c
! you(_at_)otheraccount(_dot_)com
if you want to make sure you get a copy dumped in your INBOX (for example if
you have other receipes you do not want to interfere)
:0
{
:0c
! you(_at_)otheraccount(_dot_)com
:0w:
$DEFAULT
}
see 'man procmailex' for issues about avoiding mail loops
TjL