sdgUA

Member
Sep 22, 2011
9
0
51
cPanel Access Level
Root Administrator
We cannot send email, have next error in Mail Delivery Reports: User 0 set for local_delivery transport is on the never_users list.
This article doesn't help.
error.jpg
----------------------------------------------------------------
Our system: CENTOS 5.9 i686 standard - WHM 11.36.1 (build 5)
 
Last edited:

quanin

Well-Known Member
Aug 18, 2011
127
7
68
cPanel Access Level
Root Administrator
Forward root's email to a valid email address. Not only will that eliminate this error, but that actually keeps with standards, then. Do it via WHM, under server contacts, edit system mail preferences. Exim will never deliver mail directly to the root user (UID 0), because ideally, no one will ever have a reason to check root's email. Forwarding it to an email address you do check, then, will pretty much guarantee if something goes wrong with the server, or one of the regular maintenance tasks throws an error, you'll see it and can react to it accordingly.
 

sdgUA

Member
Sep 22, 2011
9
0
51
cPanel Access Level
Root Administrator
Thanks, storminternet and quanin, this error is a result of problem, but what the problem I don't know:confused:. I will try explain: I have two cPanels on separate servers:cPanel_1 and cPanel_2, I have copied accountTest from cPanel_1 to cPanel_2. AccountTest works after synchronisations of dns servers, but if I sent email from account(from any account) of cPanel_1 to accountTest of cPanel_2 I have this error:

