Cloudron falsely rejecting email based on spamhaus filters
-
Hello,
for the last few days Cloudron has been rejecting some emails from my usual contacts. The response returned to the senders is this one:
Remote Server returned '554 5.7.0 <my.cloudron.net #5.7 smtp;550 5.7.350 Remote server returned message detected as spam -> 550 host [X.X.X.X] is blacklisted by zen.spamhaus.org>'
The ip address is the address of sender's mail server.
How can I troubleshoot?
None of the ip addresses of the sender or the ip address of my cloudron are on the blacklist.
-
Hello,
for the last few days Cloudron has been rejecting some emails from my usual contacts. The response returned to the senders is this one:
Remote Server returned '554 5.7.0 <my.cloudron.net #5.7 smtp;550 5.7.350 Remote server returned message detected as spam -> 550 host [X.X.X.X] is blacklisted by zen.spamhaus.org>'
The ip address is the address of sender's mail server.
How can I troubleshoot?
None of the ip addresses of the sender or the ip address of my cloudron are on the blacklist.
-
J james marked this topic as a question
-
I've the same problem on different Cloudron installations.
-
I am upgraded to latest version of Cloudron, Ubuntu 24.
In the cloudron dashboard, I go to Email, for any domain, I click on edit, then go to "status" tab. There (no matter which domain), it says: This server's IP X.X.X.X is on a blocklist. When I check this IP at spamhaus https://check.spamhaus.org/results/?query=X.X.X.X it says the IP "has no issues".
For the individual email, I was getting this error:
{
"ts": 1747840307360,
"type": "denied",
"direction": "inbound",
"uuid": "8FDCE4A3-2906-4F8A-B9C7-BBC161912131.1",
"messageId": null,
"mailFrom": "<XXX>",
"spamStatus": null,
"mailbox": null,
"quotaPercent": null,
"rcptTo": [
"cloudron@email"
],
"remote": {
"ip": "X.X.X.X",
"port": 26477,
"host": "XXX",
"info": "XXX",
"closed": false,
"is_private": false,
"is_local": false
},
"authUser": null,
"relaying": false,
"pluginName": "delay_deny",
"errorCode": 902,
"message": "host [X.X.X.X] is blacklisted by zen.spamhaus.org",
"rejectionCountLastHour": 0
}The IP of the sender's server was not blacklisted on Spamhaus.
When I disable Spamhaus check, emails are going through.
However, even with Spamhaus disabled, the Cloudron determines that it's own IP is blacklisted (as referred to in the beginning of this post).
-
Now a few minutes later suddenly Cloudron says in the email / status tab that IP is not on a blacklist.
-
@tadeas it can be that a rate limit interaction with spam house.
Perhaps with some time all notices will be gone.
But please report back if this is not the case. -
@james do you mean cloudron is prevented from reaching spamhaus? if Cloudron is showing address is blacklisted while spamhaus says ip is not blacklisted when I search for it, it must be a Cloudron error somewhere.
-
Rate-limiting seems to be happening with SpamHaus quite a lot recently, but I have not yet had the issue that Cloudron is interpreting a failed connection as the IP being blacklisted. That would be very bad, but I wonder if it is maybe linked to the problem that Cloudron reports the server IP as being on a blacklist if it cannot connect during outbound mail configuration checks.
-
Would this be relevant?
https://www.spamhaus.com/product/help-for-spamhaus-public-mirror-users/