Revolving around the core of technology
john.doe@yahoo.com
. Assume this user
needs to send a large file to jane.doe@gmail.com
.
john.doe@yahoo.com
, Google's SMTP server will consider this a forgery because your network is not supposed to send emails
where sender belongs to yahoo.com.
In more technical terms, SPF as well as DMARC will fail and you risk getting your public IP getting listed on an RBL server.
MAIL FROM
value of smtp envelope. The actual FROM
header is not modified, allowing Jane to see John's
address in the email client. By changing the MAIL FROM in the envelope, SPF check won't fail and hence DMARC will pass as well.
Check this page for more information
about the differences between MAIL FROM in the envelope and FROM header in the email.