put this in you /etc/mail/spamassassin/local.cf add_header all Level _STARS(*)_
then put this in your procmail # Delete Blatant Spam :0 H: * ^X-Spam-Level: \*\*\*\*\*\*\*\*\*\*\*\*\*\*\*.* /dev/null
Craig Mayers wrote:
Hi all, I am de-lurking to ask a question that has probably been asked before (forgive me).
Is there a procmail recipe that can be crafted to forward any mail with a spam score above a certain threshold to /dev/null (or elsewhere)? For example, anything over 15 is not likely to be an FP for us. Would procmail be able to read the spam score header that gets added when SA runs and make a determination based on it? If so, what syntax would we use?
If this exists on the Wiki site, or elsewhere, I'd appreciate a point in the right direction. Thanks in advance, this is a great group. I'm only sorry I didn't discover it earlier, I'm sure our initial implementation would have gone much smoother! 8-)
Thanks!
Craig Mayers 5DollarHosting.com
