Exim debug selector

Start an interactive debugging fake-session for lookups only (hence the -all):

exim -d-all+lookup  -bhc IP_ADDRESS

Selectors are as follows:

acl ACL interpretation
auth Authenication
deliver General delivery logic
dns DNS lookups
dnsbl DNS black list code
exec Arguments for exec()
expand Details of string expansion
filter Filter handling
hints_lookup Hints data lookup
host_lookup All types of name-to-IP address handling
ident ident lookups
interface Lists of local interfaces
lists Matching things in lists
load System load checks
local_scan Debugging in the local_scan() function
lookup General lookup code and all lookups
memory Memory handling
pid Add pid to debug lines
process_info Setting info for the process log
queue_run Queue runs
receive General message reception logic
resolver The DNS resolver’s debugging output
retry Retry handling
rewrite Address rewriting
route Address routing
timestamp Timestamp debug lines
tls TLS logic
transport Transports
uid Change of uid/gid and looking up uid/gid
verify Address verification
all All of the above and also -v output

Taken from here

Published in: on February 8, 2012 at 3:45 pm  Leave a Comment  
Tags:

Exim defer (-53): retry time not reached for any host

From time to time you may notice that some addresses give a defer error: retry time not reached for any host.
1Ruz3Y-0005TQ-Ek == email@domain.com R=dnslookup T=remote_smtp defer (-53): retry time not reached for any host
So, you need to find out what smtp server is used to manage address.com’s email. To do this — use the host command or more advanced dig, whatever you like best. This command should be issued on your mail server:

host domain.com
domain.com has address X.X.X.X
domain.com mail is handled by 50 remote.smtp.server.

First of all make sure that remote smtp server is accepting connections on 25/tcp and is operating without any unpredictable errors.

telnet remote.smtp.server 25
Trying x.x.x.x...
Connected to remote.smtp.server.
Escape character is '^]'.
220 remote.smtp.server bla-bla-bla

Next step is to tidy up exim retry database:

/usr/sbin/exim_tidydb -t 1d /var/spool/exim retry > /dev/null

In some cases you may want to delete all the retry entries:

rm -rf /var/spool/exim/db/retry
rm -rf /var/spool/exim/db/retry.lockfile

Published in: on February 8, 2012 at 10:05 am  Leave a Comment  
Tags: