Error sending emails to Gmail

Vreo

Registered
Jul 18, 2012
1
0
1
México, D. F., Mexico
cPanel Access Level
Root Administrator
Hi, from a month or so, I started noticing that some mails were delaying for hours before being delivered, after analyzing this, I realized that it was only mails sent to gmail or forwarded to gmail (as some of my customers have their emails just as a forwarding address to their gmail account). I saw a log of a mail being delayed and I have the following log where it is failing and failing and maikng my queue to run for very long and delay mails from/to other users. What can I do? Thank you in advance.


Code:
LOG: MAIN
  cwd=/usr/local/cpanel/whostmgr/docroot 4 args: /usr/sbin/exim -v -M 1SrfCY-0002zm-AD
delivering 1SrfCY-0002zm-AD
LOG: MAIN
  check_mail_permissions could not determine the sender domain [message_exim_id=1SrfCY-0002zm-AD sender_host_address=70.38.71.72 recipients_count=1]
Connecting to gmail-smtp-in-v4v6.l.google.com [2001:4860:800a::1b]:25 ... failed: Network is unreachable
LOG: MAIN
  gmail-smtp-in-v4v6.l.google.com [2001:4860:800a::1b] Network is unreachable
Connecting to gmail-smtp-in-v4v6.l.google.com [173.194.76.26]:25 ... connected
LOG: MAIN
  Remote host gmail-smtp-in-v4v6.l.google.com [173.194.76.26] closed connection in response to initial connection
Connecting to alt1.gmail-smtp-in.l.google.com [173.194.66.26]:25 ... connected
LOG: MAIN
  SMTP timeout while connected to alt1.gmail-smtp-in.l.google.com [173.194.66.26] after initial connection: Connection timed out
Connecting to alt2.gmail-smtp-in.l.google.com [173.194.65.26]:25 ... connected
  SMTP<< 220 mx.google.com ESMTP l41si419651eem.51
  SMTP>> EHLO server.(edited).net
  SMTP<< 250-mx.google.com at your service, [208.116.53.56]
         250-SIZE 35882577
         250-8BITMIME
         250-STARTTLS
         250 ENHANCEDSTATUSCODES
  SMTP>> STARTTLS
  SMTP<< 220 2.0.0 Ready to start TLS
  SMTP>> EHLO server.(edited).net
  SMTP<< 250-mx.google.com at your service, [208.116.53.56]
         250-SIZE 35882577
         250-8BITMIME
         250-ENHANCEDSTATUSCODES
         250 PIPELINING
  SMTP>> MAIL FROM:<(edited)> SIZE=205821
  SMTP>> RCPT TO:<(edited)>
  SMTP>> DATA
  SMTP<< 250 2.1.0 OK l41si419651eem.51
  SMTP<< 250 2.1.5 OK l41si419651eem.51
  SMTP<< 354  Go ahead l41si419651eem.51
  SMTP>> writing message and terminating "."
  SMTP<< 250 2.0.0 OK 1342662669 l41si419651eem.51
  SMTP>> EHLO server.(edited).net
  SMTP>> QUIT
LOG: MAIN
  => (edited) <(edited)> R=lookuphost T=remote_smtp H=alt2.gmail-smtp-in.l.google.com [173.194.65.26] X=TLSv1:RC4-SHA:128
LOG: MAIN
  Completed
 

Arashdn

Registered
Aug 27, 2012
2
0
1
cPanel Access Level
Root Administrator
I also have same problem
what can be the reason ?
LOG: MAIN
cwd=/usr/local/cpanel/whostmgr/docroot 4 args: /usr/sbin/exim -v -M 1T5vjh-00016N-TX
delivering 1T5vjh-00016N-TX
Connecting to gmail-smtp-in.l.google.com [2001:4860:b007::1b]:25 ... failed: Network is unreachable
LOG: MAIN
gmail-smtp-in.l.google.com [2001:4860:b007::1b] Network is unreachable
Connecting to gmail-smtp-in.l.google.com [209.85.225.27]:25 ... failed: Connection timed out (timeout=5m)
LOG: MAIN
gmail-smtp-in.l.google.com [209.85.225.27] Connection timed out
Connecting to alt1.gmail-smtp-in.l.google.com [2607:f8b0:400c:c03::1b]:25 ... failed: Network is unreachable
LOG: MAIN
alt1.gmail-smtp-in.l.google.com [2607:f8b0:400c:c03::1b] Network is unreachable
Connecting to alt1.gmail-smtp-in.l.google.com [173.194.76.26]:25 ... failed: Connection timed out (timeout=5m)
LOG: MAIN
alt1.gmail-smtp-in.l.google.com [173.194.76.26] Connection timed out
Connecting to alt2.gmail-smtp-in.l.google.com [173.194.73.26]:25 ... failed: Connection timed out (timeout=5m)
LOG: MAIN
alt2.gmail-smtp-in.l.google.com [173.194.73.26] Connection timed out
Connecting to alt3.gmail-smtp-in.l.google.com [2607:f8b0:400c:c03::1a]:25 ... failed: Network is unreachable
LOG: MAIN
alt3.gmail-smtp-in.l.google.com [2607:f8b0:400c:c03::1a] Network is unreachable
Connecting to alt4.gmail-smtp-in.l.google.com [2a00:1450:4013:c00::1a]:25 ... failed: Network is unreachable
LOG: MAIN
alt4.gmail-smtp-in.l.google.com [2a00:1450:4013:c00::1a] Network is unreachable
LOG: MAIN
 

cPanelTristan

Quality Assurance Analyst
Staff member
Oct 2, 2010
7,607
43
348
somewhere over the rainbow
cPanel Access Level
Root Administrator
The issue isn't just IPv6. After it fails that connection, it then fails the next IPv4 one. You really should contact google to ask them about that issue. You might also try when the IP is failing to do a traceroute for the IP to see if you can connect to it.

The IPs that were failing are 173.194.76.26 in both instances. I really think if both of you are having the 73.194.76.26 IP failing that you need to let google know about it.
 

screavic

Registered
Dec 5, 2008
2
0
51
I actually started having this problem after the recent update too. Same thing in the logs and the problem is still there. Have you found a solution yet?
 

screavic

Registered
Dec 5, 2008
2
0
51
Does contacting google work?
It's not a Google issue, I'm able to contact the IP's listed in my logs outside of the WHM/CPanel Server. Firewall isn't the problem either I disabled it temporarily to see if maybe that was the problem.