Tom Allison skribis:
Ruud H.G. van Tol:
Tom Allison:
* ^From.*$MYDOMAIN
* $ ^^From[ ].*$MYDOMAIN
I ended up going with
* $ ^^From .*$MYDOMAIN
What I do not understand is what my regex was asking for that
prevented it from working.
The '$' in a regexp means end-of-line. Only when you
add a dollar to the asterisk, the variables
are recognized and expanded first.
BTW, the [ ] is a procmail-list-shorthand for [<space><tab>].
(a characterset with just 2 spaces inside is a strange thing)
--
Affijn, Ruud
_______________________________________________
procmail mailing list
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail