My Postfix server rejects email from clients that don't have reverse DNS. Unfortunately there is one company I need to receive email from and, you guessed it, they don't have their reverse DNS record setup correctly. I have mentioned it to them but who knows how long it will take for them to fix this issue.
In the interim, I would like to whitelist their IP address. So in my main.cf I set:
In /usr/local/etc/postfix/client_whitelist I set:
and then ran
But emails from them are still being rejected. Am I doing this correctly?
In the interim, I would like to whitelist their IP address. So in my main.cf I set:
Code:
smtpd_client_restrictions = permit_sasl_authenticated,
check_client_access hash:/usr/local/etc/postfix/client_whitelist,
reject_invalid_hostname,
reject_unauth_destination,
reject_rbl_client cbl.abuseat.org,
reject_rbl_client b.barracudacentral.org,
reject_rbl_client zen.spamhaus.org,
reject_unknown_client,
permit
In /usr/local/etc/postfix/client_whitelist I set:
Code:
xxx.xxx.xxx.xx OK
and then ran
postmap /etc/postfix/client_whitelist
. I also restarted the Postfix service.But emails from them are still being rejected. Am I doing this correctly?