How to stop SPAM with Postfix RBL
To stop spam using RBL in postfix, edit main.cf
1 |
vi /etc/postfix/main.cf |
Add
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 |
smtpd_recipient_restrictions = permit_mynetworks, permit_sasl_authenticated, 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, reject_rbl_client cbl.abuseat.org, reject_rbl_client bl.spamcop.net, reject_rbl_client sbl.spamhaus.org, reject_rbl_client zen.spamhaus.org, permit |
Restart postfix
1 |
systemctl restart postfix |
See postfix