SPF(supported) (dedicated subdomain)
DKIM(recommended)



This article covers the SPF and DKIM authentication processes for AfterShip and how they are managed in Valimail Enforce. Because this service leverages Sendgrid's email infrastructure, it requires additions to your DNS records outside of the Valimail platform. Adding AfterShip as an authorized sender in the Valimail Enforce usually requires a dedicated subdomain to be pointed to the Sendgrid infrastructure and typically the DKIM keys will be added in the Valimail platform.



TABLE OF CONTENTS





Configuring DKIM authentication for your AfterShip emails


1. Access your Organization account -> Sender Emails -> Click on Verify Domain to get 3 CNAME entries.


2. Add the 2 CNAME DKIM keys on your domain's Configuration page in Valimail and add the 3rd CNAME record in your DNS.



Note: the s1 and s2 are the 2 DKIM keys.


3. After all records were added in their proper places, come back to the Sender Emails page and -> Click on Verify to finish the process.


Important Note: If CNAME records pre-exist in SendGrid, instead of creating entries starting with values s1 and s2, you need to use a01 and a012 respectively.




You can also find the instructions on how to set up DKIM and SPF for AfterShip, here.






Add an AfterShip DKIM key in Enforce


1. Go to your domain's Configuration page in Valimail Enforce and publish the newly created DKIM key.


    a. Scroll down and add the two DKIM keys in your configuration, by clicking on Add a DKIM key

    b. Enter the selector name, CNAME target value, associate the key/s with AfterShip and then click Add.




You can find more detailed information on how to add a DKIM key in Valimail Enforce here. 






Configuring SPF authentication for your AfterShip emails


Once you establish that AfterShip is an authorized sender for your domain, you will need to add the service in your Enabled Senders list in Enforce.


1. Please go to your domain's Configuration page in Enforce.

2. Click on the + sign from the Enabled Senders section:



3. Choose AfterShip from the list of configurable senders and then click Enable:




We encourage you to use the comment section for any useful information about your sending service, such as the name of the service owner, change request ticket numbers, etc.






As always, if you have any questions, please don't hesitate to submit a ticket.