[ietf-dkim] canonicalized null body and dkim

Eric Allman eric+dkim at sendmail.org
Fri Dec 15 09:24:36 PST 2006



--On December 15, 2006 7:58:39 AM -0800 Michael Thomas 
<mike at mtcc.com> wrote:

> The thing that I've seen is that at the very least sendmail will
> strip a body with a single CRLF to a null body in its output stage;
> I would not be surprised to hear that other MTA's do similar
> transformations.

Um...  to the best of my knowledge, sendmail will never strip any 
data, including trailing CRLFs.  It will /add/ a CRLF under certain 
circumstances, which include when mailing to a local v7 mailer that 
requires a double CRLF between messages.

However, Tony is completely right about the ambiguity, except that 
it's actually larger than he says --- it appears the draft doesn't 
clearly specify whether you canonicalize then truncate, or truncate 
then canonicalize.  The only one that actually makes sense from an 
interoperability sense is to canonicalize and then truncate.  By this 
reading, l=0 would not include a trailing CRLF.

Is my logic logical?

eric


More information about the ietf-dkim mailing list