R=localuser T=local_delivery defer (-52): Retry time n$

Zion Ahead

Well-Known Member
Nov 10, 2006
347
0
166
I've seen a lot of these messages in my exim main log:

R=localuser T=local_delivery defer (-52): Retry time n$

I do not know why. I can however still send/receive mail but I want to make sure there is no valid mails being filtered out or such.

I've done:

/scripts/mailperm
/scripts/eximup --force

My domains are in:

/etc/localdomains
/etc/remotedomains does not exist

WHM > EXIM config I only have this checked on:

Verify the existence of email senders.

EXIM config file:

Code:
untrusted_set_sender = *
local_from_check     = false
#local_sender_retain  = true

timeout_frozen_after = 2d
ignore_bounce_errors_after = 12h

domainlist rbl_blacklist = lsearch;/etc/rblblacklist 
domainlist rbl_bypass = lsearch;/etc/rblbypass 
hostlist rbl_whitelist = lsearch;/etc/relayhosts : partial-lsearch;/etc/rblwhitelist
message_size_limit = 20M
#log_selector = +arguments +subject
log_selector = +all



#!!# ACL that is used after the RCPT command
check_recipient:
  # Exim 3 had no checking on -bs messages, so for compatibility
  # we accept if the source is local SMTP (i.e. not over TCP/IP).
  # We do this by testing for an empty sending host field.
  accept  hosts = :


  # Accept bounces to lists even if callbacks or other checks would fail
  warn     message      = X-WhitelistedRCPT-nohdrfromcallback: Yes
           condition    = \
           ${if and {{match{$local_part}{(.*)-bounces\+.*}} \
                     {exists {/usr/local/cpanel/3rdparty/mailman/lists/${lc:$1}/config.pck}}} \
                {yes}{no}}

  accept   condition    = \
           ${if and {{match{$local_part}{(.*)-bounces\+.*}} \
                     {exists {/usr/local/cpanel/3rdparty/mailman/lists/${lc:$1}/config.pck}}} \
                {yes}{no}}


  # Accept bounces to lists even if callbacks or other checks would fail
  warn     message      = X-WhitelistedRCPT-nohdrfromcallback: Yes
           condition    = \
           ${if and {{match{$local_part}{(.*)-bounces\+.*}} \
                     {exists {/usr/local/cpanel/3rdparty/mailman/lists/${lc:$1}_${lc:$domain}/config.pck}}} \
                {yes}{no}}

  accept   condition    = \
           ${if and {{match{$local_part}{(.*)-bounces\+.*}} \
                     {exists {/usr/local/cpanel/3rdparty/mailman/lists/${lc:$1}_${lc:$domain}/config.pck}}} \
                {yes}{no}}

  #if it gets here it isn't mailman
                                                                                                                                           
  #sender verifications are required for all messages that are not sent to lists
  
  accept  domains = +local_domains
  endpass
                                                                                                                                           
  #recipient verifications are required for all messages that are not sent to the local machine
  #this was done at multiple users requests
                                                                                                                                           
  message = "The recipient cannot be verified.  Please check all recipients of this message to verify they are valid."
  verify = recipient
                                                                                                                                           
  accept  domains = +relay_domains

  warn  message = ${perl{popbeforesmtpwarn}{$sender_host_name}}
        hosts = +relay_hosts
  accept  hosts = +relay_hosts
                                                                                
  warn  message = ${perl{popbeforesmtpwarn}{$sender_host_address}}
        condition = ${perl{checkrelayhost}{$sender_host_address}}
  accept  condition = ${perl{checkrelayhost}{$sender_host_address}}

  accept  hosts = +auth_relay_hosts
          endpass
          message = $sender_fullhost is currently not permitted to \
                        relay through this server. Perhaps you \
                        have not logged into the pop/imap server in the \
                        last 30 minutes or do not have SMTP Authentication turned on in your email client.
          authenticated = *

  deny    message = $sender_fullhost is currently not permitted to \
                        relay through this server. Perhaps you \
                        have not logged into the pop/imap server in the \
                        last 30 minutes or do not have SMTP Authentication turned on in your email client.


#!!# ACL that is used after the DATA command
check_message:
#  Enabling this will make the server non-rfc compliant
#  require verify = header_sender
  accept



[email protected];/etc/localdomains "${if !eq {$header_From:}{}{$header_sender:$header_From:}fai  l}" Fs
That's just a copy/paste from whm exim fields.

dnsreport shows no errors for my domains either

What could be the cause of this error? Is it local or remote (out of my control)?
 

shivinvijai

Member
Mar 1, 2007
12
0
151
Reg: retry time not reached for any host

Hello,


You can check whether you are able to ping the other server ip from the server and vice versa. If not check the server firewall for any block in the ip or network address.

If you can ping success.......then follow the script.

/script/eximup --force in both servers.


Hope this will clean your issue.


Thanks,
 

bashcpanel

Well-Known Member
Apr 15, 2007
48
0
156
Hello,

If the issue is still there , please try "/scripts/exim_tidydb" and try to remove retry database .

It should help you out.

Thanks,:)