Amirol Zolkifli

How to Configure Mandrill Sending Domains

In this tutorial, we will look at the process of how to configure Mandrill Sending Domains for your web application.

I assume you already have an account on Mandrill.com.

So let’s get started.

Step 1: Add your domain name record.

Mandrill Sending Domain Step 1

First, you need to add your domain record in Mandrill Sending Domains.

Add your domain name WITHOUT www and http://

Example: yourdomain.com OR subdomain.yourdomain.com

Step 2: Get your DKIM Settings information.

mandrill-sending-domains-02

Next, we are going to verify the DKIM Settings.

Click on the View DKIM Settings hyperlink and you will see the following popup which contains the configuration you need to setup in your web hosting DNS Zone.

mandrill-sending-domains-03

Step 3: Add DKIM Settings record in your web hosting DNS Zone.

mandrill-sending-domains-04

Login to your web hosting control panel (I’m using cPanel) and find DNS Advanced Zone Editor menu.

Next, enter a new record for DKIM Settings which you get from step 2. Please see the screenshot below.

mandrill-sending-domains-05

Please note that you should check your TTL value with your hosting provider. Once the record has been added, you will see something like this.

mandrill-sending-domains-06

Step 4: Test DNS Settings

mandrill-sending-domains-07

Now, go back to Mandrill Sending Domains page and click on the Test DNS Settings.

If no problem arise, you should see your DKIM Settings is valid (with green check mark)

Step 5: Validate your SPF Settings

mandrill-sending-domains-08

Next we are going to validate your SPF record.

Click on the View SPF settings hyperlink.

A popup will appear which contains your SPF Setup information.

Normally, your web hosting already has the SPF Record. You just need to edit the record so that it will contains the Mandrill settings.

Step 6: Edit your SPF Record

mandrill-sending-domains-09

Go back to your DNS Advance Zone Editor (in your web hosting control panel) and find the current SPF value as shown on Mandrill page.

Replace it with the new value given by Mandrill.

mandrill-sending-domains-10

Then, save / edit the record and go back to Mandrill Sending Domains configuration.

Step 7: Test DNS Setting for SPF

mandrill-sending-domains-11

Click on the Test DNS Settings button again to validate your SPF Settings.

You should see SPF is valid (if there is no problem arise).

Step 8: Final – Verify your domain.

Final step, you should verify your sending domain.

mandrill-sending-domains-12

To verify your domain, click on the Verify A Domain button and enter your domain email address. Make sure you’ve created an email address through your web hosting control panel. For example: [email protected].

You should receive an email from Mandrill after clicking the “Send Verification Email”.

mandrill-sending-domains-13

mandrill-sending-domains-14

Click on the verification link and after that check your domain status.

Your domain should has a new status which is “verified” in your Mandrill Sending Domains.

mandrill-sending-domains-15

 

You can now be happily ever after and use Mandrill for your web application! 😉

Hope this helps.

p.s – For more information about Mandrill, please check their Knowledge Base at https://mandrill.zendesk.com/hc/en-us

    Leave a Reply

    This site uses Akismet to reduce spam. Learn how your comment data is processed.

    © Copyright 2010 - 2024 Amirol Zolkifli. All Rights Reserved.