[exim-dev] [Bug 2166] Segfaults when remote server drop conn…

Αρχική Σελίδα
Delete this message
Reply to this message
Συντάκτης: admin
Ημερομηνία:  
Προς: exim-dev
Αντικείμενο: [exim-dev] [Bug 2166] Segfaults when remote server drop connections before banner
https://bugs.exim.org/show_bug.cgi?id=2166

--- Comment #5 from Alexandru Chirila <chirila@???> ---
Sure, I've added the debug logs now. I think I found an additional step
required to replicate this. It seems that this only happens if there was a
previous temporarily failure for that server and hence something in the retry
DB.

So my steps to replicate this were:

1. Configure the remote server to return a temporary error, and so a retry
record is added to the db. I've attached the dump of the retry DB after.

===
2017-09-15 08:39:47 1dsmA7-0000vt-Pg == test@??? R=spamexperts
T=remote_smtp_se defer (0) H=server1.test9.simplyspamfree.com [5.79.78.151]:
SMTP error from remote mail server after initial connection: 451 Not allowed
===

2. Configure the remote server to drop the connection, and send a new message.
The retry time has not been reached, so the message is in the queue.

===
2017-09-15 08:40:18 1dsmAc-0000w2-BX <= root@???
H=localhost (server1.test15.simplyspamfree.com) [::1] P=esmtp S=583
id=20170915084018.003597@???
2017-09-15 08:40:18 1dsmAc-0000w2-BX == test@??? R=spamexperts
T=remote_smtp_se defer (-53): retry time not reached for any host for
'simplyspamfree.com'
===

3. Force deliver the message from the queue (attached debug log for this
attempt), transport segfaults

===
2017-09-15 08:40:42 1dsmAc-0000w2-BX == test@??? R=spamexperts
T=remote_smtp_se defer (-1): smtp transport process returned non-zero status
0x000b: terminated by signal 11
2017-09-15 08:40:42 1dsmB0-0000w8-Ez <= <> R=1dsmAc-0000w2-BX U=Debian-exim
P=local S=733
2017-09-15 08:40:42 1dsmAc-0000w2-BX Frozen
===

4. Clear the exim retry db and force deliver the message from the queue again
(attached debug log for this attempt), transport does not segfault:

===
2017-09-15 08:42:05 1dsmAc-0000w2-BX Unfrozen by forced delivery
2017-09-15 08:42:05 1dsmAc-0000w2-BX ** test@??? R=spamexperts
T=remote_smtp_se H=server1.test9.simplyspamfree.com
[2001:1af8:4700:a007:17::8009]: SMTP error from remote mail server after
initial connection: 550 Not allowed
2017-09-15 08:42:05 1dsmCL-0000wH-37 <= <> R=1dsmAc-0000w2-BX U=Debian-exim
P=local S=2159
2017-09-15 08:42:05 1dsmAc-0000w2-BX Completed
===

Let me know if I can help with anything else!

--
You are receiving this mail because:
You are on the CC list for the bug.