procmail
[Top] [All Lists]

Re: Another possible problem with the From/To match

1997-09-20 06:21:21
R Lindberg / E Winnie writes on 17 September 1997 at 15:03:18
[...]
somebody mails something and CC themselves (which just happened to me,
today, just after the difference between the To and TO macro's was
explained). 
 So people might want to use:
* $^To$MATCH\>
 instead of:
* $^TO$MATCH\>

Procmail's internal macros have a lot of stuff behind the scenes, if
you're going to replace ^TO with ^To:, you might want to grab some
more stuff from ^TO (see the procmailrc man page).
   ^((Original-)?To|(X-Envelope|Apparently)-To):(.*[^a-zA-Z])?
Might be a little better (removed Cc/Bcc and Resent).

   Dan

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