zomebodi
Verified User
- Joined
- Sep 3, 2023
- Messages
- 52
Hi. I need a little help.
I have a server with EXIM that receives emails from abroad and routes them to two servers with DirectAdmin.
When receiving some emails I get this error:
2025-04-04 07:31:01 1u0fGG-00000007nfJ-0Ufq ** [email protected] R=email2 T=remote_smtp H=directadmin.server1.com [4.5.6.7] X=TLS1.3:TLS_AES_256_GCM_SHA384:256 CV=yes: SMTP error from remote mail server after RCPT TO:<[email protected]>: 550 - SPF: 1.2.3.4 You are not allowed to send mail from masterbase.afc.cl:\n550 See http://www.open-spf.org/Why : Reason: mechanisms
It's obvious, since the relay IP (1.2.3.4) is not in the SPF of those senders (masterbase.afc.cl is not my client).
So, I add the relay IP (1.2.3.4) to the servers with directadmin in whitelist_hosts_ip and there are no more rejections.
The problem is that I'm left without spam filters (easyspamfighter stops working on the directadmin servers for this IP) and from what I can see, rSpamd stops working too (I don't see any spam rules applied to the message).
Can anyone guide me on a solution? (I need at least rspamd to keep working)
I have a server with EXIM that receives emails from abroad and routes them to two servers with DirectAdmin.
When receiving some emails I get this error:
2025-04-04 07:31:01 1u0fGG-00000007nfJ-0Ufq ** [email protected] R=email2 T=remote_smtp H=directadmin.server1.com [4.5.6.7] X=TLS1.3:TLS_AES_256_GCM_SHA384:256 CV=yes: SMTP error from remote mail server after RCPT TO:<[email protected]>: 550 - SPF: 1.2.3.4 You are not allowed to send mail from masterbase.afc.cl:\n550 See http://www.open-spf.org/Why : Reason: mechanisms
It's obvious, since the relay IP (1.2.3.4) is not in the SPF of those senders (masterbase.afc.cl is not my client).
So, I add the relay IP (1.2.3.4) to the servers with directadmin in whitelist_hosts_ip and there are no more rejections.
The problem is that I'm left without spam filters (easyspamfighter stops working on the directadmin servers for this IP) and from what I can see, rSpamd stops working too (I don't see any spam rules applied to the message).
Can anyone guide me on a solution? (I need at least rspamd to keep working)
Last edited: