postfix rbl whitelist

create /etc/postfix/rbl_override my@email.address OK 1.2.3.4 OK in /etc/postfix/main.cf under smtpd_client_restrictions add check_client_access hash:/etc/postfix/rbl_override, reject_rbl_client zen.spamhaus.org, so that it looks like smtpd_client_restrictions = permit_mynetworks, permit_sasl_authenticated, check_client_access hash:/etc/postfix/rbl_override, reject_rbl_client zen.spamhaus.org, reject_unknown_client_hostname for instance then run postmap /etc/postfix/rbl_override systemctl postfix restart