procmail
[Top] [All Lists]

process a message independently for each recipient

2003-12-15 08:10:50
Hi list,

how do I specify a procmailrc recipe to process a message independently
for each recipient? For example, saying

:0
* ^To: (_dot_)*jack(_at_)foo(_dot_)org
| jackprocess

:0
* ^To: (_dot_)*jill(_at_)bar(_dot_)org
| jillprocess

means that every message adressed "To: jack(_at_)foo(_dot_)org, 
jill(_at_)bar(_dot_)org"
gets processed by 'jackprocess' and never gets processed by 'jillprocess'.
But as it IS a message for jill, it should get processed by jillprocess.

Simply ':0c' the messages for jack si wrong, because not every msg for jack
is also sent to jill as a second recipient, and stale copies would occur.

Is there a clean way to handle this in ~/.procmailrc/

        Thank you

                Jan


_______________________________________________
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>