* Rob 'Feztaa' Park <[EMAIL PROTECTED]>, 2002-07-29 19:08 -0400:
> Alas! Andre Berger spake thus:
> > By the way, what would an exmaple
> > procmail rule to add a sender to the spamassassin blacklist look
> > like?
> 
> Probably something along the lines of this (but I'm a little rusty;
> the flags are probably wrong):
> 
> :0 Wh:
> * <some spam heuristic, like all caps subject lines>
> |grep "^From: "|<some sed to extract info from the header> >> killfile
> :0 a:
> spamfolder

This didn't work as expected,

:0 c:
* ^X-Spam-Status: Yes
| grep "^From:" | grep "@" | grep -v lists.debian | grep -v uzscd5 | grep -v 
|berger.150 | grep -v andre.berger | grep -v -e "^$" | sed -e 's/ *(.*)//; s/>.*//; 
|s/.*[:<] *//' >> $HOME/.procmail/blacklist

:0:
* ^X-Spam-Status: Yes
spamblock

does, at least for me...

-Andre

Attachment: msg30314/pgp00000.pgp
Description: PGP signature

Reply via email to