procmail
[Top] [All Lists]

Re: ^XTo (was: Question)

2002-06-08 04:48:39
On Sat, Jun 08, 2002 at 11:53:04AM +0200, Ruud H.G. van Tol wrote:
* ^XTo: user(_at_)yahoo(_dot_)com

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?

The first `delivery' ends all, so you have to work with copies
(the `c' flag, see man procmailrc).

Which isn't his problem. His expression would only match if his address is the
very first thing on the To: header line. If the message was sent to his
address and one other, and the other address appears first, his expression
won't match. You gave him the right answer with the ^TO/_ macros, but 'c'
won't do anything for him here.

-- 
Andrew Edelstein        -       http://andrew.pure-chaos.com/resume.txt

Please do not reply directly to me, or Cc: me on a reply to a list message.
I'll get my copy from the list.
_______________________________________________
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>