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?



thanks, Jeff



-------------------------------------------------------
This SF.Net email is sponsored by: Oracle 10g
Get certified on the hottest thing ever to hit the market... Oracle 10g. Take an Oracle 10g class now, and we'll give you the exam FREE. http://ads.osdn.com/?ad_id=3149&alloc_id=8166&op=click
_______________________________________________
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users

Reply via email to