Logan Moore
2009-Mar-13 08:03 UTC
[CentOS] Postfix smtp_recipient_restrictions causing mail to fail
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
Logan Moore
2009-Mar-13 09:00 UTC
[CentOS] Postfix smtp_recipient_restrictions causing mail to fail
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 at 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
Maybe Matching Threads
- Dovecot Postfix MySQL Authentication Issues
- Postfix - message queue filling with Host or name not found - try again
- Quota, maildir, MySQL,
- Using Dovecot-auth to return error code 450 (or other 4xx) to Postfix when user is on vacation
- postfix and spam, I am impressed