Sam,
Is there any problem with changing the quoting of erroneous "Return-Path" headers from ">Return-path:" to "X-Return-path"? (Courier escapes incoming messages with stray "Return-path" headers.)
That is, change submit.c line 1302 to be:
1299: // Quote Return-Path:'s at this point 1300: 1301: if (headername == "return-path") 1302: headernameorig="X-"+headernameorig;
M$ Exchange seems to occasionally inject these incorrectly; GroupWise then receives a message with ">Return-path" in the middle of the headers and treats everything thereafter as message body. This isn't theoretical, I've got a client who's had this happen enough times that they're more than marginally annoyed. At least with the "X-", email clients won't barf with invalid header characters.
Does Maildrop (./maildrop/reformail.C: strncmp(header, ">return-path:", 13) == 0 || ) need to be tweaked as well?
There's nothing technically wrong with changing the quoting prefix, however I'd venture a guess that a lot more software expect ">Return-Path:" then the number of broken software written by Microsoft (as hard as this may be to believe).
In short: more stuff is likely to break than would get fixed.
pgp00000.pgp
Description: PGP signature
