create /etc/postfix/rbl_override
1 2 |
my@email.address OK 1.2.3.4 OK |
in /etc/postfix/main.cf
under smtpd_client_restrictions
add
1 |
check_client_access hash:/etc/postfix/rbl_override, reject_rbl_client zen.spamhaus.org, |
so that it looks like
1 |
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
1 |
postmap /etc/postfix/rbl_override |
systemctl postfix restart