• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion

Resolved Some emails don't go through

andrecab93

New Pleskian
Server operating system version
Ubuntu 22.04.4 LTS
Plesk version and microupdate number
Version 18.0.58 Update #2
We have some emails that don't go through. Checking the logs shows this:

2024-02-18 00:53:28INFOpostfix/cleanup [3812112]24DC417AA8A: milter-reject: END-OF-MESSAGE from lon103.XXXXXXX[XXXXXXX]: 5.7.23 SPF validation failed.; from=<XXXXXXXX> to=<XXXXXXXXs> proto=ESMTP helo=<lon103.XXXXXX>
2024-02-18 00:53:28INFOpsa-pc-remote [3672073]24DC417AA8A: spf: stderr: REJECT
2024-02-18 00:53:28INFOpsa-pc-remote [3672073]24DC417AA8A: spf: stderr: DATA REPLY:550:5.7.23 SPF validation failed.
2024-02-18 00:53:28ERRspf [3812122]24DC417AA8A: Failed to query MAIL-FROM: Multiple SPF records for 'truehost.cloud'
2024-02-18 00:53:28ERRspf [3812122]24DC417AA8A: Error code: (32) Multiple SPF or TXT records for domain.
 
Thank you for your post. As I can see you already present the reason why your mails are rejected. Are there any additional questions?
 
Have you set an SPF record for the sender domain and does it allow your host to send emails for the sender domain?
The error message also mentions that several records exist for the same domain name. This can be valid for some cases, but maybe the existing records are contradictory?
 
The error bellow means that the domain of the sender has Multiple SPF or TXT records configured. Which, as @Peter Debik pointed out already, can cause delivery issues.
24DC417AA8A: Error code: (32) Multiple SPF or TXT records for domain.

The error bellow means that SPF validation of the sender failed. Which causes the email message to be rejected by the server.
24DC417AA8A: milter-reject: END-OF-MESSAGE from lon103.XXXXXXX[XXXXXXX]: 5.7.23 SPF validation failed.; from=<XXXXXXXX> to=<XXXXXXXXs> proto=ESMTP helo=<lon103.XXXXXX>

The solution for both problems is with the owner of the sending domain. He/she needs to adjust the SPF record and remove any duplicate SPF records of the domain.
 
The error bellow means that the domain of the sender has Multiple SPF or TXT records configured. Which, as @Peter Debik pointed out already, can cause delivery issues.


The error bellow means that SPF validation of the sender failed. Which causes the email message to be rejected by the server.


The solution for both problems is with the owner of the sending domain. He/she needs to adjust the SPF record and remove any duplicate SPF records of the domain.
Okay, I realise the problem isn't on my end. Thanks
 
Back
Top