At 17:00 2001-01-30 -0700, Jim McMaster wrote:
[chomp!]
VERBOSE=1
:0 H:$MAILDIR/trash/.lock
*^$trash_header
| /home/mcmaster/bin/rcvstore -nounseen +trash
VERBOSE=0
--------------------------------------------------------
Finally, here is the log file:
--------------------------------------------------------
procmail: [8831] Tue Jan 30 16:50:23 2001
procmail: No match on "^$trash_header"
Can anyone tell me why there is no match on $trash_header? I suspect I am
being stupid, but cannot see the problem.
Two things:
1. What is trash_header set to? Nowhere in your post do you indicate as
much, and given this is the one line you're having a problem with, that
seems to be a major omission. To expect people to head off onto the web to
research the spam filter you're using in order to determine this basic
aspect of your problem is a bit much (seeing as the URL in question isn't
even the text of the script).
2. ^$ is a sweet regexp - empty line. perhaps you forgot to include the $
flag which would ensure that it is evaluated via sh substitution before
being parsed as a regexp:
* $ ^$trash_header
---
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