[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Mail Data termination



On Aug 16, 2011, at 7:48 PM, Hector Santos wrote:

> SM wrote:
>> At 15:03 16-08-2011, Keith Moore wrote:
>>> sorry, I misunderstood what was being suggested.   if the server gets DATA followed by a message (or a message fragment) followed by CRLF.CRLF, it should accept the message (or fragment) and deliver it.  no matter what else follows, or doesn't follow, during the same SMTP session .
>> Yes.  The SMTP server mentioned that it is accepting the message (up to the end-of-data terminator.  Rejecting the message is not an option once the message has been accepted.
> 
> Hence the dilemma.  It wasn't an valid RFC5322 message and the issue is exasperated when it was DKIM signed and now recorded as a failure. Never mind the fact QUIT (or a new transaction command) is an SMTP requirement before the transaction is considered complete for delivery.

Where do you get that idea?  RFC 2821 doesn't require this.  It only requires that the server not close the connection until it sees a QUIT.  (It even says that clients SHOULD send a QUIT, implying that things should still work if they don't.)

Keith