Greetings everyone,
Not so much a question but something I found the other day. Some background...
Up until about a week ago postfix was running fine on our public web / mail server. Then after that it stopped processing incoming mail. Outgoing mail went out fine but whenever I'd send a test message through Gmail or elsewhere, my mail would just get 'stuck' and never process. Other senders said they got a bounce message but I personally never received one -- my message just got lost to the ether.
After some troubleshooting, I found that the following line in
/etc/postfix/main.cf was causing the problem:
Code:
smtpd_recipient_restrictions = permit_sasl_authenticated,permit_mynetworks,reject_unauth_destination,reject_invalid_hostname,reject_non_fqdn_hostname,reject_non_fqdn_sender,reject_non_fqdn_recipient,reject_unknown_sender_domain,reject_rbl_client sbl.spamhaus.org,reject_rbl_client cbl.abuseat.org
When I removed the
reject_rbl_client entries from the end of this config line, everything went back to normal and mail is now processed near-instantaneously. Yes, I realize that my system can no longer check the third-party blacklists, but that's a low priority compared to actually receiving business emails!
I'm posting this message in case anyone in the future has a similar issue. If you temporarily remove these two third-party blacklists you can test if they are causing the issue. I personally think it's a bad idea for postfix to include third-party blacklists in the default install without some sort of automated mechanism to skip them if they are acting up as they were/are for me. Since postfix doesn't have a semi-modern way to interact with them (for bug verifying / reporting, etc) I haven't bothered to contact them -- "Posts from non-members will be silently deleted" -- not a very inviting attitude...
Thanks!