procmail
[Top] [All Lists]

Re: spam filter

2000-10-27 10:16:41
Professional Software Engineering wrote:
That's what ^TO_ expands to.  Assuming the recipe you posted is the only 
one looking for an inverted match on the address (and was apparently in 
spamtrap.rc), this would be your hit.  Good so far.

From atbs18a(_at_)greatmeat(_dot_)nx  Thu Oct 26 12:46:43 2000
 Subject: Farm Fresh Pork Right To You
  Folder: /var/spool/mail/holtzm

And this says it was stored successfully.  Presuming these lines 
immediatley follow the regexp entry above, what's the problem?

I think he wanted it in /home/holtzm/mail/spambox, according to his
old message:

old message> Tried this filter with no luck. 
old message> 
old message>                :0:
old message>                * !^TO_holtzm(_at_)primenet(_dot_)com             
old message>                /home/holtzm/mail/spambox

The results are puzzling.  If spamtrap.rc has the above 3 lines in it, 
and nothing else, it's hard to imagine how that logfile excerpt could
be the result of that message.

To the original poster: Could you move the log somewhere else (e.g.,
"mv logf logf.old") and then run a test message (one that would match
the "!^TO_holtzm(_at_)primenet(_dot_)com" condition) through procmail, then look
at the (verbose) log file immediately afterwards?  It sure looks like
some kind of version mixup (I've made such mistakes many times).

-- 
Neither I nor my employer will accept any liability for any problems
or consequential loss caused by relying on this information.  Sorry.
Collin Park                         Not a statement of my employer.

_______________________________________________
procmail mailing list
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail

<Prev in Thread] Current Thread [Next in Thread>