Logan Moore wrote:
Hi All,
I'm currently playing with smtp_recipient restrictions to try and knock some of this spam on it's head. On my old debian server, I was using this and successfully filtering out at least 90% if not more of all spam emails which was great. I didn't even need spamassassin.
However, trying to do the same thing on my new CentOS based server isn't working. With the following enabled, nothing comes through from the outside world.
Can anybody see where I've gone wrong. I can't fathom why this would block all incoming emails from the web.
smtpd_recipient_restrictions = permit_mynetworks, permit_sasl_authenticated, reject_invalid_hostname, reject_non_fqdn_hostname, reject_non_fqdn_sender, reject_non_fqdn_recipient, reject_unknown_sender_domain, reject_unknown_recipient_domain, reject_rbl_client zen.spamhaus.org, permit
Thanks,
Kind regards, Logan Moore _______________________________________________ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Weird. If I comment out the smtpd_recipient_restrictions, that lets email through, so I tried removing restriction, restarting postfix and then sending an email to check if emails start working. Email didn't start working until I removed the smtpd_recipient_restrictions all together. Even the following would result in all incoming email being blocked.
smtpd_recipient_restrictions = permit
This seems more than a tad wrong