This article covers the SPF and DKIM authentication processes for StatusPage 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 StatusPage as an authorized sender in the Valimail Enforce usually requires a dedicated subdomain to be pointed to the StatusPage infrastructure and typically the DKIM keys will be added in the Valimail platform.


Configuring DKIM authentication for your StatusPage emails

1. Navigate to Your page -> Customize page and email.

2. Click the Customize email tab.

3. Fill in the value for Send from email field. We recommend a format something along the lines of "Company Support <support@company.com>". 

- Optionally, you can also set a separate Reply to email if you need to route responses elsewhere.

4. Click Save email customizations, and a new link will appear to get you started with the SPF and DKIM process.

5. Proceed to Your page -> DNS configuration.

6. On the DNS configuration page, you'll see several values that you need to set DNS records for.

7. Add the 2 CNAME DKIM keys and the TXT DKIM key in Valimail Enforce. All the other records must be added in your DNS.

8. After you add all the records in their respective areas, come back to this page in your StatusPage account and click Revalidate all records.

9. Once validated, StatusPage will start to send authenticated and signed email within 24 hours.

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

Add a StatusPage 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 keys with StatusPage and then click Add.

2. Proceed in a similar fashion when adding the one TXT DKIM key.

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

    b. Enter the selector name, the DKIM TXT value (the actual value is the entire string after the p= tag), associate the key with StatusPage 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 StatusPage emails

Once you establish that StatusPage 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 StatusPage 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.

Important Note: In order to validate the configuration you may need to append StatusPage's include mechanism to your SPF record, after the macro directive. Your SPF record should look as follows: 
v=spf1 include:%{i}._ip.%{h}._ehlo.%{d}._spf.vali.email include:stspg-customer.com ~all

For more detailed info on why an action such as in the above note might be required, please consult our articles regarding How to work around Vendor Verification for SPF and Trailing SPF includes in Valimail delegated domains.

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