On Sun, 24 Mar 2002, dman yowled:
> If you don't want these messages to be checked use this condition :
> 
>     condition = "${if and { {!def:h_X-Spam-Flag:} {!eq 
>{$received_protocol}{spam-scanned}} {!eq {$received_protocol}{local}} } {1}{0}}"

On a vaguely similar topic, I'm using this stuff in my .procmailrc
now. It seems to be rather more elaborate than what the web site has
got; feel free to nick it or do anything else with it.

Its major feature is that it post-filters high-scoring spam into a
mailbox that gets read once in a blue moon, and puts the rest in a
mailbox that's read more often.

,----
| # SpamAssassin, assassinate!
| :0 fw
| | spamc
| 
| # Razor pit, this is certain spam, regardless of what SpamAssassin said
| # (we run SpamAssassin over it just to see what it says)
| :0 H
| * ^To: .*nix-razor-pit$
| {
|  :0 Hc
|  | spamassassin -r
| 
|  :0 H:
|  | $FORMAIL -b -t -d -A 'X-Razor: pitted' >> ${HOME}/.Mail/spambox
| }
| 
| # Is this severe spam?
| :0 H:
| * ^X-Spam-Flag: YES$
| * ? test `sed -n '/^X-Spam-Status: Yes, /{s/^.*hits=\([0-9]*\).*$/\1/;p;}'` -gt 15
| spambox
| 
| # Is this merely likely to be spam?
| :0 H:
| * ^X-Spam-Flag: YES$
| blockbox
`----

I post to Usenet with the From line set to the razor-pit address and
Reply-To: pointing somewhere more reasonable; anyone sending to the From
address either has a *completely* broken MUA or is a spammer.

-- 
`Unless they've moved it since I last checked, travelling between
 England and America does not involve crossing the equator.'
   --- pir

_______________________________________________
Spamassassin-talk mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/spamassassin-talk

Reply via email to