procmail
[Top] [All Lists]

Re: Error filtering spam with Procmail

2005-10-28 10:03:36
Dear Ruud:

Sorry but I can't understand very well....my spam tag exactly is:

[**SPAM**]

and now wityh your recomendation I have a .procmailrc like this:

SHELL=/bin/bash
LOGFILE=$HOME/procmail.log

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

:0
*^X-Spam-Status: Yes
$HOME/spam

Is this finally OK ???? Because I get the same error again, maybe I put less
asteriscs than you tell me...

Really thanks !!!! Greetings !!!!!

Alejandro


----- Original Message ----- 
From: "Ruud H.G. van Tol" <rvtol(_at_)isolution(_dot_)nl>
To: "[procmail]" <procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE>
Sent: Friday, October 28, 2005 11:24 AM
Subject: Re: Error filtering spam with Procmail


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




-- 
No virus found in this incoming message.
Checked by AVG Free Edition.
Version: 7.1.362 / Virus Database: 267.12.5/150 - Release Date: 27/10/2005




____________________________________________________________
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>