[prev in list] [next in list] [prev in thread] [next in thread]
List: procmail
Subject: Re: Problem with spam detection/deletion
From: Jim McMaster <mcmaster () falcon ! stortek ! com>
Date: 2001-01-31 16:27:35
[Download RAW message or body]
In message <5.0.2.1.2.20010130165436.07659e60@mail.professional.org>,
Professio
nal Software Engineering said:
> 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).
>
Sorry...I realized I had forgotten the "minor detail" right after I hit
"Send".
> 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
>
That was it. I misunderstood that part of the man page.
--
Jim McMaster
mailto:mcmaster@falcon.stortek.com
>
> ---
> 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@lists.RWTH-Aachen.DE
> http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail
>
_______________________________________________
procmail mailing list
procmail@lists.RWTH-Aachen.DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic