Re: Comments on Malformed Message BCP draft

Tony Finch <[email protected]> Mon, 18 Apr 2011 20:13:32 +0100
Newsgroups gmane.ietf.apps-discuss,gmane.ietf.rfc822
Message-ID <[email protected]>
[email protected] <[email protected]> wrote:
>
> And it isn't a binary choice between rejection and fixup either. What sort of
> fixup makes sense can change over time.

The draft suggests an intermediate option, which is to process the message
using a grammar with more lenient handling of error cases but to pass on
the message unchanged (if it gets passed on). A lot of the risk comes
from doing this (or rather, from doing this inconsistently). I think I'd
like to make a distinction between a relay (which is transparent) and a
security gateway (which does fixups). They should have consistent
behaviour, by which I mean that if a transparent relay is presented with a
corrupt message, it should treat it in the same way as a standard parser
would treat the same message after it has been fixed up by a security
gateway.

Whether a message gets rejected or not is a somewhat different matter. I
think submission servers can and should be a lot stricter than an MX can
be. Either way, every system needs to parse borderline cases more
consistently.

Tony.
-- 
f.anthony.n.finch  <[email protected]>  http://dotat.at/
Rockall, Malin, Hebrides: South 5 to 7, occasionally gale 8 at first in
Rockall and Malin, veering west or northwest 4 or 5, then backing southwest 5
or 6 later. Rough or very rough. Occasional rain. Moderate or good,
occasionally poor.