"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](account's domain of cPanel_1)
(ultimately generated from [email protected](account's domain of cPanel_2)
retry timeout exceeded
"


I have compared exim configuration on cPanel_1 and cPanel_2 - they are identical.

From exim_mainlog:

Code:
2013-04-26 09:54:37 SMTP connection from [server's ip of cPanel_1]:37261 (TCP/IP connection count = 1)
2013-04-26 09:54:37 H=([192.168.1.206]) [server's ip of cPanel_1]:37261 Warning: Sender rate 4.8 / 1h
2013-04-26 09:54:37 1UVcYH-0007QT-SA <= [email protected](account's domain of cPanel_1) H=([192.168.1.206]) [server's ip of cPanel_1]:37261 P=esmtpsa X=TLSv1:DHE-RSA-AES256-SHA:256 A=dovecot_plain:[email protected](account's domain of cPanel_1) S=837 [email protected](account's domain of cPanel_1) T="Re: mail #6789" for [email protected](account's domain of cPanel_2)
2013-04-26 09:54:37 SMTP connection from ([192.168.1.206]) [server's ip of cPanel_1]:37261 closed by QUIT
2013-04-26 09:54:37 cwd=/var/spool/exim 3 args: /usr/sbin/exim -Mc 1UVcYH-0007QT-SA

//some strange things are happening after this and the email redirects to the root user :confused:

2013-04-26 09:54:37 1UVcYH-0007QT-SA User 0 set for local_delivery transport is on the never_users list
2013-04-26 09:54:37 1UVcYH-0007QT-SA == [email protected](server's domain of cPanel_1) <[email protected](account's domain of cPanel_2)> R=localuser T=local_delivery defer (-29): User 0 set for local_delivery transport is on the never_users list
2013-04-26 09:54:37 1UVcYH-0007QT-SA ** [email protected](server's domain of cPanel_1) <[email protected](server's domain of cPanel_1)>: retry timeout exceeded
2013-04-26 09:54:37 cwd=/var/spool/exim 7 args: /usr/sbin/exim -t -oem -oi -f <> -E1UVcYH-0007QT-SA
2013-04-26 09:54:37 1UVcYH-0007QZ-UI <= <> R=1UVcYH-0007QT-SA U=mailnull P=local S=1713 T="Mail delivery failed: returning message to sender" for [email protected](account's domain of cPanel_1)
2013-04-26 09:54:37 1UVcYH-0007QT-SA Completed
2013-04-26 09:54:37 cwd=/var/spool/exim 3 args: /usr/sbin/exim -Mc 1UVcYH-0007QZ-UI
2013-04-26 09:54:37 1UVcYH-0007QZ-UI => support <[email protected](account's domain of cPanel_1)> R=virtual_user T=virtual_userdelivery
2013-04-26 09:54:37 1UVcYH-0007QZ-UI Completed
errorExim.jpg
 
Last edited:

sdgUA

Member
Sep 22, 2011
9
0
51
cPanel Access Level
Root Administrator
192.168.1.206 - is real local ip, emails sent from the lan, all other real data(IPs, emails, domains) from exim_mainlog I have renamed.
 

quanin

Well-Known Member
Aug 18, 2011
127
7
68
cPanel Access Level
Root Administrator
If I'm following this right, here's what I'm seeing.
* mail comes from [email protected] one, to [email protected]
* [email protected] wants to forward that address to [email protected]

If that's accurate, then you've got a configuration somewhere on server2 that's not doing what it should. Check for any forwarders, filters etc around [email protected] Or, like I said, forward root's email address to somewhere valid so you can see from the headers what it's trying to do, but yeah it sounds like the specific address might be acting up wrong. Can you mail any other address on server2?
 

sdgUA

Member
Sep 22, 2011
9
0
51
cPanel Access Level
Root Administrator
Not sure that you understand me: we have two cPanel: cPanel-1 and cPanel-2.
1.cPanel-2 have now 2 accounts, each of them have 10 mail accounts - all this email accounts can send emails to any email accounts of cPanel-1;
2.cPanel-1 have about 20 accounts, each of them have 15 mail accounts - all this email accounts can't send emails to email accounts of cPanel-2:
2.1-if don't set forwarding email for root's mail, I have next situation:

Send email from email account of cPanel-1([email protected]) to email account of cPanel-2([email protected]):

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]
    (ultimately generated from [email protected])
    retry timeout exceeded

------ This is a copy of the message, including all the headers. ------

Return-path: <[email protected]>
Received: from [real ip] (port=59106 helo=[127.0.0.1])
	by cPanel-1.domain-CP1.com with esmtps (TLSv1:DHE-RSA-AES256-SHA:256)
	(Exim 4.80)
	(envelope-from <[email protected]>)
	id 1UX4TL-0004vE-2p
	for [email protected]; Tue, 30 Apr 2013 09:55:31 +0300
Message-ID: <[email protected]>
Date: Tue, 30 Apr 2013 09:55:17 +0300
From: support domain-CP1 <[email protected]>
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:17.0) Gecko/20130328 Thunderbird/17.0.5
MIME-Version: 1.0
To: "[email protected]" <[email protected]>
Subject: mail from cPanel-1 to cPanel-2
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
This email immediately returns to [email protected].

2.2-if I set forwarding email for root's mail ([email protected]), I have next situation:
this email immediately forwarded to [email protected]
Code:
Return-path: <[email protected]>
Envelope-to: [email protected]
Delivery-date: Tue, 30 Apr 2013 10:24:46 +0300
Received: from [real ip] (port=59520 helo=[127.0.0.1])
	by cPanel-1.domain-CP1.com with esmtps (TLSv1:DHE-RSA-AES256-SHA:256)
	(Exim 4.80)
	(envelope-from <[email protected]>)
	id 1UX4ve-00051d-RV
	for [email protected]; Tue, 30 Apr 2013 10:24:46 +0300
Message-ID: <[email protected]>
Date: Tue, 30 Apr 2013 10:24:25 +0300
From: support domain-CP1 <[email protected]>
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:17.0) Gecko/20130328 Thunderbird/17.0.5
MIME-Version: 1.0
To: "[email protected]" <[email protected]>
Subject: mail from cPanel-1 to cPanel-2
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
 
Last edited:

quanin

Well-Known Member
Aug 18, 2011
127
7
68
cPanel Access Level
Root Administrator
Can you, from any other email account on any other server, send email to any address on CPanel2 or does it do the same thing? Also have you forwarded the root user to a valid email address? The second one is because we can then inspect the message headers to possibly determine exactly what in exim's current config is telling it to try and send everything to the root user. It sounds like you've got some kind of global system filter in place to do so, but without getting a clearer understanding of what's happening, that's just an approximate guess.
 

quanin

Well-Known Member
Aug 18, 2011
127
7
68
cPanel Access Level
Root Administrator
Alright. Here's the thing. Without seeing exactly what exim's doing and when, it's going to be difficult to pin down. My advice to you would be to open a support ticket if you haven't already, and maybe bump that ticket if you have. They'll be able to access your servers and determine exactly what's gone amiss--and it's more secure than handing out the info on a forum. Unfortunately, I don't think anyone but CPanel support's going to be able to fix this one for you without being able to trace exactly where the issue is.
 

sdgUA

Member
Sep 22, 2011
9
0
51
cPanel Access Level
Root Administrator
Problem solved, thanks for cPanel support:) Issue was in next: record of domain-CP2.com was in /etc/localdomain file of cPanel-1 server, as a result emails forwarded to root user of cPanel-1 server.