procmail
[Top] [All Lists]

Re: Error filtering spam with Procmail

2005-10-28 07:31:50
Alejandro Cabrera Obed:

  :0
  *^Subject:.*(***SPAM***)
  $HOME/spam

This is unsafe. Make that:

   :0:  # locking required !!!
   *^Subject:.*\*\*\*SPAM\*\*\*
   $HOME/spam

You mentioned [***SPAM***] first, and (***SPAM***) later. Which brackets
did you mean?

The * and [] and () are regex-specials, so you need to escape them with
\.



 :0
 * ^X-Spam-Status

That is not a complete recipe. What did you mean by that?



Is it possible that Procmail modifies the header format of the spam
mails when they are delivered to the spam folder ???

Yes, because you forgot to request locking.

-- 
Grtz, Ruud


____________________________________________________________
procmail mailing list   Procmail homepage: http://www.procmail.org/
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail

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