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.

New and Erratic fail_remote_domains Issue

Discussion in 'E-mail Discussions' started by sinfield, Aug 10, 2007.

  1. sinfield

    sinfield Member

    Joined:
    Jan 13, 2004
    Messages:
    14
    Likes Received:
    0
    Trophy Points:
    1
    WHM 11.2.0 cPanel 11.8.0-C16253
    CENTOS Enterprise 4.5 i686 - WHM X v3.1.0

    Recently some of my users started complaining that they were receiving occasional delivery failures when sending to some users on some domains. I sat with a client yesterday with laptop ready to tail exim_mainlog and watched it all happen. Message 1 fails, while message 2, sent less than a minute later, goes through without any troubles.

    Code:
    2007-08-09 16:57:08 1IJF4H-0003Iv-Pi ** eastwooa@trinity-health.org <EASTWOOA@trinity-health.org> R=fail_remote_domains: The mail server could not deliver mail to eastwooa@trinity-health.org.  The account or domain may not exist, they may be blacklisted, or missing the proper dns entries.
    <-snip->
    2007-08-09 16:58:42 1IJF5q-0003KO-EO => eastwooa@trinity-health.org <EASTWOOA@trinity-health.org> R=lookuphost T=remote_smtp H=nodcmstemf1.trinity-health.org [170.232.6.114] X=TLSv1:AES256-SHA:256
    2007-08-09 16:58:42 1IJF5q-0003KO-EO Completed
    Poking through the exim_mainlog archives, it looks like this is happening erratically to many of my clients. The issue's erratic nature makes me think the issue is outside the server configuration, but the fact that it is happening to many clients sending to many disparate domains (including gmail.com) makes me think the problem is in the server configuration.

    I am on an AT&T T1 line.
     
  2. cPanelNick

    cPanelNick Administrator
    Staff Member

    Joined:
    Mar 9, 2015
    Messages:
    3,426
    Likes Received:
    2
    Trophy Points:
    38
    cPanel Access Level:
    DataCenter Provider

    Check your exim retry database. It should tell you why it failed to send if its recent enough.

    exim_dumpdb /var/spool/exim/ retry



    You may want to try

    Code:
    callout  callout misc   wait-remote_smtp
    as well
     
  3. sinfield

    sinfield Member

    Joined:
    Jan 13, 2004
    Messages:
    14
    Likes Received:
    0
    Trophy Points:
    1
    Thanks for the troubleshooting suggestions, nick.

    The retry dump has possibly relevant entries.
    Code:
    09-Aug-2007 13:03:29  09-Aug-2007 13:03:29  09-Aug-2007 13:18:29
      T:trinity-health.org:170.232.6.80 110 321 Connection timed out
    09-Aug-2007 19:47:23  09-Aug-2007 20:03:28  09-Aug-2007 20:18:28
      T:nodcmstemf2.trinity-health.org:170.232.6.115 -18 77 Remote host nodcmstemf2.trinity-health.org [170.232.6.115] closed connection in response to initial connection
    10-Aug-2007 09:58:31  10-Aug-2007 15:10:16  10-Aug-2007 16:40:16
      T:nodcmstemf1.trinity-health.org:170.232.6.114 -18 77 Remote host nodcmstemf1.trinity-health.org [170.232.6.114] closed connection in response to initial connection
    The callout db is full of accepts for trinity-health.org. No rejects listed for that domain.
    Code:
    09-Aug-2007 08:46:33 trinity-health.org callout=accept postmaster=unknown random=unknown
    09-Aug-2007 08:46:33 EASTWOOA@trinity-health.org callout=accept
    wait-remote_smtp has entries for the domain in question:
    Code:
    nodcmstemf1.trinity-health.org 1IJYFb-00044f-24 1IJZjU-0005Zl-Or 1IJZsT-0005jR-Lu
    None of this looks like a smoking gun to me, though. Googling the error from the retry dump seems to indicate that the problem is related to dynamic IP or PTR (via references to AOL and other mail problems). However, the sending IP is neither dynamic, nor PTR-less. Hotmail even likes my mailserver! Any other suggestions, sir? Others?
     
  4. sinfield

    sinfield Member

    Joined:
    Jan 13, 2004
    Messages:
    14
    Likes Received:
    0
    Trophy Points:
    1
    Stephen with cPanel support replaced the resolvers in /etc/resolv.conf with alternates from opendns.org. Only time will tell if the issue is resolved, but I trust those cPanel folk.
     
  5. ttremain

    ttremain Well-Known Member

    Joined:
    Feb 16, 2003
    Messages:
    212
    Likes Received:
    0
    Trophy Points:
    16
    I see the exact same error message, however what is strange, is my client is getting the error whiule she is attempting to send the mail via SMTP ot our server, and has nothing to do withour delivering it to it's MX server.

    Code:
    2007-08-15 00:03:55 SMTP connection from [71.237.236.69]:2606 I=[69.41.183.218]:26 (TCP/IP connection count = 1)
    2007-08-15 00:03:57 ident connection to 71.237.236.69 timed out
    2007-08-15 00:03:58 H=(SuperBeast) [71.237.236.69]:2606 I=[69.41.183.218]:26 F=<xxx@maruhon.com> rejected RCPT <yyy@newbc.rr.com>: The mail server could not deliver mail to yyy@newbc.rr.com.  The account or domain may not exist, they may be blacklisted, or missing the proper dns entries.
    2007-08-15 00:03:58 H=(SuperBeast) [71.237.236.69]:2606 I=[69.41.183.218]:26 incomplete transaction (connection lost) from <xxx@maruhon.com>
    2007-08-15 00:03:58 unexpected disconnection while reading SMTP command from (SuperBeast) [71.237.236.69]:2606 I=[69.41.183.218]:26
    
    The client then gets this from Outlook:
    An unknown error has occurred. Subject 'Fw: Mahogany', Account:
    'xxx@maruhon.com', Server: 'mail.maruhon.com', Protocol: SMTP,
    Port: 26, Secure(SSL): No, Error Number: 0x800CCC0B
     

Share This Page