Suggest you read 'man procmailrc' section on action lines.
Quick answer:
#:0:
#* ^(From)*.*yahoo.com*
user2
As typed, first two lines are commented out.
'user2' is syntax error.
If you meant:
:0:
* ^(From)*.*yahoo.com*
user2
Delivers to mailbox named 'user2' in your home directory.
To forward to user named user2 (actually ADDRESS user2 on local box):
:0:
* ^(From)*.*yahoo.com*
!user2
what it the exact rule to forward (or better, duplicate an email)
To perform 'duplicate actions' you need to use the 'c' flag on the recipe.
Read the man page carefully to learn how it works. It's easy to make
mistakes with it.
- charles
Ps. Please reply to list - the default is to reply to me personally.
____________________________________________________________
procmail mailing list Procmail homepage: http://www.procmail.org/
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)de
http://mailman.rwth-aachen.de/mailman/listinfo/procmail