Avoid DMARC blocks when using Envelope-Sender in PHP mail ()

We use PHP on CentOS 6.4 to send emails to our business.

For reasons that I won’t enter, emails come from the user's email address (to get answers to all questions and answers from the office) with our email address as SENDER (to bypass SPF checks) and our ndr mailbox, like ENVELOPE-SENDER (for catching failures). Using email in a FORM address is something we don’t want to change.

Following the decision of Yahoo.com and AOL.com to increase their DMARC policy, using ENVELOPE-SENDER now does not allow them to be verified (despite the indication of SENDER!). However, skipping this step means that we do not get bounces back, and it is very important that we get them.

Specifying RETURN-PATH in message headers does not work, as is widely reported.

Did I miss something?

Thank.

+4
source share
2 answers

My company sends emails on behalf of our many clients to other clients (to protect the anonymity of the recipient until they want to respond, after which the emails should travel only between two clients).

"" . , , :

'sender' 'return-path' 'mbox@mycompany.com'. .

'reply-to' 'customer1@something.com', .

, , 14 , "mbox@mycompany.com". 5 , . , CC'ed. 4 , . yahoo.com aol.com, , .

, , 0,003% . , , .

+4

, - . , :

https://datatracker.ietf.org/doc/draft-kucherawy-dmarc-base/?include_text=1

, RFC5322.From       DMARC.             DMARC.

( ), Yahoo, , , yahoo.com .

+1

Source: https://habr.com/ru/post/1537924/


All Articles