How do I get SpamAssassin to stop using a blacklist to block or reject email?

SpamAssassin is rarely set up to actually reject email, so people asking this question usually have a problem with their mail server configuration, not SpamAssassin. Remove the option to reject email with a blacklist from your server configuration.

An example rejection message from postfix looks like this, in /var/log/mail.log:

Feb 2 10:44:44 panic postfix/smtpd[17332]: NOQUEUE: reject: RCPT from[]: 554 5.7.1 Service unavailable; Client host [] blocked using;; from=<> to=<> proto=ESMTP helo=<>

That is caused by the following line in /etc/postfix/


There is nothing wrong with rejecting email in this manner, but it is something that people do often ask how to do.

  • No labels