unable to send mail to gmail

Discuss your pilot or production implementation with other Zimbra admins or our engineers.
4346adv
Posts: 16
Joined: Fri Sep 12, 2014 11:25 pm

unable to send mail to gmail

Postby 4346adv » Tue Apr 22, 2008 4:32 am

it always returns



Apr 22 02:34:12 server-name postfix/smtp[3920]: connect to gmail.com[64.233.161.83]: Connection timed out (port 25)

Apr 22 02:34:12 server-name postfix/smtp[3945]: connect to gmail.com[72.14.253.83]: Connection timed out (port 25)


Is there any idea to fix?

Thank you.


uxbod
Ambassador
Ambassador
Posts: 7811
Joined: Fri Sep 12, 2014 10:21 pm

unable to send mail to gmail

Postby uxbod » Sat Apr 26, 2008 11:22 am

can you telnet to port 25 on the remote server ?
fviero
Advanced member
Advanced member
Posts: 64
Joined: Fri Sep 12, 2014 10:37 pm

unable to send mail to gmail

Postby fviero » Sat Apr 26, 2008 2:02 pm

Timed out connections are more than often an indication of a firewall blocking these connections. Another common one is the "connection refused" error, this one is sympton that the service in question is not running on the host you´ve attempted to connect.
adobrin
Advanced member
Advanced member
Posts: 134
Joined: Fri Sep 12, 2014 9:56 pm

unable to send mail to gmail

Postby adobrin » Sat Apr 26, 2008 4:59 pm

your DNS server is returning the wrong MX host
try this from the command line, on the mail server:
adam@stylin:~$ nslookup

> set type=MX

> gmail.com

Server: 10.2.1.5

Address: 10.2.1.5#53
Non-authoritative answer:

gmail.com mail exchanger = 50 gsmtp183.google.com.

gmail.com mail exchanger = 5 gmail-smtp-in.l.google.com.

gmail.com mail exchanger = 10 alt1.gmail-smtp-in.l.google.com.

gmail.com mail exchanger = 10 alt2.gmail-smtp-in.l.google.com.

gmail.com mail exchanger = 50 gsmtp147.google.com.


you should get similar results. (not "gmail.com")
fviero
Advanced member
Advanced member
Posts: 64
Joined: Fri Sep 12, 2014 10:37 pm

unable to send mail to gmail

Postby fviero » Sat Apr 26, 2008 6:16 pm

[QUOTE]your DNS server is returning the wrong MX host[/QUOTE]
Right, but what could make a DNS server return such a result? A rogue entry in a hosts file? DNS server misconfiguration (ok, but what misconfiguration?). Anyway, adobrin is correct. None of those IP listed at the top of the thread answered to connections on port 25. But those listed as MX records for the nslookup query did their job very well ;)
[QUOTE]

telnet gmail-smtp-in.l.google.com 25

220 mx.google.com ESMTP i39si13101889wxd.27

[/QUOTE]
So, recheck your name resolution services :)
adobrin
Advanced member
Advanced member
Posts: 134
Joined: Fri Sep 12, 2014 9:56 pm

unable to send mail to gmail

Postby adobrin » Sat Apr 26, 2008 7:06 pm

ooh look


"do">http://www.zimbra.com/forums/administrators/1035-sudden-outgoing-dns-mx-lookup-failure.html
"do
you have DNS lookups disabled in your MTA?"
-> " *sheepish* That'd be the problem...I misinterpreted the meaning of that checkbox. "

Return to “Administrators”

Who is online

Users browsing this forum: No registered users and 28 guests