• The Horde webmail has been deprecated. Its complete removal is scheduled for April 2025. For details and recommended actions, see the Feature and Deprecation Plan.
  • We’re working on enhancing the Monitoring feature in Plesk, and we could really use your expertise! If you’re open to sharing your experiences with server and website monitoring or providing feedback, we’d love to have a one-hour online meeting with you.

Resolved SPF record was not found in Authentication-Results

NIEL

New Pleskian
Server operating system version
centos 7
Plesk version and microupdate number
Plesk Obsidian for Linux
hi all,
when i sent email to any domain mails are going but gmail and hotmail is blocking by below message..

32d79aa0b2f724a1f1e2b30d2245bdee.png


This message is not RFC 5322
compliant, the issue is: 550-5.7.1 duplicate To headers. To reduce the
amount of spam sent to Gmail, 550-5.7.1 this message has been blocked.
Please review 550 5.7.1 RFC 5322 specifications for more information.
g12-20020a05600c4ecc00b003e2246f38b6si6925366wmq.12 - gsmtp
 
OK... we need more information then what you have provided. What do you have set in your DNS settings? Are you using the DNS server that's with Plesk or you using a third party DNS provider? What does MXToolBox show?
 
You're still not showing your SPF DNS entry, which would be in a form of TXT record. For example, the SPF record for me is a TXT for @ (root host) with the content of:
Code:
v=spf1 ip4:45.33.39.160 ip4:192.53.124.213 include:spf.protection.outlook.com -all

Since Google is complaining that you don't have a SPF record tells me you don't have that DNS entry added.

If you don't know how to make one, you can use something like Generator - SPF-Record to help generate one for you.
 
Please send an email elsewhere where it can be received, then look into the email headers (the invisible part with all the route information that the mail took through the internet) and provide it here. I am specificially interested in the first two hops from where the email is generated. I suspect that it is sent from a local script with a "wrong" address such as host 127.0.0.1, for example due to a missing "myhostname" entry in /etc/postfix/main.cf.
 
Please send an email elsewhere where it can be received, then look into the email headers (the invisible part with all the route information that the mail took through the internet) and provide it here. I am specificially interested in the first two hops from where the email is generated. I suspect that it is sent from a local script with a "wrong" address such as host 127.0.0.1, for example due to a missing "myhostname" entry in /etc/postfix/main.cf.
yes iam sending mail via my php script which is getting failed but via plesk webmail all are going correctly.
should i change below one to my ful domain in main.cf
#myhostname = host.domain.tld
#myhostname = virtual.domain.tld
 
Yes, that should be changed to the name of your host. Not your subscription or website domain name, but the name of the whole server. Also the "#" must be removed, so that this no longer is a comment, but becomes an active entry. Postfix needs to be restarted afterwards.
 
Yes, that should be changed to the name of your host. Not your subscription or website domain name, but the name of the whole server. Also the "#" must be removed, so that this no longer is a comment, but becomes an active entry. Postfix needs to be restarted afterwards.
i did it but still same error i changed to my server name and restarted server too stilll same error
 
This is for sure a good thing. Let's move on to the other point: Headers of your mail. The reason why the recipient cannot see an SPF entry is hidden in that header. I'd still need to see the first two hops. You can also present the full header and redact sensitive information such as domain names.
 
i found this from bounce back email header from gmail.
Authentication-Results: server.mydomain.com;
dmarc=none (p=NONE sp=NONE) smtp.from= header.from=server.mydomain.com (Mail Delivery System)
Return-Path: <MAILER-DAEMON>
X-Original-To: [email protected]
Delivered-To: [email protected]
Received: by server.mydomain.com (Postfix)
id 799263C08A8; Fri, 10 Mar 2023 18:01:57 +0100 (CET)
Date: Fri, 10 Mar 2023 18:01:57 +0100 (CET)
From: [email protected] (Mail Delivery System)
Subject: Undelivered Mail Returned to Sender
To: [email protected]
Auto-Submitted: auto-replied
MIME-Version: 1.0
Content-Type: multipart/report; report-type=delivery-status;
boundary="C0A143C1195.1678467717/server.mydomain.com"
Content-Transfer-Encoding: 8bit
Message-Id: <[email protected]>
 
