Better SPAM protection with Postfix

In order to use RBL lists on your postfix setup to block spam replace this line in

smtpd_sender_restrictions = check_sender_access mysql:/etc/postfix/



smtpd_sender_restrictions = reject_rbl_client, reject_rbl_client, reject_non_fqdn_sender, reject_unknown_sender_domain, check_sender_access mysql:/etc/postfix/


You can copy and paste the line with any ISPConfig setup. If you don’t use mysql to authenticate your users then you might need to adapt parts of this setting.

Published by


I'm a student at TUM in Computer Science & Pizza eating. Passionate for SRE, beautiful Code and Club Mate.

Leave a Reply