Hello,
it seems to be known from the source code that exim sometimes
causes segmentation faults in the db-library (that are caught
by signal handlers in more recent versions).
I don't know if anybody is keen on some dumps, but we have some
of these segmentation-faults:
In this case, Exim tries to deliver a message to a mail-server at
194.221.80.15 that denies the reception by
"452 Not enough space in users account (0 bytes available)"
In rough, this is how everything looks with -v set:
hostie:/usr/local/lib/exim/lists # smail -v -M 0xMC8q-0003ej-00
delivering message 0xMC8q-0003ej-00
Connecting to 194.221.80.15 [194.221.80.15] ... connected
SMTP<< 220 jahr-verlag.de running Apple Internet Mail Server 1.1
SMTP>> HELO mail.provi.de
SMTP<< 250 jahr-verlag.de hello mail.provi.de (193.98.9.7)
SMTP>> MAIL FROM:<service@???>
SMTP<< 250 Sender OK
SMTP>> RCPT TO:<ringler@???>
SMTP<< 452 Not enough space in users account (0 bytes available)
LOG: 0 MAIN
SMTP error from remote mailer after RCPT TO: <ringler@???>: host 194.221.80.15 [194.221.80.15]: 452 Not enough space in users account (0 bytes available)
SMTP>> QUIT
SMTP<< 221 jahr-verlag.de closing connection
LOG: 0 MAIN
== ringler@??? T=remote_smtp defer (0): SMTP error from remote mailer after RCPT TO: <ringler@???>: host 194.221.80.15 [194.221.80.15]: 452 Not enough space in users account (0 bytes available)
LOG: 0 MAIN
** ringler@???: message retry timeout exceeded
LOG: 0 MAIN PANIC
SEGV while reading "" from dbm file: record assumed not to exist
Segmentation fault
Exim version 1.73 debug level set to 1
probably Berkeley DB version 1.8x (native mode)
hostie:/usr/local/lib/exim/lists # LOG: 0 MAIN
Error while handling error message 0xOQeC-0006Es-00: no recipient addresses
The same with the "-d 9" option results into:
Exim version 1.73 debug level set to 9
probably Berkeley DB version 1.8x (native mode)
set_process_info: 23509 1.73 delivering specified messages
delivering message 0xMC8q-0003ej-00
set_process_info: 23509 1.73 delivering 0xMC8q-0003ej-00
Opened spool file 0xMC8q-0003ej-00-H
user=root uid=0 gid=0 sender=service@???
host = tvtoday.de [193.7.250.98]
sender_local=0 resent=no ident=unset
Non-recipients:
Empty Tree
---- End of tree ----
recipients_count=1
Writing spool header file
Delivery address list:
ringler@???
opened DB file /var/spool/exim/db/retry: flags=0 fd = 5
Locked
unique = ringler@???
dbfn_read: key=R:jahr-verlag.de
ringler@???: queued for routing
After directing:
Local addresses:
Remote addresses:
Failed addresses:
Addresses to be routed:
ringler@???
Deferred addresses:
routing ringler@???, domain jahr-verlag.de
route_append router called for ringler@???: route_domain = jahr-verlag.de
after handling route_lists items, matched = 0
search_open (0) /usr/local/lib/exim/maps/pop3prio
search_find: file="/usr/local/lib/exim/maps/pop3prio" type=0 key="jahr-verlag.de" partial=2
internal_search_find: file="/usr/local/lib/exim/maps/pop3prio" type=0 key="jahr-verlag.de"
file lookup required for jahr-verlag.de in /usr/local/lib/exim/maps/pop3prio
trying partial match *.jahr-verlag.de
internal_search_find: file="/usr/local/lib/exim/maps/pop3prio" type=0 key="*.jahr-verlag.de"
file lookup required for *.jahr-verlag.de in /usr/local/lib/exim/maps/pop3prio
search_find failed:
route_append router failed
route_append router called for ringler@???: route_domain = jahr-verlag.de
after handling route_lists items, matched = 0
search_open (0) /usr/local/lib/exim/maps/smtp-extra
search_find: file="/usr/local/lib/exim/maps/smtp-extra" type=0 key="jahr-verlag.de" partial=2
internal_search_find: file="/usr/local/lib/exim/maps/smtp-extra" type=0 key="jahr-verlag.de"
file lookup required for jahr-verlag.de in /usr/local/lib/exim/maps/smtp-extra
original hostlist=194.221.80.15 options=byname
expanded hostlist="194.221.80.15" options=byname
Actual local interface address is 127.0.0.1
Actual local interface address is 193.98.9.7
fully qualified name = 194.221.80.15
194.221.80.15 194.221.80.15 -1
routed by route_append router:
deliver to ringler@???
transport: remote_smtp
host 194.221.80.15 [194.221.80.15]
search_tidyup called
>>> Local deliveries >>>
search_tidyup called
>>> Remote deliveries >>>
remote_smtp transport entered
ringler@???
checking status of 194.221.80.15
opened DB file /var/spool/exim/db/retry: flags=0 fd = 6
Locked
dbfn_read: key=T:194.221.80.15:194.221.80.15
no retry record
194.221.80.15 [194.221.80.15] status = usable
delivering 0xMC8q-0003ej-00 to 194.221.80.15 [194.221.80.15] (ringler@???)set_process_info: 23509 1.73 delivering 0xMC8q-0003ej-00 to 194.221.80.15 [194.221.80.15] (ringler@???)
Connecting to 194.221.80.15 [194.221.80.15] ... connected
SMTP response timeout = 300
SMTP<< 220 jahr-verlag.de running Apple Internet Mail Server 1.1
SMTP>> HELO mail.provi.de
SMTP response timeout = 300
SMTP<< 250 jahr-verlag.de hello mail.provi.de (193.98.9.7)
SMTP>> MAIL FROM:<service@???>
SMTP response timeout = 300
SMTP<< 250 Sender OK
SMTP>> RCPT TO:<ringler@???>
SMTP response timeout = 300
SMTP<< 452 Not enough space in users account (0 bytes available)
LOG: 0 MAIN
SMTP error from remote mailer after RCPT TO: <ringler@???>: host 194.221.80.15 [194.221.80.15]: 452 Not enough space in users account (0 bytes available)
transport_check_waiting entered
sequence=1 local_max=0 global_max=-1
opened DB file /var/spool/exim/db/wait-remote_smtp: flags=42 fd = 8
Locked
dbfn_read: key=194.221.80.15
waiting messages already delivered
SMTP>> QUIT
SMTP response timeout = 300
SMTP<< 221 jahr-verlag.de closing connection
set_process_info: 23509 1.73 delivering 0xMC8q-0003ej-00: just tried 194.221.80.15 [194.221.80.15] for ringler@???: result OK
all IP addresses skipped or deferred at least one address: not all expired
opened DB file /var/spool/exim/db/wait-remote_smtp: flags=42 fd = 6
Locked
dbfn_read: key=194.221.80.15
dbfn_write: key=194.221.80.15
Leaving remote_smtp transport
set_process_info: 23509 1.73 delivering 0xMC8q-0003ej-00 (just run remote_smtp for ringler@???)
post-process ringler@???
LOG: 0 MAIN
== ringler@??? T=remote_smtp defer (0): SMTP error from remote mailer after RCPT TO: <ringler@???>: host 194.221.80.15 [194.221.80.15]: 452 Not enough space in users account (0 bytes available)
set_process_info: 23509 1.73 tidying up after delivering 0xMC8q-0003ej-00
Processing retry items
Succeeded addresses:
Failed addresses:
Deferred addresses:
ringler@???: no retry items
end of retry processing
LOG: 0 MAIN
** ringler@???: message retry timeout exceeded
LOG: 0 MAIN PANIC
SEGV while reading "" from dbm file: record assumed not to exist
Exim version 1.73 debug level set to 9
probably Berkeley DB version 1.8x (native mode)
set_process_info: 23511 1.73 accepting a local non-SMTP message from <>
Sender:
search_tidyup called
>>Original headers:
search_tidyup called
>>Final headers:
P Received: from root by mail.provi.de with local (Exim 1.73 #1)
id 0xOQPX-00067D-00; Thu, 23 Oct 1997 18:47:03 +0200
I Message-Id: <E0xOQPX-00067D-00@???>
F From: Mail Delivery System <Mailer-Daemon@???>
Date: Thu, 23 Oct 1997 18:47:03 +0200
Data file written for message 0xOQPX-00067D-00
*** No recipients
LOG: 0 MAIN
Error while handling error message 0xOQPX-00067D-00: no recipient addresses
Any ideas where to look for the error? I might help with additional
testings or modifications.
I don't feel deep enough in the source to try finding out the
error by myself.
Greetings,
Georg
--
* This is sent by the exim-users mailing list. To unsubscribe send a
mail with subject "unsubscribe" to exim-users-request@???
* Exim information can be found at http://www.exim.org/