procmail
[Top] [All Lists]

Re: Email to multiple recipients filtered only to the first in the list

2002-09-30 12:14:39
On Mon, 30 Sep 2002, Rick wrote:

R> Hi Procmailers ...
R>
R> I'm not used to this ... really can't understand what (or whether)
R> I am doing something wrong.
R>
R> When I send email to multiple recipients in the To header,
R> eg: To: person1(_at_)mydomain(_dot_)org, person2(_at_)mydomain(_dot_)org, 
person3(_at_)mydomain(_dot_)org, person4(_at_)mydomain(_dot_)org
R> person1 gets all the email (eg: 4 copies if sent as above)
R> and the others don't get any!
R>
R> The procmail recipes all have this form ...
R>
R> :0
R> * ^TOperson1(_at_)mydomain(_dot_)org
R> ! person1(_at_)our(_dot_)isp(_dot_)com
R>
R> :0
R> * ^TOperson2(_at_)mydomain(_dot_)org
R> ! person2(_at_)our(_dot_)isp(_dot_)com
R>
R> :0
R> * ^TOperson3(_at_)mydomain(_dot_)org
R> ! person3(_at_)our(_dot_)isp(_dot_)com
R>
R>
R> Looks OK to me, but I am really quite ignorant.
R> Can anyone see the flaw?
R>

One assumes you have put these recipes in /etc/procmailrc rather in the
users' .procmailrcs

Mail 1 arrives.  It has person1 in the To: header.  It is delivered to
person 1.

Mail 2 arrives.  It has person1 in the To: header.  It is delivered to
person 1.

Mail 3 arrives.  It has person1 in the To: header.  It is delivered to
person 1.



Alan

( Please do not email me AS WELL as replying to the list. Personal
  email is welcome but may invoke a password autoresponder. )


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