Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

Can receive but cannot send server-wide

Discussion in 'E-mail Discussion' started by Niall - Austral Connect, Apr 17, 2018.

  1. Niall - Austral Connect

    Joined:
    Apr 17, 2018
    Messages:
    6
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Sydney
    cPanel Access Level:
    Root Administrator
    I am starting a local web-services business benefiting non-profit and small business and the only thing holding me back from taking on more clients is my server, I have a temporary fix at this current time using a dedicated mail server. However, ever since I installed cPanel on my Google Cloud Platform VPC, I have been receiving the error below for all sent emails, on all domains for all accounts.
    Code:
    This message was created automatically by mail delivery software.
    
    A message that you sent could not be delivered to one or more of its
    recipients. This is a permanent error. The following address(es) failed:
    
      ***hidden***@outlook.com
        retry timeout exceeded
    Code:
    Return-path: <a@example.com.au>
    Received: from [::1] (port=44812 helo=whm1)
        by whm1.c.ausnet-199911.internal with esmtpsa (TLSv1.2:ECDHE-RSA-AES128-GCM-SHA256:128)
        (Exim 4.89_1)
        (envelope-from <a@example.com.au>)
        id 1f8LPe-0000R1-JV
        for HIDDEN@outlook.com; Tue, 17 Apr 2018 17:52:26 +1000
    Received: from hidden.nb06.nsw.asp.telstra.net
     (hidden.nb06.nsw.asp.telstra.net [11.111.111.111]) by
     webmail.example.com.au (Horde Framework) with HTTPS; Tue, 17 Apr
     2018 17:52:26 +1000
    Date: Tue, 17 Apr 2018 17:52:26 +1000
    Message-ID: <20180417175226.Horde.I3jQvIYwPQRFdzqCdcgqSsh@webmail.example.com.au>
    From: a@example.com.au
    To: HIDDEN@outlook.com
    Subject: Test
    User-Agent: Horde Application Framework 5
    Content-Type: text/plain; charset=utf-8; format=flowed; DelSp=Yes
    MIME-Version: 1.0
    Content-Disposition: inline
    
    Test
    Okay, did some googling and it suggested that account quota was reached. Nope only using 1kb of 1GB.
    Another website suggested I modify my DKIM record for my domain, however everything looked in order and matched the tutorials and guides. I didn't want to modify the record and as I am afraid that incoming mail might stop coming.

    I thought it might be my network firewall so I opened all ports in and out, and tried sending test emails to different addresses i.e. Gmail, Outlook, Yahoo etc. Nope, no luck. Alright, test internal mail exchanger between 2 different domains, yep that's all good, both sending and receiving.

    I have searched forums and googled for 3 weeks now and cannot resolve my problem. Is there something I've missed, any troubleshooting tools i should be using? Hopefully you guys can help me resolve this.
    Thanks
     
    #1 Niall - Austral Connect, Apr 17, 2018
    Last edited by a moderator: Apr 17, 2018
  2. Niall - Austral Connect

    Joined:
    Apr 17, 2018
    Messages:
    6
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Sydney
    cPanel Access Level:
    Root Administrator
    Output of /var/log/exim_mainlog
    Code:
    2018-04-17 20:04:33 1f8NTV-00019M-VF <= a@example.com.au H=(whm1) [::1]:38062 P=esmtpsa X=TLSv1.2:ECDHE-RSA-AES128-GCM-SHA256:128 CV=no A=dovecot_plain:a@example.com.au S=872 id=20180417200433.Horde.1WJCk4btl3SqBLt0N2qdFLW@webmail.example.com.au T="AAAA" for hidden@outlook.com
    2018-04-17 20:04:34 cwd=/var/spool/exim 3 args: /usr/sbin/exim -Mc 1f8NTV-00019M-VF
    2018-04-17 20:04:34 1f8NTV-00019M-VF Sender identification U=example D=example.com.au S=a@example.com.au
    2018-04-17 20:04:34 1f8NTV-00019M-VF SMTP connection outbound 1523959474 1f8NTV-00019M-VF example.com.au hidden@outlook.com
    2018-04-17 20:04:34 SMTP connection from (whm1) [::1]:38062 closed by QUIT
    2018-04-17 20:05:05 cwd=/ 2 args: /usr/sbin/exim -bpu
    2018-04-17 20:05:37 1f8NTV-00019M-VF H=outlook-com.olc.protection.outlook.com [104.47.45.33] Connection timed out
    2018-04-17 20:06:40 1f8NTV-00019M-VF H=outlook-com.olc.protection.outlook.com [104.47.46.33] Connection timed out
    2018-04-17 20:06:40 1f8NTV-00019M-VF == hidden@outlook.com R=dkim_lookuphost T=dkim_remote_smtp defer (110): Connection timed out
    2018-04-17 20:06:40 1f8NTV-00019M-VF ** hidden@outlook.com: retry timeout exceeded
    2018-04-17 20:06:40 cwd=/var/spool/exim 7 args: /usr/sbin/exim -t -oem -oi -f <> -E1f8NTV-00019M-VF
    2018-04-17 20:06:40 1f8NVY-0001HS-2s <= <> R=1f8NTV-00019M-VF U=mailnull P=local S=2168 T="Mail delivery failed: returning message to sender" for a@example.com.au
    2018-04-17 20:06:40 1f8NTV-00019M-VF Completed
    2018-04-17 20:06:40 cwd=/var/spool/exim 3 args: /usr/sbin/exim -Mc 1f8NVY-0001HS-2s
    2018-04-17 20:06:40 1f8NVY-0001HS-2s => a <a@example.com.au> R=virtual_user T=dovecot_virtual_delivery C="250 2.0.0 <a@example.com.au> 4JPCCjDH1VpEEwAA0sVuQg Saved"
    2018-04-17 20:06:40 1f8NVY-0001HS-2s Completed
    2018-04-17 20:07:43 SMTP connection from [127.0.0.1]:40508 (TCP/IP connection count = 1)
    2018-04-17 20:07:45 SMTP connection from [127.0.0.1]:40508 closed by QUIT
    2018-04-17 20:07:45 SMTP connection from [127.0.0.1]:56080 (TCP/IP connection count = 1)
    2018-04-17 20:07:45 SMTP connection from (localhost) [127.0.0.1]:56080 closed by QUIT
     
    #2 Niall - Austral Connect, Apr 17, 2018
    Last edited by a moderator: Apr 17, 2018
  3. cPanelLauren

    cPanelLauren Forums Analyst II
    Staff Member

    Joined:
    Nov 14, 2017
    Messages:
    3,524
    Likes Received:
    251
    Trophy Points:
    193
    Location:
    Houston
    cPanel Access Level:
    DataCenter Provider
    Hello,

    Based on the exim mail log output you provided it looks like your server is not able to connect to outlook.com:

    Code:
    2018-04-17 20:05:37 1f8NTV-00019M-VF H=outlook-com.olc.protection.outlook.com [104.47.45.33] Connection timed out
    2018-04-17 20:06:40 1f8NTV-00019M-VF H=outlook-com.olc.protection.outlook.com [104.47.46.33] Connection timed out
    On the server's CLI what do you get when running the host command for the outlook server? The output should be something like the following:

    Code:
    # host outlook-com.olc.protection.outlook.com
    outlook-com.olc.protection.outlook.com has address 104.47.41.33
    outlook-com.olc.protection.outlook.com has address 104.47.40.33
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  4. Niall - Austral Connect

    Joined:
    Apr 17, 2018
    Messages:
    6
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Sydney
    cPanel Access Level:
    Root Administrator
    Hi Lauren,
    Here's the command output.
    Code:
    $ host outlook-com.olc.protection.outlook.com
    outlook-com.olc.protection.outlook.com has address 104.47.44.33
    outlook-com.olc.protection.outlook.com has address 104.47.46.33
     
  5. cPanelLauren

    cPanelLauren Forums Analyst II
    Staff Member

    Joined:
    Nov 14, 2017
    Messages:
    3,524
    Likes Received:
    251
    Trophy Points:
    193
    Location:
    Houston
    cPanel Access Level:
    DataCenter Provider
    Hello, @Niall - Austral Connect

    That means you can connect to it, which is good. Does your domain have a valid PTR and SPF? I know you mentioned that you modified your DKIM already.

    To check the SPF and PTR:

    SPF:
    Code:
    dig txt domain.tld +short
    Ultimately you'd want to see something like this:

    Code:
    # dig txt domain.tld +short
    "v=spf1 +a +mx +ip4:<YourServerIPHere> ~all"
    PTR:
    Code:
    host <YourServerIPHere>
    What you'd want to see here is that the server's IP address resolves to an IP. For example we can look at google's mx records:

    Get the IP address:
    Code:
    # dig a alt2.gmail-smtp-in.l.google.com +short
    74.125.141.27
    
    
    look for the rDNS:

    Code:
    # host 74.125.141.26
    26.141.125.74.in-addr.arpa domain name pointer vl-in-f26.1e100.net.

    Thank you,
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  6. Niall - Austral Connect

    Joined:
    Apr 17, 2018
    Messages:
    6
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Sydney
    cPanel Access Level:
    Root Administrator
    Hey @cPanelLauren,
    I have a feeling it might be the PTR record, going through my DNS zone, I found that record missing. However for the sake of troubleshooting, here are my outputs.

    dig txt mydomain.com +short
    Code:
    "v=spf1 +a +mx +ip4:11.111.111.11 +include:mydomain.com ~all"
    host 11.111.111.11 (My External IP)
    Code:
    22.222.222.22.in-addr.arpa domain name pointer 22.222.222.22.bc.googleusercontent.com.
    dig a 22.222.222.22.bc.googleusercontent.com +short
    Code:
    11.111.111.11 (My External IP)
    dig a mail.mydomain.com +short
    Code:
    mydomain.com.
    11.111.111.11
     
  7. Niall - Austral Connect

    Joined:
    Apr 17, 2018
    Messages:
    6
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Sydney
    cPanel Access Level:
    Root Administrator
    Do you charge for ticket support? Also do you think it would be worthwhile creating a ticket and granting support access to resolve this?
     
  8. cPanelLauren

    cPanelLauren Forums Analyst II
    Staff Member

    Joined:
    Nov 14, 2017
    Messages:
    3,524
    Likes Received:
    251
    Trophy Points:
    193
    Location:
    Houston
    cPanel Access Level:
    DataCenter Provider
    Thank you for that output - may I ask are you using google for something that requires your ptr to resolve to:

    Code:
    22.222.222.22.in-addr.arpa domain name pointer 22.222.222.22.bc.googleusercontent.com.
    Thank you,
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  9. cPanelLauren

    cPanelLauren Forums Analyst II
    Staff Member

    Joined:
    Nov 14, 2017
    Messages:
    3,524
    Likes Received:
    251
    Trophy Points:
    193
    Location:
    Houston
    cPanel Access Level:
    DataCenter Provider
    Hi @Niall - Austral Connect

    We do not charge for support tickets please feel free to open a ticket using the link in my signature, though I do believe the issue may be related to the PTR one of our analysts should be able to tell you the definite cause after being able to access the server.

    Thank you,
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  10. Niall - Austral Connect

    Joined:
    Apr 17, 2018
    Messages:
    6
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Sydney
    cPanel Access Level:
    Root Administrator
    The only thing I have running on Google Cloud Console is my cPanel Server and the default VPC network that the server is attached to.
     
  11. cPanelLauren

    cPanelLauren Forums Analyst II
    Staff Member

    Joined:
    Nov 14, 2017
    Messages:
    3,524
    Likes Received:
    251
    Trophy Points:
    193
    Location:
    Houston
    cPanel Access Level:
    DataCenter Provider
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
Loading...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice