On 4/9/2011 9:47 AM, Ejaz wrote:
Hello,
I was trying to add this “*smtpd_client_restrictions =
check_client_access hash:/etc/postfix/access,
hash:/etc/postfix/mynetworks, reject_rbl_client
bl.spamcop.vnet, reject_rbl_client list.dsbl.org*” in postfix
main.cf file it won’t work out for me.
After adding this smtpd_clients restriction, all emails didn’t
go thorugh and get stuck in my outlook outbox.
FYI my /etc/postfix/mynetworks file contents my own subnet.
127.0.0.0/8 OK
212.107.96.0/19 OK
212.118.96.0/19 OK
195.88.244.0/23 OK
Would any one have an idea where I went wrong?
You're using cidr: syntax with a hash: table. This doesn't
(and shouldn't) cause an error, but the lookup will never match.
better:
smtpd_client_restrictions =
check_client_access hash:/etc/postfix/access,
check_client_access cidr:/etc/postfix/mynetworks,
reject_rbl_client bl.spamcop.vnet,
list.dsbl.org has been inactive for years. Remove it from
your config. Consider adding zen.spamhaus.org instead.
-- Noel Jones