Emails Not Delivering using EXIM
Using CENTOS 7.8 kvm, Exim 4
[CODE=rich]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)
Error: Connecting to gmail-smtp-in.l.google.com [173.194.205.27]:25 ... failed: Connection timed out (timeout=5m)
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 * * *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-
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 0 -
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 file127.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 exxxxxxx80 -
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? 0 -
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 0
Please sign in to leave a comment.
Comments
4 comments