sendmail : "No route to host."

Discussion in 'Server Operation' started by poteus, Feb 11, 2006.

  1. poteus

    poteus New Member

    gsmtp163.google.com.: No route to host
    mx4.mail.yahoo.com.: No route to host
    This is the msg I get from the maillog. I cant send or receive mails from my server. I can telnet :25 to it from anywhere: intranet and outside the lan. So I dont think it is the firewall...

    I have read tons of howtos and configure my sendmail in diferent ways, but I keep havinf the same problem...

    Now, geez I am so confuse that I dont know where to start!! Any ideas? :confused:
     
    Last edited: Feb 11, 2006
  2. poteus

    poteus New Member

    #ping gsmtp183.google.com
    PING gsmtp183.google.com (64.233.183.27) 56(84) bytes of data.
    64 bytes from gsmtp183.google.com (64.233.183.27): icmp_seq=0 ttl=238 time=131 ms
    64 bytes from gsmtp183.google.com (64.233.183.27): icmp_seq=1 ttl=238 time=127 ms
    64 bytes from gsmtp183.google.com (64.233.183.27): icmp_seq=2 ttl=238 time=129 ms
    64 bytes from gsmtp183.google.com (64.233.183.27): icmp_seq=3 ttl=238 time=126 ms

    --- gsmtp183.google.com ping statistics ---
    4 packets transmitted, 4 received, 0% packet loss, time 3003ms
    rtt min/avg/max/mdev = 126.619/129.084/131.946/2.065 ms, pipe 2

    # traceroute gsmtp183.google.com
    traceroute to gsmtp183.google.com (64.233.183.27), 30 hops max, 38 byte packets
    1 192.168.1.1 (192.168.1.1) 1.939 ms 1.778 ms 0.727 ms
    2 67-50-250-1.dsl1.chi.il.frontiernet.net (67.50.250.1) 20.953 ms 21.201 ms 19.551 ms
    3 fe-1-2-1--0.gw01.chcg.eli.net (209.210.88.85) 33.459 ms 19.149 ms 21.854 ms
    4 ge-3-1-0--0.cr01.chcg.eli.net (207.173.114.97) 21.263 ms ge-3-1-0--0.cr02.chcg.eli.net (207.173.114.237) 21.195 ms 19.195 ms
    5 ge-2-0-0--0.er01.chcg.eli.net (207.173.115.142) 19.585 ms ge-1-0-0--0.er01.chcg.eli.net (207.173.115.138) 19.455 ms ge-2-0-0--0.er01.chcg.eli.net (207.173.115.142) 19.199 ms
    6 ge-4-1-0.mpr1.ord7.us.mfnx.net (206.223.119.86) 43.284 ms 19.257 ms 21.428 ms
    7 so-1-0-0.cr2.ord2.us.above.net (64.125.30.142) 21.906 ms 52.784 ms 21.561 ms
    MPLS Label=326096 CoS=0 TTL=1 S=1
    8 so-6-0-0.cr1.dca2.us.above.net (64.125.31.45) 49.162 ms 42.913 ms 45.128 ms
    MPLS Label=422064 CoS=0 TTL=1 S=1
    9 so-6-0-0.cr1.lhr3.uk.above.net (64.125.31.185) 114.142 ms 113.783 ms 114.143 ms
    MPLS Label=421536 CoS=0 TTL=1 S=1
    10 pos1-0.mpr1.lhr1.uk.above.net (208.184.231.173) 114.537 ms 115.948 ms 124.021 ms
    11 213-152-230-99.google.net (213.152.230.99) 124.288 ms 122.115 ms 123.810 ms
    12 72.14.238.246 (72.14.238.246) 125.966 ms 124.071 ms 72.14.238.242 (72.14.238.242) 124.218 ms
    13 216.239.43.91 (216.239.43.91) 124.226 ms 124.145 ms 122.104 ms
    14 216.239.43.88 (216.239.43.88) 124.243 ms 128.203 ms 122.122 ms
    15 64.233.175.246 (64.233.175.246) 126.095 ms 126.283 ms 126.182 ms
    16 216.239.43.30 (216.239.43.30) 133.698 ms 134.171 ms 126.305 ms
    17 gsmtp183.google.com (64.233.183.27) 129.911 ms 125.938 ms 132.156 ms

    # telnet gsmtp183.google.com 25
    Trying 64.233.183.27...
    telnet: connect to address 64.233.183.27: No route to host
    telnet: Unable to connect to remote host: No route to host
    :mad: :confused: :eek:
     
  3. poteus

    poteus New Member

    this is the telnet :25 from a friend ... He doesnt have a valid hostname so he couldnt ehlo.


    250-proshadow.game-host.org Hello dsl-201-137-144-199.prod-infinitum.com.mx [201

    .137.144.199] (may be forged), pleased to meet you

    250-ENHANCEDSTATUSCODES

    250-PIPELINING

    250-8BITMIME

    250-SIZE

    250-DSN

    250-ETRN

    250-AUTH GSSAPI DIGEST-MD5 CRAM-MD5

    250-DELIVERBY

    250 HELP
    220 proshadow.game-host.org ESMTP Sendmail 8.13.4/8.13.4; Sat, 11 Feb 2006 12:46
     
  4. falko

    falko Super Moderator ISPConfig Developer

    What's in your mail log?
     
  5. poteus

    poteus New Member

  6. falko

    falko Super Moderator ISPConfig Developer

    Please post the output of
    Code:
     netstat -tap
    What's in /etc/postfix/main.cf, /etc/hosts and /etc/resolv.conf?
     
  7. poteus

    poteus New Member

    Netstat -tap

    # netstat -tap
    Active Internet connections (servers and established)
    Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name
    tcp 0 0 *:imaps *:* LISTEN 1950/xinetd
    tcp 0 0 *:32769 *:* LISTEN 1563/rpc.statd
    tcp 0 0 *: pop3s *:* LISTEN 1950/xinetd
    tcp 0 0 *:mysql *:* LISTEN 2041/mysqld
    tcp 0 0 *: pop3 *:* LISTEN 1950/xinetd
    tcp 0 0 *:imap *:* LISTEN 1950/xinetd
    tcp 0 0 *:sunrpc *:* LISTEN 1545/portmap
    tcp 0 0 *:ftp *:* LISTEN 2065/proftpd: (acce
    tcp 0 0 192.168.1.150:domain *:* LISTEN 1492/named
    tcp 0 0 proshadow.game-host.:domain *:* LISTEN 1492/named
    tcp 0 0 proshadow.game-host.org:ipp *:* LISTEN 3863/cupsd
    tcp 0 0 proshadow.game-host.or:5335 *:* LISTEN 1858/mDNSResponder
    tcp 0 0 *:smtp *:* LISTEN 2082/sendmail: acce
    tcp 0 0 proshadow.game-host.or:rndc *:* LISTEN 1492/named
    tcp 0 0 *:http *:* LISTEN 2739/httpd
    tcp 0 0 *:ssh *:* LISTEN 1941/sshd
    tcp 0 0 *:https *:* LISTEN 2739/httpd
    tcp 0 0 ::ffff:192.168.1.150:ssh ::ffff:192.168.1.101:1233 ESTABLISHED 9781/0
     
  8. poteus

    poteus New Member

    resolv.conf and sendmail.mc (I dont have postfix)

    # cat resolv.conf
    domain proshadow.game-host.org
    search 168.1.150 proshadow
    nameserver 192.168.1.150
    nameserver 127.0.0.1


    Sendmail.mc
     
  9. falko

    falko Super Moderator ISPConfig Developer

    Please change /etc/resolv.conf so that it looks as follows:
    Code:
    domain proshadow.game-host.org
    search 168.1.150 proshadow
    nameserver 145.253.2.75
    nameserver 193.174.32.18
    nameserver 194.25.0.60
    and try again.
     
  10. poteus

    poteus New Member

    new resolv.conf.

    Still doest work :(
     

Share This Page