full header info
Authentication-Results: server.mydomain.com;
dmarc=none (p=NONE sp=NONE) smtp.from= header.from=server.mydomain.com (Mail Delivery System)
Return-Path: <MAILER-DAEMON>
X-Original-To: [email protected]
Delivered-To: [email protected]
Received: by server.mydomain.com (Postfix)
id 799263C08A8; Fri, 10 Mar 2023 18:01:57 +0100 (CET)
Date: Fri, 10 Mar 2023 18:01:57 +0100 (CET)
From: [email protected] (Mail Delivery System)
Subject: Undelivered Mail Returned to Sender
To: [email protected]
Auto-Submitted: auto-replied
MIME-Version: 1.0
Content-Type: multipart/report; report-type=delivery-status;
boundary="C0A143C1195.1678467717/server.mydomain.com"
Content-Transfer-Encoding: 8bit
Message-Id: <[email protected]>

This is a MIME-encapsulated message.

--C0A143C1195.1678467717/server.mydomain.com
Content-Description: Notification
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 8bit

This is the mail system at host server.mydomain.com.

I'm sorry to have to inform you that your message could not
be delivered to one or more recipients. It's attached below.

For further assistance, please send mail to postmaster.

If you do so, please include this problem report. You can
delete your own text from the attached returned message.

The mail system

<[email protected]>: host gmail-smtp-in.l.google.com[64.233.184.27]
said: 550-5.7.1 [124.92.143.121] This message is not RFC 5322 compliant,
the issue is: 550-5.7.1 duplicate To headers. To reduce the amount of spam
sent to Gmail, 550-5.7.1 this message has been blocked. Please review 550
5.7.1 RFC 5322 specifications for more information.
g9-20020adffc89000000b002c551a88659si270957wrr.506 - gsmtp (in reply to end
of DATA command)

--C0A143C1195.1678467717/server.mydomain.com
Content-Description: Delivery report
Content-Type: message/delivery-status

Reporting-MTA: dns; server.mydomain.com
X-Postfix-Queue-ID: C0A143C1195
X-Postfix-Sender: rfc822; [email protected]
Arrival-Date: Fri, 10 Mar 2023 18:01:56 +0100 (CET)

Final-Recipient: rfc822; neilmailid@[email protected]
Original-Recipient: rfc822;[email protected]
Action: failed
Status: 5.7.1
Remote-MTA: dns; gmail-smtp-in.l.google.com
Diagnostic-Code: smtp; 550-5.7.1 [124.92.143.121] This message is not RFC 5322
compliant, the issue is: 550-5.7.1 duplicate To headers. To reduce the
amount of spam sent to Gmail, 550-5.7.1 this message has been blocked.
Please review 550 5.7.1 RFC 5322 specifications for more information.
g9-20020adffc89000000b002c551a88659si270957wrr.506 - gsmtp

--C0A143C1195.1678467717/server.mydomain.com
Content-Description: Undelivered Message
Content-Type: message/rfc822
Content-Transfer-Encoding: 8bit

Return-Path: <[email protected]>
Received: by server.mydomain.com (Postfix, from userid 10000)
id C0A143C1195; Fri, 10 Mar 2023 18:01:56 +0100 (CET)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=mydomain.com.com;
s=default; t=1678467716;
bh=pN3JFncwrANz4EVINnyQlqDTPFPZEBzmbzOWtDYBaDQ=;
h=To:Subject:To:From;
b=HTc17/aAKE8No2SpucYw61ewNzH78ZBrZ/y4dBzMLdcbP417T13MXWlc6vq2uA6FU
LXkIeRVkIx3A8+8rQCtQcSD4igcTAn+Ef66ELozlOq1ygvTOJCjKw7uoTtcR1RhYzO
CkmwIHndO7uGF1inEqUEz/6cdliTRSQU3wnAn1t0=
To: [email protected]
Subject: Test Mail
X-PHP-Originating-Script: 10000:functions_global.php
To: <[email protected]>
From: BT Tracker <[email protected]>
Reply-To: BT Tracker <[email protected]>
Message-ID: <mzLCiOmaiAZUyXmZOktiRedqvSRzVCbL [email protected]>
X-Mailer: PHP v5.6.40
Content-Transfer-Encoding: 8bit
X-Sender: XBLAST PHP-Mailer
MIME-Version: 1.0
Content-type: text/html; charset=utf-8
X-PPP-Message-ID:
<[email protected]>
X-PPP-Vhost: mydomain.com
Date: Fri, 10 Mar 2023 18:01:56 +0100 (CET)

<html>
<head>
<meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
<base href="Web Hosting, Domain Name Registration - MyDomain.com" />
<title>Test Mail</title>
</head>
<body style="font-family: 'Trebuchet MS', Helvetica, Arial, sans-serif; font-size: 13px; line-height: 1.231;
background: #FFFFFF; color: #000000; margin: 5px">

<div style="background-color: #F0F7FC; border: 1px solid #E47600; border-radius: 5px">

