| Linode Forum https://forum.linode.com/ |
|
| [Solved] Validate email address at my own domain with gmail https://forum.linode.com/viewtopic.php?f=11&t=12472 |
Page 1 of 1 |
| Author: | alexw [ Sun Dec 06, 2015 2:51 am ] |
| Post subject: | [Solved] Validate email address at my own domain with gmail |
Hi, I need to have the ability to send email using gmail's web interface, using my own email address (xxxxx@mydomain.com) instead of my xyz@gmail.com, but I'm not able to get gmail to successfully validate my smtp server (postfix, hosted in my linode). Gmail's response is "Your other email provider is responding too slowly. Please try again later, or contact the administrator of your other domain for further information." - can't get more details than that from them. I set up Postfix, Dovecot, MariaDB for Centos 7 according to linode's tutorial and I tried to adapt to my needs some of the instructions found here: http://seasonofcode.com/posts/custom-do ... orial.html (i.e. I generated a single .pem file based on the advice there, including my smtp server's name as the common name - mail.tcs-usa.com in the certificate in order to make gmail happy). I'm able to send email using postfix as my smtp server and I postfix set up to forward any email coming to my domain to my gmail account. This works perfectly well. I also checked my smtp server with mxtoolbox.com and it also finds everything in order. I'm including below an excerpt from postfix's log. The only thing that jumps out to me is "match_list_match: mail-yk0-f169.google.com: no match" on line #11 and another on line #12. Thanks in advance for all your help and apologies if I'm including too much information, but I've been at this for two days already and not getting anywhere. Alex The following are all the active lines in /etc/postfix/main.cf: Code: command_directory = /usr/sbin And here are the active lines from master.cf: Code: # Dec 6 01:20:12 ewr postfix/submission/smtpd[13344]: connect from mail-yk0-f169.google.com[209.85.160.169] Dec 6 01:20:12 ewr postfix/submission/smtpd[13344]: smtp_stream_setup: maxtime=300 enable_deadline=0 Dec 6 01:20:12 ewr postfix/submission/smtpd[13344]: match_hostname: mail-yk0-f169.google.com ~? 127.0.0.0/8 Dec 6 01:20:12 ewr postfix/submission/smtpd[13344]: match_hostaddr: 209.85.160.169 ~? 127.0.0.0/8 Dec 6 01:20:12 ewr postfix/submission/smtpd[13344]: match_hostname: mail-yk0-f169.google.com ~? 45.79.184.0/24 Dec 6 01:20:12 ewr postfix/submission/smtpd[13344]: match_hostaddr: 209.85.160.169 ~? 45.79.184.0/24 Dec 6 01:20:12 ewr postfix/submission/smtpd[13344]: match_hostname: mail-yk0-f169.google.com ~? [::1]/128 Dec 6 01:20:12 ewr postfix/submission/smtpd[13344]: match_hostaddr: 209.85.160.169 ~? [::1]/128 Dec 6 01:20:12 ewr postfix/submission/smtpd[13344]: match_hostname: mail-yk0-f169.google.com ~? [fe80::]/64 Dec 6 01:20:12 ewr postfix/submission/smtpd[13344]: match_hostaddr: 209.85.160.169 ~? [fe80::]/64 Dec 6 01:20:12 ewr postfix/submission/smtpd[13344]: match_list_match: mail-yk0-f169.google.com: no match Dec 6 01:20:12 ewr postfix/submission/smtpd[13344]: match_list_match: 209.85.160.169: no match Dec 6 01:20:12 ewr postfix/submission/smtpd[13344]: auto_clnt_open: connected to private/anvil Dec 6 01:20:12 ewr postfix/submission/smtpd[13344]: event_enable_read: fd 18 Dec 6 01:20:13 ewr postfix/submission/smtpd[13344]: send attr request = connect Dec 6 01:20:13 ewr postfix/submission/smtpd[13344]: send attr ident = submission:209.85.160.169 Dec 6 01:20:13 ewr postfix/submission/smtpd[13344]: vstream_fflush_some: fd 18 flush 49 Dec 6 01:20:13 ewr postfix/submission/smtpd[13344]: vstream_buf_get_ready: fd 18 got 25 Dec 6 01:20:13 ewr postfix/submission/smtpd[13344]: private/anvil: wanted attribute: status Dec 6 01:20:13 ewr postfix/submission/smtpd[13344]: input attribute name: status Dec 6 01:20:13 ewr postfix/submission/smtpd[13344]: input attribute value: 0 Dec 6 01:20:13 ewr postfix/submission/smtpd[13344]: private/anvil: wanted attribute: count Dec 6 01:20:13 ewr postfix/submission/smtpd[13344]: input attribute name: count Dec 6 01:20:13 ewr postfix/submission/smtpd[13344]: input attribute value: 1 Dec 6 01:20:13 ewr postfix/submission/smtpd[13344]: private/anvil: wanted attribute: rate Dec 6 01:20:13 ewr postfix/submission/smtpd[13344]: input attribute name: rate Dec 6 01:20:13 ewr postfix/submission/smtpd[13344]: input attribute value: 1 Dec 6 01:20:13 ewr postfix/submission/smtpd[13344]: private/anvil: wanted attribute: (list terminator) Dec 6 01:20:13 ewr postfix/submission/smtpd[13344]: input attribute name: (end) Dec 6 01:20:13 ewr postfix/submission/smtpd[13344]: > mail-yk0-f169.google.com[209.85.160.169]: 220 mail.tcs-usa.com ESMTP Postfix Dec 6 01:20:13 ewr postfix/submission/smtpd[13344]: watchdog_pat: 0x56163ce15080 Dec 6 01:20:13 ewr postfix/submission/smtpd[13344]: vstream_fflush_some: fd 17 flush 36 Dec 6 01:20:13 ewr postfix/submission/smtpd[13344]: smtp_get: EOF Dec 6 01:20:13 ewr postfix/submission/smtpd[13344]: match_hostname: mail-yk0-f169.google.com ~? 127.0.0.0/8 Dec 6 01:20:13 ewr postfix/submission/smtpd[13344]: match_hostaddr: 209.85.160.169 ~? 127.0.0.0/8 Dec 6 01:20:13 ewr postfix/submission/smtpd[13344]: match_hostname: mail-yk0-f169.google.com ~? 45.79.184.0/24 Dec 6 01:20:13 ewr postfix/submission/smtpd[13344]: match_hostaddr: 209.85.160.169 ~? 45.79.184.0/24 Dec 6 01:20:13 ewr postfix/submission/smtpd[13344]: match_hostname: mail-yk0-f169.google.com ~? [::1]/128 Dec 6 01:20:13 ewr postfix/submission/smtpd[13344]: match_hostaddr: 209.85.160.169 ~? [::1]/128 Dec 6 01:20:13 ewr postfix/submission/smtpd[13344]: match_hostname: mail-yk0-f169.google.com ~? [fe80::]/64 Dec 6 01:20:13 ewr postfix/submission/smtpd[13344]: match_hostaddr: 209.85.160.169 ~? [fe80::]/64 Dec 6 01:20:13 ewr postfix/submission/smtpd[13344]: match_list_match: mail-yk0-f169.google.com: no match Dec 6 01:20:13 ewr postfix/submission/smtpd[13344]: match_list_match: 209.85.160.169: no match Dec 6 01:20:13 ewr postfix/submission/smtpd[13344]: send attr request = disconnect Dec 6 01:20:13 ewr postfix/submission/smtpd[13344]: send attr ident = submission:209.85.160.169 Dec 6 01:20:13 ewr postfix/submission/smtpd[13344]: vstream_fflush_some: fd 18 flush 52 Dec 6 01:20:13 ewr postfix/submission/smtpd[13344]: vstream_buf_get_ready: fd 18 got 10 Dec 6 01:20:13 ewr postfix/submission/smtpd[13344]: private/anvil: wanted attribute: status Dec 6 01:20:13 ewr postfix/submission/smtpd[13344]: input attribute name: status Dec 6 01:20:13 ewr postfix/submission/smtpd[13344]: input attribute value: 0 Dec 6 01:20:13 ewr postfix/submission/smtpd[13344]: private/anvil: wanted attribute: (list terminator) Dec 6 01:20:13 ewr postfix/submission/smtpd[13344]: input attribute name: (end) Dec 6 01:20:13 ewr postfix/submission/smtpd[13344]: lost connection after CONNECT from mail-yk0-f169.google.com[209.85.160.169] Dec 6 01:20:13 ewr postfix/submission/smtpd[13344]: disconnect from mail-yk0-f169.google.com[209.85.160.169] |
|
| Author: | alexw [ Mon Dec 07, 2015 11:05 pm ] |
| Post subject: | Re: Validate email address at my own domain with gmail |
Can anybody help me please? |
|
| Author: | Vance [ Tue Dec 08, 2015 3:43 am ] |
| Post subject: | Re: Validate email address at my own domain with gmail |
The Gmail error message makes no sense - it is giving up after less than two seconds. Postfix is doing nothing to reject it. If you are able to send mail through your server using an ordinary e-mail client, the problem is likely something to do with Google. |
|
| Author: | alexw [ Wed Dec 09, 2015 1:30 am ] |
| Post subject: | Re: Validate email address at my own domain with gmail |
Hi Vance, Thanks for looking at it. Gmail gives me the error message around 8 seconds after I click the button to have it proceed with the verification. At least that's consistent every time. As I said, I've googled this to death and there's only a handful of hits from people having the same issue. I have a feeling it's got to do with the certificate somehow, but there's no way to know as gmail's not giving me any clues. If I do come up with a solution, I'll post it here. Thanks! Alex |
|
| Author: | Vance [ Fri Dec 11, 2015 4:12 am ] |
| Post subject: | Re: Validate email address at my own domain with gmail |
Quote: Dec 6 01:20:12 ewr postfix/submission/smtpd[13344]: connect from mail-yk0-f169.google.com[209.85.160.169] ... Dec 6 01:20:13 ewr postfix/submission/smtpd[13344]: lost connection after CONNECT from mail-yk0-f169.google.com[209.85.160.169] Dec 6 01:20:13 ewr postfix/submission/smtpd[13344]: disconnect from mail-yk0-f169.google.com[209.85.160.169] The Google machine isn't sending anything, not even an EHLO - it's just closing the connection. I suspect it's something to do with TLS negotiation. Your configuration on port 587 uses STARTTLS; do you have Gmail configured to use that? |
|
| Author: | alexw [ Fri Dec 11, 2015 6:21 pm ] |
| Post subject: | [solved] Re: Validate email address at my own domain with gmail |
Hi All, As promised, I'm posting a solution now that I found it: instead of using the name of the server smtp.mydomain.com, the problem went away as soon as I used the server's IP address. Google was able to verify and now I can send emails from my gmail account without gmail or google showing up in the from: or sender: fields. More than likely, it's related to the way my dns record is set up but I think I'll hold off on trying to figure it out now that it's working. Found the solution at http://bit.ly/1NTmSqz Alex |
|
| Page 1 of 1 | All times are UTC-04:00 |
| Powered by phpBB® Forum Software © phpBB Group http://www.phpbb.com/ |
|