Mandrill: How can I use a custom email as sender for my newsletter (Scope-to-Email)?

Mandrill: How can I use a custom email as sender for my newsletter (Scope-to-Email)?

If you plan to send the newsletter from a customer/custom email domain e.g. newsletter@customer-domain.com you need to have the following configurations in place. Please consult with your IT Department.

 

  • Access to the Email-Address (that you plan to send from) must be validated

  • The SPF records must be set

  • The DKIM records must be set

Domain/Email Validation

We need a valid email address on this domain and the recipient of the email must forward this Email to Scope. We will take care of the rest.

SPF / DKIM

The SPF and DKIM settings must be set in the DNS settings of the domain. Please follow the instructions following below carefully:

(The text parts to be pasted can be found below.)

 

DKIM

DKIM

v=DKIM1; k=rsa; p=MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQCrLHiExVd55zd/IQ/J/mRwSRMAocV/hMB3jXwaHH36d9NaVynQFYV8NaWi69c1veUtRzGt7yAioXqLj7Z4TeEUoOLgrKsn8YnckGs9i3B3tVFB+Ch/4mPhXWiNfNdynHWBcPcbJ8kjEQ2U8y78dHZj1YeRXXVvWob2OaKynO8/lQIDAQAB;

SPF

SPF

v=spf1 include:spf.mandrillapp.com ?all

Once these details haven been set in the DNS settings of the sending domain, the configuration can be validated by Scope.

Validating the Entries

DKIM

For DKIM it is important that the DNS TXT record is set for mandrill._domainkey.YOURDOMAIN.TLD

Please replace YOURDOMAIN.TLD with the domain you want to send emails from.

In the example of the domain thescope.com the following command / result indicates a valid configuration:

reto@computer:~ ⇒ dig -t TXT mandrill._domainkey.thescope.com +noall +answer ; <<>> DiG 9.10.6 <<>> -t TXT mandrill._domainkey.thescope.com +noall +answer ;; global options: +cmd mandrill._domainkey.thescope.com. 300 IN TXT "v=DKIM1; k=rsa; p=MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQCrLHiExVd55zd/IQ/J/mRwSRMAocV/hMB3jXwaHH36d9NaVynQFYV8NaWi69c1veUtRzGt7yAioXqLj7Z4TeEUoOLgrKsn8YnckGs9i3B3tVFB+Ch/4mPhXWiNfNdynHWBcPcbJ8kjEQ2U8y78dHZj1YeRXXVvWob2OaKynO8/lQIDAQAB;"

 

SPF

For SPF it is important that the DNS TXT record is set for YOURDOMAIN.TLD

Please replace YOURDOMAIN.TLD with the domain you want to send emails from.

In the Example of the domain thescope.com the following command / result indicates a valid configuration:

Details: It's likely that there are other TXT records, that's fine, they are omitted here and, more importantly, it's possible that other domains are included as well and that the "all" settings are configured differently

reto@computer:~ ⇒ dig -t TXT thescope.com +noall +answer ; <<>> DiG 9.10.6 <<>> -t TXT thescope.com +noall +answer ;; global options: +cmd thescope.com. 300 IN TXT "v=spf1 include:spf.mandrillapp.com ~all"

Further Details

https://mandrill.zendesk.com/hc/en-us/articles/205582267