To ensure that Mandrill is authorized to send emails on behalf of your domain and to check the seamless email delivery you need to configure SPF for Mandrill. This article will guide you to an easier way of doing it without the need for technical support.
Add your domains to mandrill:
In the first step, you need to add your domain to mandrill
Sign-in to your mandrill account and go to Settings > Domains
Fill in your domain name, then click on Add button
SPF Setup
Sign in to your Mandrill account
In your account, you will see the domain you have been sending emails from. Go to View SPF settings.
The SPF record that needs to be published in your DNS will be provided below.
If you don’t have an existing SPF record, publish the following in your DNS:
v=spf1 include:spf.mandrillapp.com ~all
If you already have an SPF record for your domain, simply add the include:spf.mandrill.com mechanism to your previous record as given below:
v=spf1 include:._spf.google.com include:spf.mandrill.com ~all
Save changes. Your DNS would take up to 24 hours to process these changes.
Note: By default, mandrill shows its own address as a part of Return-path address of your own email while sending out emails. You can change this by creating custom return-path domains in Mandrill.
In order to do this,
Create a CNAME record for a custom subdomain (mail.domain.com) that moves towards mandrill.com, in your DNS. Any tracking domain can be used, however mandrill suggests having a unique subdomain.
Go to Settings > Tracking & Return Path Domains in order to save the custom return-path domain,
Click on Test DNS Settings to authenticate the settings for the subdomain added by you.
After ading the return-path domain, you can configure it to be applied to messages globally.