procmail
[Top] [All Lists]

Re: Formail

2006-04-24 03:48:36

On 23 Apr 2006, at 12:43 , Jason Self wrote:

"Would there be any way to make a procmail rule to mark a message as
read if X-Spam-Status: Yes ?"

:0
* ^X-Spam-Status:(.*\<)?Yes
{
   # Trash it?
   :0
   * ^X-Spam-Level:.*\*\*\*\*\*\*\*\*\*
   /dev/null

   # Mark it as Read
   :0fw
   | formail -I"Status: RO"

   # File it in SPAM
   :0:
   $MLDIR/SPAM
}


-- 
Two, Four, Six, Eight! Time to Transubstantiate!




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