On Wed, 14 Feb 2001, S.Toms wrote:
also, and this is where I'm unsure, but would you want to excape (is
that the correct term?) the periods in the address portions like the
following
* !^TO.*abc\.net
Remember that a period means different things in regexp and in "life". In
procmail regexp, a dot means any character (i.e. a one character wild
card) so without it, the match would work on abcanet, or abcbnet ... or
even abc.net, I believe.
While you are at it ^TO will only catch the TO: header, whereas TO_ would
also catch Resent-to, Apparently-to, etc., so it is probably the better
one to use. (NB: TO_ was only implemented in the newer versions of
procmail, I believe in 3.11 or higher, so make sure which version you are
using.)
Steve
-------------------------------------------
E-mail:
Home: steveh(_at_)iname(_dot_)com
-------------------------------------------
_______________________________________________
procmail mailing list
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail