At 07:13 2002-11-26 -0500, Warrick FitzGerald wrote:
Which when a message is sent to
lists(_dot_)mylistname(_dot_)wfitzgerald(_at_)crtman(_dot_)com
should drop the message into MailingLists/mylistname.
This seems to work 99% of the time, but for some unknown reason when I
subscribed to the netsaints list and used
lists(_dot_)netsaints(_dot_)wfitzgerald(_at_)crtman(_dot_)com all my message
end up in the
MailingLists/sourceforge folder.
.* is crossling header newlines in an attempt to match, and it does so on
the first two lines. Mentally walk through the match process:
Return-Path: <netsaint-users-admin(_at_)lists(_dot_)sourceforge(_dot_)net>
Delivered-To: wfitzgerald(_at_)crtman(_dot_)com
try changing the '.*' to '[-_a-z0-9]*'
:0:
* lists\.\/[-_a-z0-9]*(_dot_)wfitzgerald(_at_)crtman(_dot_)com
* MATCH ?? ^^\/[^.]+
MailingLists/$MATCH
You should check out my "sandbox" testing approach - you could have taken
this individual recipe and dropped it into a sandbox and tested the heck
out of it - verbose logging would have readily identified the lines which
were being matched (you could enable verbose logging in your regular
procmailrc too, though depending upon how much email you receive, that
could result in a large log to wade through). See my .sig.
---
Sean B. Straw / Professional Software Engineering
Procmail disclaimer: <http://www.professional.org/procmail/disclaimer.html>
Please DO NOT carbon me on list replies. 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