Results 1 to 6 of 6

Thread: unable to send mail to gmail

  1. #1
    Join Date
    Mar 2008
    Posts
    16
    Rep Power
    7

    Default unable to send mail to gmail

    it always returns
    Code:
    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.

  2. #2
    Join Date
    Nov 2006
    Location
    UK
    Posts
    8,017
    Rep Power
    25

    Default

    can you telnet to port 25 on the remote server ?

  3. #3
    Join Date
    Jun 2007
    Location
    Porto Alegre, RS, Brazil
    Posts
    96
    Rep Power
    8

    Default

    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.

  4. #4
    Join Date
    Sep 2005
    Posts
    135
    Rep Power
    10

    Default

    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")

  5. #5
    Join Date
    Jun 2007
    Location
    Porto Alegre, RS, Brazil
    Posts
    96
    Rep Power
    8

    Default

    your DNS server is returning the wrong MX host
    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

    telnet gmail-smtp-in.l.google.com 25
    220 mx.google.com ESMTP i39si13101889wxd.27
    So, recheck your name resolution services

  6. #6
    Join Date
    Sep 2005
    Posts
    135
    Rep Power
    10

    Default

    ooh look
    http://www.zimbra.com/forums/adminis...p-failure.html

    "do you have DNS lookups disabled in your MTA?"

    -> " *sheepish* That'd be the problem...I misinterpreted the meaning of that checkbox. "

Similar Threads

  1. Replies: 7
    Last Post: 02-03-2011, 07:01 AM
  2. Problem with Postfix and MTA
    By ZMilton in forum Administrators
    Replies: 16
    Last Post: 04-16-2008, 07:47 AM
  3. [SOLVED] Mailserver down when send file attach of 50Mb
    By ZMilton in forum Administrators
    Replies: 20
    Last Post: 04-10-2008, 12:44 PM
  4. [SOLVED] Upgraded to 5.0 OSS - Sendmail Problem
    By Chewie71 in forum Installation
    Replies: 11
    Last Post: 12-28-2007, 07:07 PM
  5. fresh install down may be due to tomcat
    By gon in forum Installation
    Replies: 10
    Last Post: 07-25-2007, 09:09 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •