Sender Authentication Package with SPF configuration

 Sender Authentication Package with SPF configuration


Sender Authentication Package :
It's a branding tool which has a package of features that marketing cloud configures for you.

SAP Features

  • Account Branding - Marketing Cloud brands your account with your chosen authenticated custom domain. This feature modifies view-as-a-webpage, link and image wrapping, and removes all references to Marketing Cloud in favor of your custom authenticated domain.
  • Private Domain for Email sending - This feature assigns a domain used to send email. This domain acts as the From address for your email sends. Salesforce Marketing Cloud authenticates your email sends using the Sender Policy Framework (SPF), Sender ID, and DomainKeys/DKIM authentication.
  • Custom Domain for CloudPages - This feature includes a private domain for CloudPages.
  • Dedicated IP Address - This feature assigns a unique IP address to your account. All email messages sent from your account from Marketing Cloud use this IP address. This IP address represents most of your sending reputation.
  • Reply Mail Management - This feature controls the replies you receive from your subscribers. You can assign filters for out-of-office messages and manual unsubscribe requests.

To learn more about SAP here is the link


In this blog we will learn about SPF and why we need them for SAP configuration.


SENDER POLICY FRAMEWORK

What is Sender Policy Framework (SPF)

Its a framework , that is defined by the public domain name servers for email authentication. 
  • SPF is added as a TXT record on the public DNS.
  • Verifies the IP address of the sending server and prevents from spoof or phishing emails.
  • Increases domain reputation.
  • Recipient servers trust your emails.

Lets consider an example and see how SPF validates email sends:
Shashi works for an organization ABC as a marketer who sends email campaign to subscribers, ABC uses marketing cloud tool to send emails and marketing tool uses OMM servers to process email and route the emails.

Sender Profile :
Name : ABC
Email  : shashi@abc.com

Delivery Profile : 
IP : 1.1.1.1

If you want to know how SFMC processes email send here is the link

Shashi sends an email , OMM processes the emails and adds email headers to the email:
1. Connecting IP : 1.1.1.1
2. From                 :  shashi@abc.com
3. To                      :  raj@gmail.com
4. Return path      :  shashi@abc.com

Email is received by the Gmail Server, it extracts the return path domain and validates the domain with the DNS for SPF TXT type records against Connecting IP, if the SPF records entries are present it passes the validation, if not it fails and take action on the sender email based on the SPAM filter definition and mark the email as SPAM.

Now, let's consider what happens when someone impersonates your sender profile.

Sender Profile :
Name : ABC
Email  : shashi@abc.com

Delivery Profile : 
IP : 12.12.12.12

Mail Server from where the email is send will add the below headers :
1. Connecting IP : 12.12.12.12
2. From                 :  shashi@abc.com
3. To                      :  raj@gmail.com
4. Return path      :  badguy@xyz.com

When the email is received by the Gmail server, it validates the DNS record for xyz.com
with the SPF records against the Connecting IP 12.12.12.12 if the validation fails, it will mark the email as SPOOF.

Example of SPF record : Type is TXT 
"v=spf1 ip4:192.0.2.0/24 ip4:198.51.100.123 a -all"
Where :
v=spf1 is the version 
ip4 is the SPF value
a is the domain address
all is the enforcement rule






Reference links :
Sender Profile Framework - SPF  
Domain Name System - DNS 

Validity - Tool for return path configuration , enforcement rule configuration, etc.,

Purchase domain - GoDaddy




Comments


Knowledge Article

Most Viewed

CLOUD PAGE ENABLEMENT - PART 1

EMAIL NOT SENT IN JOURNEY BUILDER

CONSIDERATIONS FOR JOURNEY BUILDER

Journey Builder REST API Documentation

Preference Center Demystified

Popular Posts

CLOUD PAGE ENABLEMENT - PART 1

EMAIL NOT SENT IN JOURNEY BUILDER

CONSIDERATIONS FOR JOURNEY BUILDER

Journey Builder REST API Documentation

Preference Center Demystified

SEND LOG EANBLEMENT

Share with Friends

Disclaimer:

The information provided on this technical blog is for general informational purposes only. As a SFMC (Salesforce Marketing Cloud) Technical Architect, I strive to offer accurate and up-to-date content related to SFMC and its associated technologies. However, please note that technology is constantly evolving, and the information provided may become outdated or inaccurate over time.

The content published on this blog represents my personal views and experiences as a SFMC Technical Architect and does not necessarily reflect the official views or opinions of any organization or employer I may be affiliated with.

While I make every effort to ensure the accuracy and reliability of the information presented, I cannot guarantee its completeness, suitability, or applicability to your specific circumstances. Therefore, it is essential to verify any information provided and make your own independent assessments or seek professional advice if needed.

Furthermore, any actions taken based on the information provided on this blog are at your own risk. I shall not be held liable for any damages, losses, or inconveniences arising from the use of the information presented here.

Please keep in mind that SFMC and its associated technologies are complex and require technical expertise for proper implementation and management. It is recommended to consult with qualified professionals or official SFMC documentation for comprehensive guidance.

Finally, please note that any product or company names mentioned on this blog are trademarks or registered trademarks of their respective owners. The mention of these trademarks or registered trademarks does not imply any endorsement or affiliation with the blog.

By accessing and using this blog, you agree to the terms of this disclaimer. If you do not agree with any part of this disclaimer, please refrain from using this blog.