A user sends an email to an Email-to-Apex Email service which has Advanced Email Security Enabled that fails security checks and the user receives a bounce that says it did not pass the authentication. If the sending domain doesn’t pass one of SPF (Sender Policy Framework), DKIM (DomainKeys Identified Mail) and DMARC (Domain-based Message Authentication, Reporting, and Conformance). It will result in a bounce.
This article explains why a sender authentication bounce occurs when sending email to a Salesforce Email-to-Apex email service address, and what a domain administrator needs to check to resolve it.
When an Email-to-Apex email service has Advanced Email Security enabled, Salesforce checks the sending domain against three authentication standards: SPF (Sender Policy Framework), DKIM (DomainKeys Identified Mail), and DMARC (Domain-based Message Authentication, Reporting, and Conformance). SPF verifies that the sending mail server is authorized to send on behalf of the domain, DKIM confirms the message wasn't altered in transit using a digital signature, and DMARC tells receiving servers what to do if SPF or DKIM checks fail. If the sending domain doesn't pass one of these three checks, Salesforce bounces the email with a message saying the sender authentication check failed.
Work with your email domain administrator to confirm the sending domain has SPF, DKIM, and DMARC properly configured in its DNS records. This typically means verifying that:
- The domain's SPF record includes the correct sending mail servers
- DKIM signing is enabled and the public key is published in DNS
- A DMARC policy record exists for the domain
This behavior is expected — the email is correctly rejected because the domain doesn't yet meet the authentication requirements. That said, the current bounce message text can be unclear to end users. A feature request has been logged internally to improve the clarity of this bounce message in a future release.
This means the sending domain failed one of the SPF, DKIM, or DMARC checks that Salesforce's Advanced Email Security feature requires. Contact your domain administrator to review the domain's DNS authentication records.
000396365

We use three kinds of cookies on our websites: required, functional, and advertising. You can choose whether functional and advertising cookies apply. Click on the different cookie categories to find out more about each category and to change the default settings.
Privacy Statement
Required cookies are necessary for basic website functionality. Some examples include: session cookies needed to transmit the website, authentication cookies, and security cookies.
Functional cookies enhance functions, performance, and services on the website. Some examples include: cookies used to analyze site traffic, cookies used for market research, and cookies used to display advertising that is not directed to a particular individual.
Advertising cookies track activity across websites in order to understand a viewer’s interests, and direct them specific marketing. Some examples include: cookies used for remarketing, or interest-based advertising.