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.

Admin emails not coming through

Discussion in 'E-mail Discussions' started by GwenTheHen, May 26, 2016.

  1. GwenTheHen

    GwenTheHen Member

    Joined:
    Oct 13, 2015
    Messages:
    11
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    UK
    cPanel Access Level:
    Reseller Owner
    We have several cPanel servers running, and most seem fine. However, two of them don't seem to be able to send any server emails - for example, confirmation that the daily backups have run correctly. I do however get a bounce report like this:

    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:
    
    webmaster@domain.co.uk
    (generated from root@server.example.co.uk)
    host mail.domain.co.uk [79.170.xx.xxx]
    SMTP error from remote mail server after RCPT TO:<webmaster@domain.co.uk>:
    550-Verification failed for <root@server.example.co.uk>
    550-Unrouteable address
    550 Sender verify failed
    
    
    
    Reporting-MTA: dns; server.example.co.uk
    
    Action: failed
    Final-Recipient: rfc822;webmaster@domain.co.uk
    Status: 5.0.0
    Remote-MTA: dns; mail.domain.co.uk
    Diagnostic-Code: smtp; 550-Verification failed for <root@server.example.co.uk>
    550-Unrouteable address
    550 Sender verify failed
    
    
    
    Return-path: <root@server.example.co.uk>
    Received: from root by server.example.co.uk with local (Exim 4.87)
    (envelope-from <root@server.example.co.uk>)
    id 1b5iPB-0004Ry-Kc
    for root@server.example.co.uk; Thu, 26 May 2016 00:44:50 +0100
    From: root@server.example.co.uk (Cron Daemon)
    To: root@server.example.co.uk
    Subject: Cron <root@server> /usr/local/cpanel/scripts/upcp --cron
    Content-Type: text/plain; charset=UTF-8
    Auto-Submitted: auto-generated
    X-Cron-Env: <LANG=en_GB.UTF-8>
    X-Cron-Env: <SHELL=/bin/sh>
    X-Cron-Env: <HOME=/root>
    X-Cron-Env: <PATH=/usr/bin:/bin>
    X-Cron-Env: <LOGNAME=root>
    X-Cron-Env: <USER=root>
    Message-Id: <E1b5iPB-0004Ry-Kc@server.example.co.uk>
    Date: Thu, 26 May 2016 00:40:06 +0100
    X-Exim-DSN-Information: Due to administrative limits only headers are returned
    
    Can you help?
     
    #1 GwenTheHen, May 26, 2016
    Last edited by a moderator: May 26, 2016
  2. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,854
    Likes Received:
    676
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    Hello,

    Are the notifications sent out to a local email address, or is it sent out to an email address hosted on a remote server? If to a remote mail server, do you have root access to that remote mail server?

    Thank you.
     
  3. GwenTheHen

    GwenTheHen Member

    Joined:
    Oct 13, 2015
    Messages:
    11
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    UK
    cPanel Access Level:
    Reseller Owner
    Hi,

    Thanks for the quick response. They are going to a remote server, but we don't have root access to that unfortunately. However, I checked with the host of that server and they couldn't find any trace of the incoming email in the logs.
     
  4. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,854
    Likes Received:
    676
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    Hello,

    Search for the message ID in /var/log/exim_mainlog to see if it was sent out:

    Code:
    exigrep MSGID /var/log/exim_mainlog
    Thank you.
     
  5. GwenTheHen

    GwenTheHen Member

    Joined:
    Oct 13, 2015
    Messages:
    11
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    UK
    cPanel Access Level:
    Reseller Owner
    EDIT: Sorry, it did work. Here's the results:

    Code:
    2016-05-26 00:44:50 cwd=/var/spool/exim 4 args: /usr/sbin/exim -odi -Mc 1b5iPB-0004Ry-Kc
    
    2016-05-26 00:44:51 cwd=/var/spool/exim 8 args: /usr/sbin/exim -odi -t -oem -oi -f <> -E1b5iPB-0004Ry-Kc
    
    2016-05-26 00:44:51 1b5iTr-0006Sp-27 <= <> R=1b5iPB-0004Ry-Kc U=mailnull P=local S=2681 T="Mail delivery failed: returning message to sender" for root@server
    
    2016-05-26 00:44:51 1b5iTr-0006Sp-27 [79.170.40.164] SSL verify error: certificate name mismatch: "/OU=Domain Control Validated/CN=*.domain.co.uk"
    
    2016-05-26 00:44:51 1b5iTr-0006Sp-27 => webmaster@example.co.uk <root@server.domain.co.uk> R=dkim_lookuphost T=dkim_remote_smtp H=mail.123.co.uk [79.170.40.164] X=TLSv1.2:DHE-RSA-AES256-SHA:256 CV=no C="250 OK id=1b5iTr-0005Dp-Az"
    
    2016-05-26 00:44:51 1b5iTr-0006Sp-27 Completed
    
    2016-05-26 00:44:50 1b5iPB-0004Ry-Kc <= root@server U=root P=local S=365875 T="Cron <root@server> /usr/local/cpanel/scripts/upcp --cron" for root
    
    2016-05-26 00:44:51 1b5iPB-0004Ry-Kc [79.170.40.164] SSL verify error: certificate name mismatch: "/OU=Domain Control Validated/CN=*.domain.uk"
    
    2016-05-26 00:44:51 1b5iPB-0004Ry-Kc ** webmaster@example.co.uk <root@server> R=lookuphost T=remote_smtp H=mail.domain.co.uk [79.170.40.164] X=TLSv1.2:DHE-RSA-AES256-SHA:256 CV=no: SMTP error from remote mail server after RCPT TO:<webmaster@example.co.uk>: 550-Verification failed for <root@server>\n550-Unrouteable address\n550 Sender verify failed
    
    2016-05-26 00:44:51 1b5iPB-0004Ry-Kc Completed
     
    #5 GwenTheHen, May 26, 2016
    Last edited by a moderator: Jun 1, 2016
  6. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,854
    Likes Received:
    676
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    I suggest sending the notification to a local email address first, and then setting up a filter that forwards or pipes the message to the remote mail server. This should ensure the remote server accepts the message.

    Thank you.
     
  7. GwenTheHen

    GwenTheHen Member

    Joined:
    Oct 13, 2015
    Messages:
    11
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    UK
    cPanel Access Level:
    Reseller Owner
    Hello,

    Thanks for the advice, I have set this up so hopefully tomorrow morning I'll see if it has worked. However, I believe this is a wider issue with the server, as my client doesn't receive emails from the website, and they have to be routed from an external address too. I would like to try to fix the root cause of this problem if possible. Do you have any ideas?

    EDIT: I also just realised - the MX records for the domain in question don't point to this server, so I'm not sure if routing to a local email address on the server will work?
     
  8. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,854
    Likes Received:
    676
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    Check to ensure the domain name is configured with the "Remote Mail Exchanger" option via "WHM >> Edit DNS Zone" if email for the domain name is handled remotely.

    Thank you.
     
  9. GwenTheHen

    GwenTheHen Member

    Joined:
    Oct 13, 2015
    Messages:
    11
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    UK
    cPanel Access Level:
    Reseller Owner
    OK, I've done that - thanks for the tip. I'll let you know how I get on.
     
  10. GwenTheHen

    GwenTheHen Member

    Joined:
    Oct 13, 2015
    Messages:
    11
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    UK
    cPanel Access Level:
    Reseller Owner
    Hello,

    I've done this but I'm still not getting any emails through, just the bounce emails. I'm a bit worried that I could miss out on any urgent server notifications. Is there anything else I can try in order to resolve this?
     
  11. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,854
    Likes Received:
    676
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    Could you open a support ticket using the link in my signature so we can take a closer look? You can post the ticket number here so we can update this thread with the outcome.

    Thank you.
     
Loading...

Share This Page