Using GMail as SMTP Client; Custom SMTP

I have had some problems recently adding another email account that I own to my gmail account as a ‘send as’ account. I have the option of using GMail SMTP servers but it adds the annoying ‘Sent on behalf of…” to the messages and I already have a postfix server setup for this account.

I would try everything offered. TLS, SSL, Unsecured, All different ports that I know I had open and working for years. I kept getting this error:

Your other email provider is responding too slowly. Please try again later, or contact the administrator of your other domain for further information.

Which is complete crap because I’m tailing the postfix log file and it never even hit me.

Well, as a test instead of giving GMail the DNS hostname of my postfix server I gave it the direct IP address and it just worked instantly. It seems the error is related to DNS. Not sure why, everything works great elsewhere.

Working for me now. Hope it helps somebody else.

3 Thoughts on “Using GMail as SMTP Client; Custom SMTP

  1. Ramana Kumar on August 16, 2015 at 3:39 AM said:

    Oh my god thank you so much! I also ran into this exact same problem, and the same thing you suggested fixed it. I wish Google weren’t so crappy about telling us exactly what is going on and lying about us “responding too slowly” when really they have some problem with the DNS lookup.

  2. Ramana Kumar on August 16, 2015 at 4:44 AM said:

    oooh I just got it to work by setting up an A record for my smtp server without any wildcards, and also setting an MX record pointing to it. previously I only had a wildcard A record. maybe Google was timing out going through the search process implied by the wildcard MX-less DNS setup.

  3. Thank you! Thank you! THANK YOU!!!!

Leave a Reply

Post Navigation