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.

Exim defers emails

Discussion in 'E-mail Discussions' started by sdgUA, Apr 24, 2013.

  1. sdgUA

    sdgUA Member

    Joined:
    Sep 22, 2011
    Messages:
    9
    Likes Received:
    0
    Trophy Points:
    1
    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)
     
    #1 sdgUA, Apr 24, 2013
    Last edited: Apr 24, 2013
  2. storminternet

    storminternet Well-Known Member

    Joined:
    Nov 2, 2011
    Messages:
    462
    Likes Received:
    0
    Trophy Points:
    16
    cPanel Access Level:
    Root Administrator
    user 0 is root user to which you can not send the emails. Your error logs are not descriptive so I can not help you more I am afraid.
     
  3. quanin

    quanin Well-Known Member

    Joined:
    Aug 18, 2011
    Messages:
    84
    Likes Received:
    0
    Trophy Points:
    6
    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.
     
  4. sdgUA

    sdgUA Member

    Joined:
    Sep 22, 2011
    Messages:
    9
    Likes Received:
    0
    Trophy Points:
    1
    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:

    root@(account's domain of cPanel_1)
    (ultimately generated from username@(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 <= supportCPanel1@(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:supportCPanel1@(account's domain of cPanel_1) S=837 id=517A249A.2010703@(account's domain of cPanel_1) T="Re: mail #6789" for supportCPanel2@(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 == root@(server's domain of cPanel_1) <supportCPanel2@(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 ** root@(server's domain of cPanel_1) <postmaster@(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 supportCPanel1@(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 <supportCPanel1@(account's domain of cPanel_1)> R=virtual_user T=virtual_userdelivery
    2013-04-26 09:54:37 1UVcYH-0007QZ-UI Completed
    errorExim.jpg
     
    #4 sdgUA, Apr 26, 2013
    Last edited: Apr 26, 2013
  5. Infopro

    Infopro cPanel Sr. Product Evangelist
    Staff Member

    Joined:
    May 20, 2003
    Messages:
    14,446
    Likes Received:
    195
    Trophy Points:
    63
    Location:
    Pennsylvania
    cPanel Access Level:
    Root Administrator
    Twitter:
    That's not a valid IP address is it?
     
  6. sdgUA

    sdgUA Member

    Joined:
    Sep 22, 2011
    Messages:
    9
    Likes Received:
    0
    Trophy Points:
    1
    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.
     
  7. sdgUA

    sdgUA Member

    Joined:
    Sep 22, 2011
    Messages:
    9
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Root Administrator
    This case caused serious problems for my customer, how can I speed up the technical support of my issue? I can create account on both cPanels for support.
     
  8. Infopro

    Infopro cPanel Sr. Product Evangelist
    Staff Member

    Joined:
    May 20, 2003
    Messages:
    14,446
    Likes Received:
    195
    Trophy Points:
    63
    Location:
    Pennsylvania
    cPanel Access Level:
    Root Administrator
    Twitter:
    Well, if you've got a valid IP on a properly licensed server you might consider opening a ticket up to cPanel Technical Support. Click the icon, top right corner of your WHM titled, Support. On it there's a link titled Contact cPanel.
     
  9. quanin

    quanin Well-Known Member

    Joined:
    Aug 18, 2011
    Messages:
    84
    Likes Received:
    0
    Trophy Points:
    6
    cPanel Access Level:
    Root Administrator
    If I'm following this right, here's what I'm seeing.
    * mail comes from address@server one, to someone@server2
    * someone@server2 wants to forward that address to root@server1

    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 someone@server2. 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?
     
  10. sdgUA

    sdgUA Member

    Joined:
    Sep 22, 2011
    Messages:
    9
    Likes Received:
    0
    Trophy Points:
    1
    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(support@domain-CP1.com) to email account of cPanel-2(support@domain-CP2.com):

    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:
    
      root@cPanel-1.domain-CP1.com
        (ultimately generated from support@domain-CP2.com)
        retry timeout exceeded
    
    ------ This is a copy of the message, including all the headers. ------
    
    Return-path: <support@domain-CP1.com>
    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 <support@domain-CP1.com>)
    	id 1UX4TL-0004vE-2p
    	for support@domain-CP2.com; Tue, 30 Apr 2013 09:55:31 +0300
    Message-ID: <517F6AD5.2040804@domain-CP1.com>
    Date: Tue, 30 Apr 2013 09:55:17 +0300
    From: support domain-CP1 <support@domain-CP1.com>
    User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:17.0) Gecko/20130328 Thunderbird/17.0.5
    MIME-Version: 1.0
    To: "support@domain-CP2.com" <support@domain-CP2.com>
    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 support@domain-CP1.com.

    2.2-if I set forwarding email for root's mail (cpanel@domain-CP1.com), I have next situation:
    this email immediately forwarded to cpanel@domain-CP1.com
    Code:
    Return-path: <support@domain-CP1.com>
    Envelope-to: support@domain-CP2.com
    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 <support@domain-CP1.com>)
    	id 1UX4ve-00051d-RV
    	for support@domain-CP2.com; Tue, 30 Apr 2013 10:24:46 +0300
    Message-ID: <517F71A9.6090808@domain-CP1.com>
    Date: Tue, 30 Apr 2013 10:24:25 +0300
    From: support domain-CP1 <support@domain-CP1.com>
    User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:17.0) Gecko/20130328 Thunderbird/17.0.5
    MIME-Version: 1.0
    To: "support@domain-CP2.com" <support@domain-CP2.com>
    Subject: mail from cPanel-1 to cPanel-2
    Content-Type: text/plain; charset=UTF-8; format=flowed
    Content-Transfer-Encoding: 8bit
    
     
    #10 sdgUA, Apr 30, 2013
    Last edited: Apr 30, 2013
  11. quanin

    quanin Well-Known Member

    Joined:
    Aug 18, 2011
    Messages:
    84
    Likes Received:
    0
    Trophy Points:
    6
    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.
     
  12. sdgUA

    sdgUA Member

    Joined:
    Sep 22, 2011
    Messages:
    9
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Root Administrator
    Yes, I can.
    Yes, in case 2.2, of my previous post, I set cpanel@domain-CP1.com email address for root user.
     
  13. quanin

    quanin Well-Known Member

    Joined:
    Aug 18, 2011
    Messages:
    84
    Likes Received:
    0
    Trophy Points:
    6
    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.
     
  14. cPanelJared

    cPanelJared Technical Analyst
    Staff Member

    Joined:
    Feb 25, 2010
    Messages:
    1,842
    Likes Received:
    18
    Trophy Points:
    38
    Location:
    Houston, TX
    cPanel Access Level:
    Root Administrator
    There is no charge to submit a ticket, and the server's log-in credentials are handled securely.
     
  15. sdgUA

    sdgUA Member

    Joined:
    Sep 22, 2011
    Messages:
    9
    Likes Received:
    0
    Trophy Points:
    1
    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.
     
Loading...

Share This Page