[exim] Misleading error message for early QUIT

Etusivu
Poista viesti
Vastaa
Lähettäjä: Florian Weimer
Päiväys:  
Vastaanottaja: exim-users
Aihe: [exim] Misleading error message for early QUIT
Currently, a "QUIT" before the greeting message, caused by a command
like this:

printf "QUIT\r\n" | socket mail.enyo.de 25

results in the following log message:

2005-01-12 18:32:09 SMTP protocol violation: synchronization error
(input sent without waiting for greeting): rejected connection from
H=deneb.enyo.de [212.9.189.171]

This message is misleading because it is often triggered by a timeout
on the client side. Therefore, the message should be special-cased
for the QUIT command (or the next input should be included, like it is
for other synchronization errors).

This was discovered by Debian folks, see the following bug report:

<http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=289458>