[exim-dev] [Bug 3059] SIGSEGV on SMTP delivery if remote bad…

Page principale
Supprimer ce message
Répondre à ce message
Auteur: Exim Bugzilla
Date:  
À: exim-dev
Sujet: [exim-dev] [Bug 3059] SIGSEGV on SMTP delivery if remote badly responds while PIPELINING and CHUNKED is active
https://bugs.exim.org/show_bug.cgi?id=3059

--- Comment #2 from Wolfgang Breyha <wbreyha@???> ---
I got another core... one RCPT only this time.

MAIL FROM: <whatever@???>
RCPT TO: <existing@???>
BDAT xxxx LAST

me.com rejects the RCPT with:
550 5.7.1 Your email was rejected due to having a domain present in the
Spamhaus DBL -- see https://www.spamhaus.org/dbl/

The sending domain (not ours; we forward) is still listed on DBL.

me.com has 2 MX RRs (same prio) to mx0[12].mail.icloud.com.

The rest is quite the same:
Try at first selected MX, connection closed on server side after RCPT 550,
missing BDAT rc.... removal of RCPT from address list ... general DEFER of
connection... retry at second MX ... no RCPT cmd, because of empty address
list, ... crash trying to add an entry to the retry DB...

The message finally bounced successfully at my try to get full debug output
since the retry time was succeeded, because Exim didn't try to make an entry to
the retry DB.

So, two new conditions added so far:
"BDAT xxx LAST" (small email) is sufficient
Exim only crashes if it tries to actually make an entry in the retry DB after
the try at the second MX.

After scanning transport.c for possible causes... I'm building Exim locally
with DISABLE_PIPE_CONNECT=yes. Maybe that's causing the differences we
experience?

Return value -5 from sync_responses() is at least handled differently then, but
still returned in some cases with DISABLE_PIPE_CONNECT=yes.

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

--
## subscription configuration (requires account):
## https://lists.exim.org/mailman3/postorius/lists/exim-dev.lists.exim.org/
## unsubscribe (doesn't require an account):
## exim-dev-unsubscribe@???
## Exim details at http://www.exim.org/
## Please use the Wiki with this list - http://wiki.exim.org/