[prev in list] [next in list] [prev in thread] [next in thread] 

List:       spamassassin-users
Subject:    [SAtalk] Re: How can I mark all mails with specific words in the subject as spam?
From:       Gerhard Hofmann <gerhard.hofmann () planat ! de>
Date:       2003-10-31 14:10:37
[Download RAW message or body]

In article <87d6cfc75k.fsf@era.iki.fi>, era@iki.fi says...
> 
> You could add a second header with Procmail easily. Or just add
> X-Spam-Status to any messages which don't already have it.
> 
>   :0fhw
>   * ! ^X-Spam-Status:
>   * ^Subject: \/(fr33|h0t|w0m3n)
>   | formail -I "X-Spam-Status: Yes (Subject: contains $MATCH)"
> 
> Then proceed with delivery just as before. Procmail doesn't care if
> the destination is an IMAP mailbox or a POP mailbox, as long as it's
> running on the server anyway.
> 
> /* era */
> 
> 

This procmail rule exactly does what I want. Thanks to all who sent 
replies!

Regards
Gerhard



-------------------------------------------------------
This SF.net email is sponsored by: SF.net Giveback Program.
Does SourceForge.net help you be more productive?  Does it
help you create better code?   SHARE THE LOVE, and help us help
YOU!  Click Here: http://sourceforge.net/donate/
_______________________________________________
Spamassassin-talk mailing list
Spamassassin-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/spamassassin-talk
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic