Sam,

when MAL wrote me about this bug I thought it was a sendmail idiosyncrasy.  He
found that a long display phrase makes the From: header wrapped.  I checked
several DKIM validators and found (only) one of them succeeded; that is, the
From: line wasn't wrapped, like in local bcc's.

After further investigation I found out that Courier smtp client wraps header
lines longer than 70 (rfc822_getaddrs_wrap).  Sendmail unwraps the newline to
work around a Lotus Notes quirk which used to cause some misbehavior in some
clients.  I'm not clear whether esmtpclient only wraps in some cases or
Applemail (the server that hosts the succeeding test) does a better unwrapping
by also removing the two additional spaces.  All of that seems to be buried
quite deeply in email history.  If you recollect any details, I'll forward that
to the folks at opendkim who helped me understanding this oddity.

For outbound mail, the obvious workaround is to use the "relaxed" DKIM header
canonicalization, which disregards whitespace.  Some may prefer to skip the
rewriting entirely, but I have no idea of the pros and cons of it.  "Simple"
canonicalization would be better in case whitespace matters.  Is it worth
making the rewriting configurable?

For inbound mail, rewriting doesn't seem to take place.  Correct?

Ale


------------------------------------------------------------------------------
Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
from Actuate! Instantly Supercharge Your Business Reports and Dashboards
with Interactivity, Sharing, Native Excel Exports, App Integration & more
Get technology previously reserved for billion-dollar corporations, FREE
http://pubads.g.doubleclick.net/gampad/clk?id=164703151&iu=/4140/ostg.clktrk
_______________________________________________
courier-users mailing list
courier-users@lists.sourceforge.net
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users

Reply via email to