I am having a problem with mail getting stuck in the mail queue. When I run
exim -d -M 1AHQ4j-0006k2-1O I get the following information:
Most mails get through so I dont know why some get stuck? Any help would be
much appreciated.
Exim version 4.24 uid=0 gid=0 pid=2002 D=fbb95cfd
Berkeley DB: Sleepycat Software: Berkeley DB 4.0.14: (November 18, 2001)
Support for: iconv()
Authenticators:
Routers: accept dnslookup ipliteral manualroute queryprogram redirect
Transports: appendfile autoreply pipe smtp
Fixed never_users: 0
changed uid/gid: forcing real = effective
uid=0 gid=0 pid=2002
auxiliary group list: <none>
configuration file is /usr/local/exim/configure
log selector = 040d99d8
trusted user
admin user
skipping ACL configuration - not needed
set_process_info: 2002 delivering specified messages
set_process_info: 2002 delivering 1AHQ4j-0006k2-1O
reading spool file 1AHQ4j-0006k2-1O-H
user=root uid=0 gid=0 sender=root@???
sender_fullhost = (db1.cd-wow.com) [213.167.72.166]
sender_rcvhost = [213.167.72.166] (helo=db1.cd-wow.com)
sender_local=0 ident=unset
Non-recipients:
Empty Tree
---- End of tree ----
recipients_count=1
body_linecount=28 message_linecount=12
Delivery address list:
sean.day@???
locking /usr/local/exim/spool/db/retry.lockfile
locked /usr/local/exim/spool/db/retry.lockfile
opened hints database /usr/local/exim/spool/db/retry: flags=0
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
Considering: sean.day@???
unique = sean.day@???
dbfn_read: key=R:external.com
dbfn_read: key=R:sean.day@???
no domain retry record
no address retry record
sean.day@???: queued for routing
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
routing sean.day@???
--------> dnslookup router <--------
local_part=sean.day domain=external.com
checking domains
external.com in "external.com:internal.ie"? yes (matched "external.com")
external.com in "! +local_domains"? no (matched "! +local_domains")
dnslookup router skipped: domains mismatch
--------> system_aliases router <--------
local_part=sean.day domain=external.com
calling system_aliases router
rda_interpret (string): ${lookup{$local_part}lsearch{/etc/aliases}}
search_open: lsearch "/etc/aliases"
search_find: file="/etc/aliases"
key="sean.day" partial=-1 affix=NULL starflags=0
LRU list:
9/etc/aliases
End
internal_search_find: file="/etc/aliases"
type=lsearch key="sean.day"
file lookup required for sean.day
in /etc/aliases
lookup yielded: sean.day@???
expanded: sean.day@???
file is not a filter file
parse_forward_list: sean.day@???
extract item: sean.day@???
system_aliases router generated sean.day@???
errors_to=NULL transport=NULL
uid=unset gid=unset home=NULL
routed by system_aliases router
envelope to: sean.day@???
transport: <none>
locking /usr/local/exim/spool/db/retry.lockfile
locked /usr/local/exim/spool/db/retry.lockfile
opened hints database /usr/local/exim/spool/db/retry: flags=0
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
Considering: sean.day@???
unique = sean.day@???
dbfn_read: key=R:mail.internal.ie
dbfn_read: key=R:sean.day@???
no domain retry record
no address retry record
sean.day@???: queued for routing
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
routing sean.day@???
--------> dnslookup router <--------
local_part=sean.day domain=mail.internal.ie
checking domains
mail.internal.ie in "external.com:internal.ie"? no (end of list)
mail.internal.ie in "! +local_domains"? yes (end of list)
calling dnslookup router
dnslookup router called for sean.day@???
domain = mail.internal.ie
DNS lookup of mail.internal.ie (MX) gave NO_DATA
returning DNS_NODATA
DNS lookup of mail.internal.ie (A) succeeded
10.0.2.6 in "0.0.0.0 : 127.0.0.0/8"? no (end of list)
fully qualified name = mail.internal.ie
mail.internal.ie 10.0.2.6 mx=-1 sort=-10
set transport remote_smtp
queued for remote_smtp transport: local_part = sean.day
domain = mail.internal.ie
errors_to=NULL
domain_data=NULL localpart_data=NULL
routed by dnslookup router
envelope to: sean.day@???
transport: remote_smtp
host mail.internal.ie [10.0.2.6]
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
After routing:
Local deliveries:
Remote deliveries:
sean.day@???
Failed addresses:
Deferred addresses:
search_tidyup called
>>>>>>>>>>>>>>>> Remote deliveries >>>>>>>>>>>>>>>>
--------> sean.day@??? <--------
search_tidyup called
set_process_info: 2002 delivering 1AHQ4j-0006k2-1O: waiting for a remote
delivery subprocess to finish
selecting on subprocess pipes
changed uid/gid: remote delivery to sean.day@??? with
transport=remote_smtp
uid=501 gid=501 pid=2003
auxiliary group list: <none>
set_process_info: 2003 delivering 1AHQ4j-0006k2-1O using remote_smtp
remote_smtp transport entered
sean.day@???
checking status of mail.internal.ie
locking /usr/local/exim/spool/db/retry.lockfile
locked /usr/local/exim/spool/db/retry.lockfile
opened hints database /usr/local/exim/spool/db/retry: flags=0
dbfn_read: key=T:mail.internal.ie:10.0.2.6
dbfn_read: key=T:mail.internal.ie:10.0.2.6:1AHQ4j-0006k2-1O
no host retry record
mail.internal.ie [10.0.2.6] status = usable
10.0.2.6 in serialize_hosts? no (option unset)
delivering 1AHQ4j-0006k2-1O to mail.internal.ie [10.0.2.6]
(sean.day@???)
set_process_info: 2003 delivering 1AHQ4j-0006k2-1O to mail.internal.ie
[10.0.2.6] (sean.day@???)
Connecting to mail.internal.ie [10.0.2.6]:25 ... connected
read response data: size=99
SMTP<< 220 mail.internal.ie ESMTP Service (Lotus Domino Release 6.0)
ready at Wed, 5 Nov 2003 18:11:51 +0000
10.0.2.6 in hosts_avoid_esmtp? no (option unset)
SMTP>> EHLO bouncer.internal.ie
read response data: size=124
SMTP<< 250-mail.internal.ie Hello bouncer.internal.ie ([93.5.65.4]),
pleased to meet you
250-HELP
250-SIZE 20940800
250 PIPELINING
10.0.2.6 in hosts_require_auth? no (option unset)
SMTP>> MAIL FROM:<root@???> SIZE=2121
SMTP>> RCPT TO:<sean.day@???>
SMTP>> DATA
read response data: size=166
SMTP<< 451 Unable to complete command, DNS not available or timed out
SMTP<< 503 Issue MAIL FROM: command before RCPT TO: command
SMTP<< 503 Issue RCPT TO: command before DATA command
ok=0 send_quit=1 send_rset=1 continue_more=0 yield=0
first_address=135061872
SMTP>> QUIT
set_process_info: 2003 delivering 1AHQ4j-0006k2-1O: just tried
mail.internal.ie [10.0.2.6] for sean.day@???: result OK
added retry item for T:mail.internal.ie:10.0.2.6:1AHQ4j-0006k2-1O: errno=0
65 flags=6
all IP addresses skipped or deferred at least one address
locking /usr/local/exim/spool/db/wait-remote_smtp.lockfile
locked /usr/local/exim/spool/db/wait-remote_smtp.lockfile
opened hints database /usr/local/exim/spool/db/wait-remote_smtp: flags=2
Leaving remote_smtp transport
set_process_info: 2003 delivering 1AHQ4j-0006k2-1O (just run remote_smtp
for sean.day@??? in subprocess)
search_tidyup called
reading pipe for subprocess 2003 (not ended)
read() yielded 429
reading retry information for T:mail.internal.ie:10.0.2.6:1AHQ4j-0006k2-1O
from subprocess
added retry item
Z0 item read
remote delivery process 2003 ended
set_process_info: 2002 delivering 1AHQ4j-0006k2-1O
post-process sean.day@??? (1)
LOG: MAIN
== sean.day@??? <sean.day@???> R=dnslookup
T=remote_smtp defer (0): SMTP error from remote mailer after MAIL
FROM:<root@???> SIZE=2121: host mail.internal.ie [10.0.2.6]: 451
Unable to complete command, DNS not available or timed out
>>>>>>>>>>>>>>>> deliveries are done >>>>>>>>>>>>>>>>
changed uid/gid: post-delivery tidying
uid=501 gid=501 pid=2002
auxiliary group list: <none>
set_process_info: 2002 tidying up after delivering 1AHQ4j-0006k2-1O
Processing retry items
Succeeded addresses:
sean.day@???: no retry items
Failed addresses:
Deferred addresses:
sean.day@???
locking /usr/local/exim/spool/db/retry.lockfile
locked /usr/local/exim/spool/db/retry.lockfile
opened hints database /usr/local/exim/spool/db/retry: flags=2
address match: subject=*@mail.internal.ie pattern=*
mail.internal.ie in "*"? yes (matched "*")
*@mail.internal.ie in "*"? yes (matched "*")
retry for T:mail.internal.ie:10.0.2.6:1AHQ4j-0006k2-1O (mail.internal.ie) =
*
dbfn_read: key=T:mail.internal.ie:10.0.2.6:1AHQ4j-0006k2-1O
Writing retry data for T:mail.internal.ie:10.0.2.6:1AHQ4j-0006k2-1O
first failed=1068048014 last try=1068056125 next try=1068059725 expired=0
error 0 65: SMTP error from remote mailer after MAIL
FROM:<root@???> SIZE=2121: host mail.internal.ie [10
dbfn_write: key=T:mail.internal.ie:10.0.2.6:1AHQ4j-0006k2-1O
sean.day@???: no retry items
end of retry processing
time on queue = 2h15m20s
warning counts: required 0 done 0
delivery deferred: update_spool=0 header_rewritten=0
end delivery of 1AHQ4j-0006k2-1O
search_tidyup called
search_tidyup called
>>>>>>>>>>>>>>>> Exim pid=2002 terminating with rc=0 >>>>>>>>>>>>>>>>