[quoting re-arranged to make sense]
Tony Lambiris <methodic(_at_)libpcap(_dot_)net> wrote:
On 08.08.01, John Kajiba <jkajiba(_at_)esrf(_dot_)or(_dot_)tz> wrote:
Why not just base your filter on Sender? This is what I use to filter this
list, seems to work fine for me.
## Procmail-L ---------------------------------------
:0
* ^Sender(_dot_)*procmail-admin(_at_)lists\(_dot_)RWTH-Aachen\(_dot_)DE
$MAILDIR/Lists/procmail-l
##---------------------------------------------------
Are those backslashed before the period necessary? I have the following,
and it works fine for me:
:0
* ^Sender:(_dot_)*procmail-admin(_at_)Lists(_dot_)RWTH-Aachen(_dot_)DE
procmail
The backslashes escape the ".", which will match ANY character. Your
recipe will therefore match
Sender: procmail-admin(_at_)ListsXRWTH-AachenYDE
as well as
Sender: procmail-admin(_at_)Lists(_dot_)RWTH-Aachen(_dot_)DE
If you ONLY want to match the latter one, you need to escape the ".".
Not much of a difference in this case, but just so you don't get
confused when you want to match a "." (and not just ANY character) in
another situation.
-Jan
--
Jan Schaumann
http://www.netmeister.org
_______________________________________________
procmail mailing list
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail