[Exim] QUIT after message accepted ?

Page principale
Supprimer ce message
Répondre à ce message
Auteur: Sander Smeenk
Date:  
À: exim-users
Sujet: [Exim] QUIT after message accepted ?
Hi,

I noticed this a couple of times now. Exim won't close the connection
when I type 'quit' after you typed and removed something strange after
it accepts the message (and other cases, like a RCPT that was rejected
iirc):

Normal behaviour:

| $ nc 0 25
| 220 host.domain.tld ESMTP Exim 4.22 Thu, 25 Sep 2003 12:41:35 +0200
| helo localhost
| 250 host.domain.tld Hello geel [192.168.0.61]
| mail from:<root@???>
| 250 OK
| rcpt to:<ssmeenk@???>
| 250 Accepted
| data
| 354 Enter message, ending with "." on a line by itself
| subject: test

|
| 123
| .
| 250 OK id=1A2TZG-000DpV-0F
| quit
| 221 host.domain.tld closing connection


The wrong behaviour (IMHO :)) occurs if you do:

| $ nc 0 25
| 220 host.domain.tld ESMTP Exim 4.22 Thu, 25 Sep 2003 12:41:35 +0200
| helo localhost
| 250 host.domain.tld Hello geel [192.168.0.61]
| mail from:<root@???>
| 250 OK
| rcpt to:<ssmeenk@???>
| 250 Accepted
| data
| 354 Enter message, ending with "." on a line by itself
| subject: test

|
| 123
| .
| 250 OK id=1A2TZG-000DpV-0F


Now type, for example, control-d, and realise that won't work in SMTP,
so you backspace the ^D and type quit:

| quit

|
|
| quit
| QUIT
| RSET


Nothing happens anymore. Is this intentional, or expected behaviour? :)
The same thing happens under different circumstances too, although I
can't name them all offhand.

Sander.
--
| Searching for lost relatives? Win the Lottery!
| 1024D/08CEC94D - 34B3 3314 B146 E13C 70C8 9BDB D463 7E41 08CE C94D