The Wiert Corner – irregular stream of stuff

Jeroen W. Pluimers on .NET, C#, Delphi, databases, and personal interests

  • My badges

  • Twitter Updates

  • My Flickr Stream

  • Pages

  • All categories

  • Enter your email address to subscribe to this blog and receive notifications of new posts by email.

    Join 1,860 other subscribers

Check if a domain is services by GMail for Business (former Google Mail for your domain)

Posted by jpluimers on 2018/06/15

Google can service mail for a domain. Alphabet has renamed this service over time:

Anyway: at the time of writing it is at https://gsuite.google.com/products/gmail/.

If you send mail to such a domain and the user doesn’t exist, you get a confusing error message like this:

<<< 550 5.1.1 https://support.google.com/mail/?p=NoSuchUser [^] j191si981824wmd.134 - gsmtp

So I wanted to test if a domain is being services by gmail and found this StackExchange question:

Basically you can test it in two ways:

dig takeheart.com mx
takeheart.com. 86399 IN MX 20 ALT1.ASPMX.L.GOOGLE.com.
takeheart.com. 86399 IN MX 30 ALT2.ASPMX.L.GOOGLE.com.
takeheart.com. 86399 IN MX 10 ASPMX.L.GOOGLE.com.
takeheart.com. 86399 IN MX 40 ASPMX2.GOOGLEMAIL.com.
takeheart.com. 86399 IN MX 50 ASPMX3.GOOGLEMAIL.com.

–jeroen

Puns:

–jeroen

 

Leave a comment

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