mailserver: Incoming Mail is blocked by spamhaus filter while on WHITELIST

Classification

  • Deliverability issue

Reproducibility

  • Always

Description

Mail gets blocked by spamhaus even if it is allowed by env variable: -e WHITELIST_SPAM_ADDRESSES=“out@side.com”

Expected results

Incoming mail from the address

Actual results

2021-02-23T16:41:20.838958+00:00 mail postfix/smtpd[1333]: NOQUEUE: reject: RCPT from hash.dip0.t-ipconnect.de[SenderIpAddress]: 554 5.7.1 Service unavailable; Client host [SenderIpAddress] blocked using zen.spamhaus.org; https://www.spamhaus.org/query/ip/[SenderIpAddress]; from=<out@side.com> to=<mail@mymailserver.com> proto=SMTP helo=<mydomain.com>

Question

How can I get around that filter? Please help, thanks 😃

About this issue

  • Original URL
  • State: closed
  • Created 3 years ago
  • Comments: 19 (1 by maintainers)

Most upvoted comments

Ok, based on this I’m closing this for now, if anyone comes across a similar issue and can help help work with rspamd, please open a new one, with a good description what’s happening, and what rspamd settings we should have that we do not already have. Thanks.

@cracker0dks you are lucky! I have that modification. Let me create a PR.

CC: @AndrewSav

Oh yeah, now I remember! The custom RBL list. In the past or maybe somewhere, I still have some solution for this. Let me look at tonight. If I do have one, I will create a PR.

No, but I think this might not even be a rspamd problem because this mail is not even showing in the rspamd webgui. I also added the IP to /etc/rspamd/local.d/ip_whitelist.map doc and this also had no effect. The log also says ...postfix/smtpd[1333]: NOQUEUE: reject... isn’t that a hint that this is blocked by postfix ?

EDIT: Found this: https://discourse.mailinabox.email/t/help-with-noqueue-rejects/4115 so I will try the solution given

Thanks for your help. My /etc/rspamd/local.d/settings.conf is looking the same but this has no impact. I also get this message on server start: [INFO] out@side.com added to rspamd whitelist So this should be ok. I will give it an other try tomorrow.