Admin emails not coming through

GwenTheHen

Member
Oct 13, 2015
11
0
1
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:

[email protected]
(generated from [email protected])
host mail.domain.co.uk [79.170.xx.xxx]
SMTP error from remote mail server after RCPT TO:<[email protected]>:
550-Verification failed for <[email protected]>
550-Unrouteable address
550 Sender verify failed



Reporting-MTA: dns; server.example.co.uk

Action: failed
Final-Recipient: rfc822;[email protected]
Status: 5.0.0
Remote-MTA: dns; mail.domain.co.uk
Diagnostic-Code: smtp; 550-Verification failed for <[email protected]>
550-Unrouteable address
550 Sender verify failed



Return-path: <[email protected]>
Received: from root by server.example.co.uk with local (Exim 4.87)
(envelope-from <[email protected]>)
id 1b5iPB-0004Ry-Kc
for [email protected]; Thu, 26 May 2016 00:44:50 +0100
From: [email protected] (Cron Daemon)
To: [email protected]
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: <[email protected]>
Date: Thu, 26 May 2016 00:40:06 +0100
X-Exim-DSN-Information: Due to administrative limits only headers are returned
Can you help?
 
Last edited by a moderator:

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,880
2,268
463
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.
 

GwenTheHen

Member
Oct 13, 2015
11
0
1
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.
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,880
2,268
463
However, I checked with the host of that server and they couldn't find any trace of the incoming email in the logs.
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.
 

GwenTheHen

Member
Oct 13, 2015
11
0
1
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 => [email protected] <[email protected]> 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 ** [email protected] <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:<[email protected]>: 550-Verification failed for <root@server>\n550-Unrouteable address\n550 Sender verify failed

2016-05-26 00:44:51 1b5iPB-0004Ry-Kc Completed
 
Last edited by a moderator:

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,880
2,268
463
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.
 

GwenTheHen

Member
Oct 13, 2015
11
0
1
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?
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,880
2,268
463
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?
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.
 

GwenTheHen

Member
Oct 13, 2015
11
0
1
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?
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,880
2,268
463
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.