procmail
[Top] [All Lists]

Question

2002-06-08 01:52:08
I have been trying to set up procmail to sort my email that I receive from
fetchmail.

Here is what I am trying to do.

Check the To for user(_at_)yahoo(_dot_)com and put it in the Maildir/.Yahoo
Check the To for user(_at_)pacbell(_dot_)net and put it in the 
Maildir/.pacbell.net

Here is what I have in my .procmailrc

:0:
* ^XTo: user(_at_)yahoo(_dot_)com
$MAILDIR/.Yahoo

:0:
* ^XTo: user(_at_)pacbell(_dot_)net
$MAILDIR/.pacbell.net

The above works if that is the only email address in the To line, but when
there are multiple entries, it does not work. How can I fix this?

Thank you in advance for your help

_______________________________________________
procmail mailing list
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail

<Prev in Thread] Current Thread [Next in Thread>