<a href="Web Hosting, Domain Name Registration - MyDomain.com" style="color: #FFFFFF; text-decoration: none; font-size: 11px;
display: block; background-color: #E47600; border-bottom: 1px solid #E47600; padding: 5px 10px; margin: 0;
border-top-left-radius: 4px; border-top-right-radius: 4px">BT Tracker</a>

<div style="background-color: #FCFCFF; color: #141414; padding: 1em">
Hello! This is a simple email message.
</div>

<a href="Web Hosting, Domain Name Registration - MyDomain.com" style="color: #FFFFFF; text-decoration: none; font-size: 11px;
display: block; background-color: #FAB060; border-top: 1px solid #E47600; padding: 5px 10px; margin: 0; text-align: right">Web Hosting, Domain Name Registration - MyDomain.com</a>

</div>

</body>
</html>

--C0A143C1195.1678467717/server.mydomain.com--
 
Return-Path: <[email protected]>
Received: from mydomain.com (server.mydomain.com [124.31.103.121])
by server.mydomain.com (Postfix) with ESMTPSA id 79D3F3C08A7
for <neilmyid@[email protected]>; Fri, 10 Mar 2023 09:04:17 +0100 (CET)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=mydomain.com;
s=default; t=1678435457;
bh=TYC7cEL4Ayi4nz1h1HdyGwBMwbomBawyK3yz1n265P4=; h=To:From:Subject;
b=cuht3eQZ4jAMvEl6+JI1V6f7d6vm38yjXA0OhOf0+AosrNSOlbZe1nvkuwLZp/CpB
+mtyAv2v5zL0flYV5mtI81QBj0IOFO00NPgxjVbjaT48BbfJY1nLmFz5byiaJnfUdR
7H9oW8IVChoVud6oIo1HIs4B98URC9F3fFb1gjVw=
Authentication-Results: server.mydomain.com;
spf=pass (sender IP is 124.31.103.121) smtp.mailfrom=[email protected] smtp.helo=mydomain.com
Received-SPF: pass (server.mydomain.com: connection is authenticated)
Date: Fri, 10 Mar 2023 08:04:17 +0000
To: [email protected]
From: "BT Tracker" <[email protected]>
Message-ID: <20230310080417.da6386760957@https://mydomain.com>
MIME-Version: 1.0
Content-Type: text/html; charset="utf-8"
Content-Transfer-Encoding: 8bit
X-Priority: 3
X-Mailer: xblast Mail via PHP
X-Sender: xblast PHP-Mailer
Date: Fri, 10 Mar 2023 08:04:17 +0000
Subject: Test Mail
X-PPP-Message-ID:
<[email protected]>
X-PPP-Vhost: mydomain.com


<html>
<head>
<meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
<base href="Web Hosting, Domain Name Registration - MyDomain.com" />
<title>Test Mail</title>
</head>
<body style="font-family: 'Trebuchet MS', Helvetica, Arial, sans-serif; font-size: 13px; line-height: 1.231;
background: #FFFFFF; color: #000000; margin: 5px">

<div style="background-color: #F0F7FC; border: 1px solid #E47600; border-radius: 5px">

<a href="Web Hosting, Domain Name Registration - MyDomain.com" style="color: #FFFFFF; text-decoration: none; font-size: 11px;
display: block; background-color: #E47600; border-bottom: 1px solid #E47600; padding: 5px 10px; margin: 0;
border-top-left-radius: 4px; border-top-right-radius: 4px">BT Tracker</a>

<div style="background-color: #FCFCFF; color: #141414; padding: 1em">
Hello! This is a simple email message.
</div>

<a href="Web Hosting, Domain Name Registration - MyDomain.com" style="color: #FFFFFF; text-decoration: none; font-size: 11px;
display: block; background-color: #FAB060; border-top: 1px solid #E47600; padding: 5px 10px; margin: 0; text-align: right">Web Hosting, Domain Name Registration - MyDomain.com</a>

</div>

</body>
</html>
 
...
To: [email protected]
Subject: Test Mail
X-PHP-Originating-Script: 10000:functions_global.php
To: <[email protected]>
...
I think that your script is adding the recipient line twice to the header. That is why GMail claims "550-5.7.1 duplicate To headers". I've not yet heard of a plugin named "xblast", but according to the headers you have one. Maybe you can replace it with another SMTP mailer plugin.
 
Hi NIEL

I am still not getting the email.
I can receive email in the disposable email service (Mailinator) but not in gmail inbox from ionos and plesk hosting.
Can you help me?
 
Back
Top