Postfix thinks IP is in blacklist, but is not actually listed in blacklist

postfixgonepostalithink asked:

Got a bit of a weird problem here with Postfix.

Been getting a whole bunch of notices where fail2ban has banned ( for failures against Postfix.

Here is a relevant snippet from Postfix’s log:

Jan 13 17:56:26 postfix/smtpd[14563]: connect from[]
Jan 13 17:56:26 postfix/smtpd[14563]: NOQUEUE: reject: RCPT from[]: 554 5.7.1 Service unavailable; Client host [] blocked using; from=<[email protected]> to=<******> proto=ESMTP helo=<>
Jan 13 17:56:27 postfix/smtpd[14563]: disconnect from[]

This happens about 4-5 times per day, depending on how much mail gets sent from that maillist.

Now, I get and see that Postfix blocks it as a result of a match against the blacklist.

What I don’t get is why. As far as I can see from two blacklist checkers ( and neither the IP nor the hostname is actually listed. (For what it’s worth, the host/IP in question seems to be one of Linode’s).

This isn’t the only host it’s blocked. Postfix has apparently been doing this for a while now, blocking hosts it thinks is in the barracudanetworks blacklist when they aren’t.

I can access their blacklist just fine from my computers, after following their testing instructions.

I’m stumped, and would appreciate some help or pointers on where to look!

My answer:

You’ve mistyped the domain name. It should be, but you entered Correct this in your Postfix file.

smtpd_recipient_restrictions =

View the full question and any other answers on Server Fault.

Creative Commons License
This work is licensed under a Creative Commons Attribution-ShareAlike 3.0 Unported License.