I've read about procmail recipes for deleting mail with spam scores above a
specified, however I've not seen any mention regarding Postfix.

I've implemented the bouncing of e-mail using Postfix's header_checks (with
spam score above 10).

Add the following to your {/etc/postfix/main.cf}:

        header_checks = regexp:/etc/postfix/header_checks

Then create {/etc/postfix/header_checks} and add:

        /^X-Spam-Level: \*\*\*\*\*\*\*\*\*\*/ REJECT

Restart postfix.

You can add a message at the end of the REJECT action for inclusion in the
bounced e-mail message.  If you favor deletion of the message, you can
specify the DISCARD action.  You can use the HOLD action to place the
message in the hold queue for inspection with the postcat command.  For more
info, please see the Postfix docs (found on the web site under Header
filtering: http://www.postfix.org/uce.html )

regards,
Jake




-------------------------------------------------------
This SF.net email is sponsored by: IBM Linux Tutorials.
Become an expert in LINUX or just sharpen your skills.  Sign up for IBM's
Free Linux Tutorials.  Learn everything from the bash shell to sys admin.
Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click
_______________________________________________
Spamassassin-talk mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/spamassassin-talk

Reply via email to