October 11, 2020 at 9:05 am
When using the Ascend “Contact us” page contact form, the email delivered to the MTA uses the email address entered by the customer as the FROM address. If the customer’s email uses the yahoo.com domain name AND the recipient is using a gmail mailbox, then gmail will reject the incoming mail due to DMARC violations. Here is typical rejection message in the postfix mail log. Again, it is the receiving system (gmail) that is creating the rejection.
B83413F8EF: to=<[email protected]>, relay=aspmx.l.google.com[209.85.235.27]:25, delay=1.2, delays=0.1/0.02/0.4/0.68, dsn=5.7.26, status=bounced (host aspmx.l.google.com[209.85.235.27] said: 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 *Login to see link to learn about the 550 5.7.26 DMARC initiative. l2si3780362otf.316 - gsmtp (in reply to end of DATA command))
I have now tested 2 different cases and see the same results in both cases:
Case 1: Mail delivered directly by postfix on hosting server
Case 2: Mail relayed by Postfix to commercial SMTP service (SMTP2Go in my case)
I think that this sort of problem would be solved if the email send by the contact form used the recipient’s email address as both FROM and TO.