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?