The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Network is unreachable error

Discussion in 'E-mail Discussions' started by Datalab, Feb 7, 2017.

  1. Datalab

    Datalab Registered

    Joined:
    Dec 29, 2016
    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Minnesota
    cPanel Access Level:
    DataCenter Provider
    Hi

    i have 2 VPS machines with cpanel latest version on both.

    machine 1 send emails to machine 2 but not the opposite, i have firewall up on both and port 25 if open as i can send from both machines to gmail or hotmail and receive.

    here is the error i get when im trying to force the queue manager:

    LOG: MAIN
    cwd=/usr/local/cpanel/whostmgr/docroot 4 args: /usr/sbin/exim -v -M 1cbIiS-0001wm-Ro
    delivering 1cbIiS-0001wm-Ro
    Connecting to DOMAIN.com [IP]:25 ... failed: Network is unreachable
    LOG: MAIN
    H=DOMAIN.com [IP] Network is unreachable
    LOG: MAIN
    == user@DOMAIN.com R=dkim_lookuphost T=dkim_remote_smtp defer (101): Network is unreachable


    where: DOMAIN=the domain that has the email account and IP the ip of the server

    Any idea?
     
  2. pwhjenny

    pwhjenny Well-Known Member

    Joined:
    Aug 31, 2012
    Messages:
    138
    Likes Received:
    0
    Trophy Points:
    91
    cPanel Access Level:
    Root Administrator
    Are you able to connect server 1 from server 2 via ssh? Try pinging the server1 from server2. You can also use telnet to verify that server2 is able to connect server1's mail server. One more thing you can try is whitelist server 2's IP in server 1's firewall.
     
  3. 24x7server

    24x7server Well-Known Member

    Joined:
    Apr 17, 2013
    Messages:
    1,405
    Likes Received:
    53
    Trophy Points:
    28
    Location:
    India
    cPanel Access Level:
    Root Administrator
    Hi,

    H=DOMAIN.com [IP] Network is unreachable
    --> Are you able to get a ping response from the domain you are connecting from your server
    # ping domain.com
    # telnet domain.com 26
    # telnet domain.com 587

    Check the above command and if the connection is made or not..
     
  4. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    37,204
    Likes Received:
    1,296
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Hello,

    You can access SSH as root on "Machine 2" and run the following command:

    Code:
    telnet "machine 1 IP Address" 25
    Is the connection working as expected?

    Thank you.
     
Loading...

Share This Page