I'm working with a hosting client. He has a form on his site (that I wrote in Perl) that:
1. sends a plain-text email through /usr/sbin/sendmail ;
2. the "to" is his email address on the server that forwards to a Gmail address;
3. the return address is entered by the user that submitted the form.
When someone submitted it yesterday using their Yahoo address in the "from" field, it sent an error message to [email protected]_name.com:
Of course, the support page given was useless:
I changed the program to make the "from" address match the "to" address (eg, [email protected]_domain.com ) and resubmitted it, but it still bounced with the same error (except it had his domain in place of yahoo.com).
I double checked, and his SPF, DKIM, and DMARC all seem fine:
MXToolbox shows no errors with the MX records.
I have another client with a contact form that had a similar problem a few weeks ago, but their site is slow so I forgot about it until now. But that means that the issue isn't isolated to this domain, it's definitely a setting somewhere.
Any thoughts?
1. sends a plain-text email through /usr/sbin/sendmail ;
2. the "to" is his email address on the server that forwards to a Gmail address;
3. the return address is entered by the user that submitted the form.
When someone submitted it yesterday using their Yahoo address in the "from" field, it sent an error message to [email protected]_name.com:
Code:
This message was created automatically by mail delivery software.
A message that you sent could not be delivered to one or more of its recipients. This is a permanent error. The following address(es) failed:
[email protected]
(generated from [email protected]_domain.com)
host gmail-smtp-in.l.google.com [142.250.115.26]
SMTP error from remote mail server after end of data:
550-5.7.26 Unauthenticated email from yahoo.com is not accepted due to domain's
550-5.7.26 DMARC policy. Please contact the administrator of yahoo.com domain
550-5.7.26 if this was a legitimate mail. Please visit
550-5.7.26 https://support.google.com/mail/answer/2451690 to learn about the
550 5.7.26 DMARC initiative. b24si10524548oob.80 - gsmtp
Control unauthenticated mail from your domain - Gmail Help
Troubleshoot delivery issues with Postmaster Tools Gmail Postmaster Tools provides senders with metrics on parameters such as reputation, spam rate, feedback loop, etc. It can help you prevent your em
support.google.com
I changed the program to make the "from" address match the "to" address (eg, [email protected]_domain.com ) and resubmitted it, but it still bounced with the same error (except it had his domain in place of yahoo.com).
I double checked, and his SPF, DKIM, and DMARC all seem fine:
Code:
# changed the IP for this post, of course
his_domain.com. 14400 IN TXT "v=spf1 +a +mx +ip4:123.45.67.89 ~all"
default._domainkey 14400 IN TXT "v=DKIM1; k=rsa; p=[key]\;
_dmarc 14400 IN TXT "v=DMARC1;p=reject;sp=reject;adkim=r;aspf=r;pct=100;fo=0;rf=afrf;ri=86400;rua=mailto:[email protected];ruf=mailto:[email protected]"
I have another client with a contact form that had a similar problem a few weeks ago, but their site is slow so I forgot about it until now. But that means that the issue isn't isolated to this domain, it's definitely a setting somewhere.
Any thoughts?