Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to verify Mandrill custom sending domain without a mail receiving client?

The Background

I am using Mandrill as my SMTP sending mail server. After setting up MX in my custom domain DNS, I am able to send emails through Mandrill.

However, when reading the email from Gmail client, there's always an "on behalf of" line showing. I understand this signature could be removed by setting DKIM and SPF Settings, and I did so on Mandrill backend.

The Problem

Here comes the funny part: Mandrill requires you to "verified domain" by sending you a email to that custom domain. However, I didn't have a backend application to receive the "Inbound email" by Mandrill. Since there's no other mail client provided by Mandrill, how could I verify the Sending Domain?


References

  • Why am I seeing extra information next to the sender’s name? (by Google)
  • How Do I Get Rid Of The 'On Behalf Of' Message That Shows For Some Recipients? (Mandrill)
like image 286
kavare Avatar asked Sep 19 '15 04:09

kavare


People also ask

How do I verify my email domain?

Sign in using your administrator account (does not end in @gmail.com). Domains. Click Manage domains > Verify domain ownership. Then follow the steps in the verification tool.

How long does it take to authenticate domain in Mailchimp?

If you've entered all records correctly and your authentication isn't working right away, there typically isn't a cause for concern. You may need to wait a bit longer (up to 48 hours) since it can take awhile for servers to recognize your changes.

Does Mailchimp send from my domain?

To send email through Mailchimp, we need to verify that you are using a valid From email address hosted at a domain you can access. This helps keep your campaigns out of spam folders and protects your reputation by ensuring others can't use your domain without permission.


1 Answers

I was having the same problem earlier. I had a web application running on a server. So I configured incoming mails on mandrill by adding some MX records, then creating a route for the same domain for a random address which points to one of the POST endpoints on my web application.

So, whenever someone sends an email to that address, I get a POST request on the web endpoint which I put in the control panel. Mandrill gives a confirmation url in the email body. So, by inspecting the logs, we can directly copy the url and paste it in the browser and the domain is verified.

You can delete the incoming domain in mandrill afterwards if you don't need it.

like image 50
mrudult Avatar answered Sep 24 '22 03:09

mrudult