Bug#283230: Exim4 drops connection with "too many syntax or protocol errors"

Andreas Metzler Andreas Metzler <ametzler@downhill.at.eu.org>, 283230@bugs.debian.org
Sat, 27 Nov 2004 14:00:51 +0100


On 2004-11-27 Christoph Barbian <cb@math.uni-sb.de> wrote:
[...]
> This means that exim considers a DATA sent by the delivering MTA after
> an invalid RCPT as an error (but it should not as we are pipelining)
[...]
> Therefore the problem is that the variable pipelining_advertised is
> declared within the function smtp_setup_msg and only set to TRUE
> when an EHLO is received what is only the case in the first call of
> smtp_setup_msg. In all following calls it remains FALSE and exim
> counts the DATA's as errors ...
[...]
> In newer versions of exim4 I think this is fixed (I took a look at
> 4.43)...
[...]

Indeed, this is the respective changelog entry:

| Exim version 4.42
| -----------------
[...]
| 22. Exim was forgetting that it had advertised PIPELINING for the
|     second and subsequent messages on an SMTP connection. It was also
|     not resetting its memory on STARTTLS and an internal HELO.

Thanks for the excellent bug-report.
              cu andreas
-- 
"See, I told you they'd listen to Reason," [SPOILER] Svfurlr fnlf,
fuhggvat qbja gur juveyvat tha.
Neal Stephenson in "Snow Crash"