Emails Not Delivering using EXIM

pavan2reach

Registered
Jul 28, 2020
2
0
1
Hyderabad, India
cPanel Access Level
Root Administrator
Using CENTOS 7.8 kvm, Exim 4
Rich (BB code):
telnet gmail-smtp-in.l.google.com 25
Trying 173.194.205.27...
telnet: connect to address 173.194.205.27: Connection timed out
Trying 2607:f8b0:400d:c02::1a...
telnet: connect to address 2607:f8b0:400d:c02::1a: Connection timed out
Error:

Connecting to gmail-smtp-in.l.google.com [173.194.205.27]:25 ... failed: Connection timed out (timeout=5m)

Code:
traceroute -n -T -p 25 gmail-smtp-in.l.google.com
traceroute to gmail-smtp-in.l.google.com (173.194.205.27), 30 hops max, 52 byte packets
 1  10.198.75.252  0.450 ms  0.416 ms  0.407 ms
 2  10.243.128.110  0.385 ms  0.394 ms 10.243.128.114  0.360 ms
 3  10.243.128.50  0.347 ms 10.243.128.62  0.317 ms  0.312 ms
 4  10.243.128.8  0.326 ms 10.243.128.12  0.329 ms 10.243.128.8  0.310 ms
 5  10.240.88.30  0.259 ms  0.250 ms 10.240.88.34  0.265 ms
 6  * * *
 7  * * *
 8  * * *
 9  * * *
10  * * *
11  * * *
12  * * *
13  * * *
14  * * *
15  * * *
16  * * *
17  * * *
18  * * *
19  * * *
20  * * *
21  * * *
22  * * *
23  * * *
24  * * *
25  * * *
26  * * *
27  * * *
28  * * *
29  * * *
30  * * *
Code:
cat /etc/resolv.conf
; Created by cloud-init on instance boot automatically, do not edit.
;
# Generated by NetworkManager
nameserver 198.12.255.125
nameserver 198.71.232.2
 

cPAdminsMichael

Well-Known Member
Dec 19, 2016
167
59
103
Denmark
cPanel Access Level
Root Administrator
Hm - something looks wrong with the ip address that is resolved by your DNS servers (or /etc/hosts file)
173.194.205.27 points to qm-in-f27.1e100.net and gmail-smtp-in.l.google.com should point to 108.177.127.26
 

pavan2reach

Registered
Jul 28, 2020
2
0
1
Hyderabad, India
cPanel Access Level
Root Administrator
Hm - something looks wrong with the ip address that is resolved by your DNS servers (or /etc/hosts file)
173.194.205.27 points to qm-in-f27.1e100.net and gmail-smtp-in.l.google.com should point to 108.177.127.26
Hi Micheal,
My /etc/hosts file
Code:
127.0.0.1               localhost #cloud-controlled; do not change
127.0.0.1               localhost localhost.localdomain localhost4 localhost4.localdomain4
::1             localhost localhost.localdomain localhost6 localhost6.localdomain6
198.xx.xxx.xxx          ip-198-xx-xxx-xxx.ip.secureserver.net ip-198-xx-xxx-xxx exxxxxxt8.secureserver.net exxxxxxx8
 

cPAdminsMichael

Well-Known Member
Dec 19, 2016
167
59
103
Denmark
cPanel Access Level
Root Administrator
My bad. Seems as 173.194.205.27 is indeed pointing to Google MX. Must be a regional thing.
I can also telnet to port 25 from here, so it must be a firewall blocking the connection. Do you have outgoing SMTP/TCP25 blocked maybe?
Is Google MX the only server you have issue with?
 

cPanelLauren

Product Owner
Staff member
Nov 14, 2017
13,296
1,266
313
Houston
Since that never seems to leave the internal network (10.0.0.0 - 10.255.255.255) are you sure that port 25 is open? Some providers block outbound mail on port 25 and to workaround this in most cases can to go to WHM>>Service Configuration>>Service Manager -> Exim Mail Server (on another port) and check both boxes as well as enter in port 26
 
Last edited: