How to make spamassasin reject mail based on score?

Posted by Kaizoku on Server Fault See other posts from Server Fault or by Kaizoku
Published on 2010-05-31T13:40:53Z Indexed on 2010/05/31 13:43 UTC
Read the original article Hit count: 234

I am running linux with postfix, dovcot, postgrey and spamassasin/spamd.

This is my main.cf

smtpd_recipient_restrictions = permit_sasl_authenticated,
                               permit_mynetworks,
                               reject_unauth_destination,
                               reject_invalid_hostname,
                               reject_unauth_pipelining,
                               reject_non_fqdn_sender,
                               reject_unknown_sender_domain,
                               reject_non_fqdn_recipient,
                               reject_unknown_recipient_domain,
                               check_policy_service inet:127.0.0.1:10030

I got spamassasin to add spam header to other emails that postfix didn't catch, but how to make it reject?

© Server Fault or respective owner

Related posts about linux

Related posts about configuration