procmail
[Top] [All Lists]

list of names in To/Cc -fields

1999-07-02 03:33:37
My .procmailrc looks like

:0: c
^To:(_dot_)*miller(_at_)xyz(_dot_)com   
| SENDMAIL -oi miller(_at_)own(_dot_)server

:0: c
^Cc:(_dot_)*miller(_at_)xyz(_dot_)com   
| SENDMAIL -oi miller(_at_)own(_dot_)server

:0: c
^Cc:(_dot_)*smith(_at_)xyz(_dot_)com    
| SENDMAIL -oi smith(_at_)own(_dot_)server

........

When I call the eMails from Internet by fetchmail, this works as 
long as there is only one known name in the mail-header. If there is 
more than one name matching with the names in .procmailrc , only 
the first  user found gets his mail, because procmail stops 
execution after the first successful transfer of the mail.
I have read in a comment about procmail that it is not the right 
product to distribute eMails in this way to different users. Is it true?
Thanks in advance.
Winfried 

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