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.

cPanel Mail Delivery failed

Discussion in 'E-mail Discussions' started by tomtom901, Dec 15, 2010.

  1. tomtom901

    tomtom901 Member

    Joined:
    Dec 15, 2010
    Messages:
    6
    Likes Received:
    0
    Trophy Points:
    1
    Hi All,

    A client of mine is using AWBS for his webhosting mangement. The mails that come forth out of this panel are not being recieved by the clients. Instead, my client gets an automated email which mentions Mail delivery failed: returning message to sender.

    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:
    
      reciepent
        retry timeout exceeded
    
    ------ This is a copy of the message, including all the headers. ------
    
    Return-path: <user>
    Received: from localhost ([127.0.0.1] helo=www.hostservice.nl)
    	by server with esmtpa (Exim 4.69)
    	(envelope-from <user>)
    	id 1PR98q-0000rR-34
    	for domain; Fri, 10 Dec 2010 15:00:32 -0500
    Date: Fri, 10 Dec 2010 15:00:31 EST
    Subject: Subject
    To: Client
    From: admin@domain
    Reply-To: admin@domain
    Content-type: text/plain; charset=iso-8859-1
    X-Priority: 3
    X-MSMail-Priority: Normal
    X-MimeOLE: AWBS Mailer v1.0
    X-Mailer: AWBS Mailer v1.2
    Content-transfer-encoding: 7bit
    MIME-Version: 1.0
    
    I've already rebuild Exim and disabled Spamassasin. /var/log/maillog does not show anything interesting. What could I be missing. I am more of a DA guy :)

    Thanks!
     
  2. mtindor

    mtindor Well-Known Member

    Joined:
    Sep 14, 2004
    Messages:
    1,281
    Likes Received:
    37
    Trophy Points:
    48
    Location:
    inside a catfish
    cPanel Access Level:
    Root Administrator
    That message you quoted gives zero help.

    /var/log/exim_mainlog and /var/log/exim_rejectlog will tell the story. You need to look there in detail for the reason for the mail not being delivered.

    grep 1PR98q-0000rR-34 /var/log/exim_mainlog
    grep 1PR98q-0000rR-34 /var/log/exim_rejectlog

    If your /var/log/exim_mainlog has been log-cycled since the 10th, you'll need to look in /var/log/exim_mainlog.1 or /var/log/exim_mainlog.1.gz

    Mike
     
  3. tomtom901

    tomtom901 Member

    Joined:
    Dec 15, 2010
    Messages:
    6
    Likes Received:
    0
    Trophy Points:
    1
    This shows the following:

    Code:
    [root@web01 ~]#grep 1PR98q-0000rR-34 /var/log/exim_mainlog
    2010-12-12 04:02:07 1PR98q-0000rR-34 == info@domain.com R=lookuphost T=remote_smtp                                                                                         defer (-53): retry time not reached for any host
    2010-12-12 04:02:08 1PR98q-0000rR-34 == info@domain.com R=lookuphost T=remote_smtp                                                                                         defer (-53): retry time not reached for any host
    2010-12-12 04:02:08 1PR98q-0000rR-34 == info@domain.com R=lookuphost T=remote_smtp                                                                                         defer (-53): retry time not reached for any host
    2010-12-12 05:02:12 1PR98q-0000rR-34 == info@domain.com R=lookuphost T=remote_smtp                                                                                         defer (-53): retry time not reached for any host
    2010-12-12 06:02:08 1PR98q-0000rR-34 == info@domain.com R=lookuphost T=remote_smtp                                                                                         defer (-53): retry time not reached for any host
    2010-12-12 07:02:15 1PR98q-0000rR-34 == info@domain.com R=lookuphost T=remote_smtp                                                                                         defer (-53): retry time not reached for any host
    2010-12-12 08:02:08 1PR98q-0000rR-34 == info@domain.com R=lookuphost T=remote_smtp                                                                                         defer (-53): retry time not reached for any host
    2010-12-12 09:02:08 1PR98q-0000rR-34 == info@domain.com R=lookuphost T=remote_smtp                                                                                         defer (-53): retry time not reached for any host
    2010-12-12 10:02:08 1PR98q-0000rR-34 == info@domain.com R=lookuphost T=remote_smtp                                                                                         defer (-53): retry time not reached for any host
    2010-12-12 11:02:07 1PR98q-0000rR-34 == info@domain.com R=lookuphost T=remote_smtp                                                                                         defer (-53): retry time not reached for any host
    2010-12-12 12:05:17 1PR98q-0000rR-34 == info@domain.com R=lookuphost T=remote_smtp                                                                                         defer (-53): retry time not reached for any host
    2010-12-12 13:02:08 1PR98q-0000rR-34 == info@domain.com R=lookuphost T=remote_smtp                                                                                         defer (-53): retry time not reached for any host
    2010-12-12 14:02:07 1PR98q-0000rR-34 == info@domain.com R=lookuphost T=remote_smtp                                                                                         defer (-53): retry time not reached for any host
    2010-12-12 15:02:07 1PR98q-0000rR-34 == info@domain.com R=lookuphost T=remote_smtp                                                                                         defer (-53): retry time not reached for any host
    2010-12-12 16:02:07 1PR98q-0000rR-34 == info@domain.com R=lookuphost T=remote_smtp                                                                                         defer (-53): retry time not reached for any host
    2010-12-12 17:02:07 1PR98q-0000rR-34 == info@domain.com R=lookuphost T=remote_smtp                                                                                         defer (-53): retry time not reached for any host
    2010-12-12 18:02:06 1PR98q-0000rR-34 == info@domain.com R=lookuphost T=remote_smtp                                                                                         defer (-53): retry time not reached for any host
    2010-12-12 19:02:06 1PR98q-0000rR-34 == info@domain.com R=lookuphost T=remote_smtp                                                                                         defer (-53): retry time not reached for any host
    2010-12-12 20:02:07 1PR98q-0000rR-34 == info@domain.com R=lookuphost T=remote_smtp                                                                                         defer (-53): retry time not reached for any host
    2010-12-12 21:05:18 1PR98q-0000rR-34 == info@domain.com R=lookuphost T=remote_smtp                                                                                         defer (-53): retry time not reached for any host
    2010-12-12 22:02:08 1PR98q-0000rR-34 == info@domain.com R=lookuphost T=remote_smtp                                                                                         defer (-53): retry time not reached for any host
    2010-12-12 23:02:07 1PR98q-0000rR-34 == info@domain.com R=lookuphost T=remote_smtp                                                                                         defer (-53): retry time not reached for any host
    2010-12-13 00:02:07 1PR98q-0000rR-34 == info@domain.com R=lookuphost T=remote_smtp                                                                                         defer (-53): retry time not reached for any host
    2010-12-13 01:02:05 1PR98q-0000rR-34 == info@domain.com R=lookuphost T=remote_smtp                                                                                         defer (-53): retry time not reached for any host
    2010-12-13 02:05:15 1PR98q-0000rR-34 == info@domain.com R=lookuphost T=remote_smtp                                                                                         defer (-53): retry time not reached for any host
    2010-12-13 03:05:20 1PR98q-0000rR-34 == info@domain.com R=lookuphost T=remote_smtp                                                                                         defer (-53): retry time not reached for any host
    2010-12-13 04:02:13 1PR98q-0000rR-34 == info@domain.com R=lookuphost T=remote_smtp                                                                                         defer (-53): retry time not reached for any host
    2010-12-13 05:08:37 1PR98q-0000rR-34 == info@domain.com R=lookuphost T=remote_smtp                                                                                         defer (-53): retry time not reached for any host
    2010-12-13 06:02:05 1PR98q-0000rR-34 == info@domain.com R=lookuphost T=remote_smtp                                                                                         defer (-53): retry time not reached for any host
    2010-12-13 07:05:16 1PR98q-0000rR-34 == info@domain.com R=lookuphost T=remote_smtp                                                                                         defer (-53): retry time not reached for any host
    2010-12-13 08:02:05 1PR98q-0000rR-34 == info@domain.com R=lookuphost T=remote_smtp                                                                                         defer (-53): retry time not reached for any host
    2010-12-13 10:00:17 1PR98q-0000rR-34 == info@domain.com R=lookuphost T=remote_smtp                                                                                         defer (-53): retry time not reached for any host
    2010-12-13 11:00:18 1PR98q-0000rR-34 == info@domain.com R=lookuphost T=remote_smtp                                                                                         defer (-53): retry time not reached for any host
    2010-12-13 12:00:17 1PR98q-0000rR-34 == info@domain.com R=lookuphost T=remote_smtp                                                                                         defer (-53): retry time not reached for any host
    2010-12-13 13:00:16 1PR98q-0000rR-34 == info@domain.com R=lookuphost T=remote_smtp                                                                                         defer (-53): retry time not reached for any host
    2010-12-13 14:06:42 1PR98q-0000rR-34 == info@domain.com R=lookuphost T=remote_smtp                                                                                         defer (-53): retry time not reached for any host
    2010-12-13 15:00:15 1PR98q-0000rR-34 == info@domain.com R=lookuphost T=remote_smtp                                                                                         defer (-53): retry time not reached for any host
    2010-12-13 16:00:17 1PR98q-0000rR-34 == info@domain.com R=lookuphost T=remote_smtp                                                                                         defer (-53): retry time not reached for any host
    2010-12-13 17:00:18 1PR98q-0000rR-34 == info@domain.com R=lookuphost T=remote_smtp                                                                                         defer (-53): retry time not reached for any host
    2010-12-13 18:00:16 1PR98q-0000rR-34 == info@domain.com R=lookuphost T=remote_smtp                                                                                         defer (-53): retry time not reached for any host
    2010-12-13 19:00:16 1PR98q-0000rR-34 == info@domain.com R=lookuphost T=remote_smtp                                                                                         defer (-53): retry time not reached for any host
    2010-12-13 20:00:14 1PR98q-0000rR-34 == info@domain.com R=lookuphost T=remote_smtp                                                                                         defer (-53): retry time not reached for any host
    2010-12-13 21:00:14 1PR98q-0000rR-34 == info@domain.com R=lookuphost T=remote_smtp                                                                                         defer (-53): retry time not reached for any host
    2010-12-13 22:00:16 1PR98q-0000rR-34 == info@domain.com R=lookuphost T=remote_smtp                                                                                         defer (-53): retry time not reached for any host
    2010-12-13 23:03:39 1PR98q-0000rR-34 == info@domain.com R=lookuphost T=remote_smtp                                                                                         defer (-53): retry time not reached for any host
    2010-12-14 00:00:24 1PR98q-0000rR-34 == info@domain.com R=lookuphost T=remote_smtp                                                                                         defer (-53): retry time not reached for any host
    2010-12-14 01:00:14 1PR98q-0000rR-34 == info@domain.com R=lookuphost T=remote_smtp                                                                                         defer (-53): retry time not reached for any host
    2010-12-14 02:00:15 1PR98q-0000rR-34 == info@domain.com R=lookuphost T=remote_smtp                                                                                         defer (-53): retry time not reached for any host
    2010-12-14 02:49:23 1PR98q-0000rR-34 == info@domain.com R=lookuphost T=remote_smtp                                                                                         defer (-53): retry time not reached for any host
    2010-12-14 03:49:18 1PR98q-0000rR-34 == info@domain.com R=lookuphost T=remote_smtp                                                                                         defer (-53): retry time not reached for any host
    2010-12-14 04:52:28 1PR98q-0000rR-34 == info@domain.com R=lookuphost T=remote_smtp                                                                                         defer (-53): retry time not reached for any host
    2010-12-14 05:49:18 1PR98q-0000rR-34 == info@domain.com R=lookuphost T=remote_smtp                                                                                         defer (-53): retry time not reached for any host
    2010-12-14 06:49:18 1PR98q-0000rR-34 == info@domain.com R=lookuphost T=remote_smtp                                                                                         defer (-53): retry time not reached for any host
    2010-12-14 07:55:38 1PR98q-0000rR-34 == info@domain.com R=lookuphost T=remote_smtp                                                                                         defer (-53): retry time not reached for any host
    2010-12-14 08:52:27 1PR98q-0000rR-34 == info@domain.com R=lookuphost T=remote_smtp                                                                                         defer (-53): retry time not reached for any host
    2010-12-14 09:52:28 1PR98q-0000rR-34 == info@domain.com R=lookuphost T=remote_smtp                                                                                         defer (-53): retry time not reached for any host
    2010-12-14 10:49:18 1PR98q-0000rR-34 == info@domain.com R=lookuphost T=remote_smtp                                                                                         defer (-53): retry time not reached for any host
    2010-12-14 11:49:17 1PR98q-0000rR-34 == info@domain.com R=lookuphost T=remote_smtp                                                                                         defer (-53): retry time not reached for any host
    2010-12-14 12:52:29 1PR98q-0000rR-34 Connection timed o                                                                                        ut
    2010-12-14 12:52:30 1PR98q-0000rR-34 == info@domain.com R=lookuphost T=remote_smtp                                                                                         defer (110): Connection timed out
    2010-12-14 12:52:30 1PSZ38-00014v-39 <= <> R=1PR98q-0000rR-34 U=mailnull P=local                                                                                         S=1158
    2010-12-14 13:49:17 1PR98q-0000rR-34 == info@domain.com R=lookuphost T=remote_smtp                                                                                         defer (-53): retry time not reached for any host
    2010-12-14 14:49:17 1PR98q-0000rR-34 == info@domain.com R=lookuphost T=remote_smtp                                                                                         defer (-53): retry time not reached for any host
    2010-12-14 15:52:29 1PR98q-0000rR-34 Connection timed o                                                                                        ut
    2010-12-14 15:52:29 1PR98q-0000rR-34 == info@domain.com R=lookuphost T=remote_smtp                                                                                         defer (110): Connection timed out
    2010-12-14 15:52:29 1PR98q-0000rR-34 ** info@domain.com: retry timeout exceeded
    2010-12-14 15:52:29 1PSbrJ-0006Ez-Fn <= <> R=1PR98q-0000rR-34 U=mailnull P=local                                                                                         S=2347
    2010-12-14 15:52:29 1PR98q-0000rR-34 Completed
    
    
     
    #3 tomtom901, Dec 16, 2010
    Last edited: Dec 16, 2010
  4. mtindor

    mtindor Well-Known Member

    Joined:
    Sep 14, 2004
    Messages:
    1,281
    Likes Received:
    37
    Trophy Points:
    48
    Location:
    inside a catfish
    cPanel Access Level:
    Root Administrator
    I telnetted port 25 of 193.221.125.66 and got an SMTP response. Your server is not though.

    So, either you have a software firewall on your server (such as CSF) that has 193.221.125.66 (or a larger block such as 193.221.x.x) that is blocked by your firewall, or the folks who control 193.221.125.66 are blocking traffic from your server.

    You should:
    1. telnet 193.221.125.66 25 (from console, on your server)

    you should get:

    Trying 193.221.125.66...
    Connected to 193.221.125.66.
    Escape character is '^]'.
    220-server10.blah-ba-de.da ESMTP Exim 4.69 #1 Thu, 16 Dec 2010 21:29:49 +0100
    220-We do not authorize the use of this system to transport unsolicited,
    220 and/or bulk e-mail.

    If you just get "Trying 193.221.125.66" and then nothing else, your firewall or the remote mailserver's firewall is blocking.

    2. traceroute 193.221.125.66

    You won't be able to traceroute all the way to their server due to their datacenter's firewall, but you should at least get a traceroute to go as far as their datacenter.

    If 'traceroute 193.221.125.66' only goes one or two hops and then stops, then its your server blocking outbound TCP 25 to 193.221.125.66 or your datacenter is.

    Mike
     
    #4 mtindor, Dec 16, 2010
    Last edited: Dec 16, 2010
  5. tomtom901

    tomtom901 Member

    Joined:
    Dec 15, 2010
    Messages:
    6
    Likes Received:
    0
    Trophy Points:
    1
    Mike,

    I get trying when telnetting to the IP adres. From another server the telnet goes fine. TCP 25 OUT is open on both firewalls, so that can't be the issue. When tracerouting (I alreay did once, so I can acknowledge what you're saying I see the following):

    Code:
    [root@web01 ~]#traceroute 193.221.125.66
    traceroute to 193.221.125.66 (193.221.125.66), 30 hops max, 40 byte packets
     1  77.243.235.253 (77.243.235.253)  0.495 ms  0.513 ms  0.728 ms
     2  vl900.bcr1.asd-nh.nedzone.nl (94.103.148.226)  3.651 ms  3.698 ms  3.756 ms
     3  20gigabitethernet1-3.core1.ams1.he.net (195.69.145.150)  3.654 ms  3.735 ms  3.821 ms
     4  swiftwayg2.nikhef.gigabitethernet2-1.core1.ams1.he.net (216.66.80.246)  4.320 ms  4.346 ms  4.410 ms
     5  to-superracks.swiftway.net (194.126.172.146)  4.527 ms  4.925 ms  4.635 ms
     6  * * *
     7  * * *
     8  * * *
     9  * * *
    10  * * *
    11  * * *
    12  * * *
    13  * * *
    14  * * *
    15  * * *
    16  * * *
    
    Think I am being blocked here.

    Tom

    P.S. Could you remove the domainname?
     
  6. mtindor

    mtindor Well-Known Member

    Joined:
    Sep 14, 2004
    Messages:
    1,281
    Likes Received:
    37
    Trophy Points:
    48
    Location:
    inside a catfish
    cPanel Access Level:
    Root Administrator
    What domain name?

    Your traceroute looks fine (it doesn't complete, but that isn't indicative of a problem all by itself. In this case, the datacenter/upstream for that server just happen to be doing some things that prevent the traceroute from completing.

    Yeah it looks like your server IP must be being blocked by the remote mailserver.. assuming:

    1. The traceroute result you provided was done from your machine that is sending the mail and having problems with delivery
    2. You definitely don't have any firewall rules in place blocking outbound TCP 25 to the remote server's IP address or a wider netblock that that IP address is within.

    Mike
     
  7. tomtom901

    tomtom901 Member

    Joined:
    Dec 15, 2010
    Messages:
    6
    Likes Received:
    0
    Trophy Points:
    1
    Hi Mike,

    Problem is still persistent, one can now telnet into the remote mailserver, and traceroute it. Even worse, the problem is still ongoing. I was told clients can not email succesfully to another client on that mailserver. Maybe this all has something to do with eachother and it is an internal mail routing issue?

    I've sent you a PM with some logs.

    Happy holidays!
     
  8. Wallaby

    Wallaby Well-Known Member

    Joined:
    Aug 15, 2001
    Messages:
    131
    Likes Received:
    1
    Trophy Points:
    18
    I am seeing exactly the same issue for one of our servers, for absolutely no apparent reason at all. The only error message returned is:

    retry timeout exceeded

    but the email was only sent maybe 1-2 hours ago! Does not make any sense at all.
     
Loading...

Share This Page