From: Matthias A. <mat...@gm...> - 2006-03-03 22:11:38
|
Greetings, I think we'll shelve this problem and revisit in 6.4.X. I've thought about it again, and there is no good solution. It is unclear whether some mailer spoiled the blank line between header and body, and the incorrect header line delimits header from body, or whether it's just broken folding as observed by you. I am very much in favor of Rob MacGregor's suggestion of putting the message in a message/rfc822 container, and if user addresses have been figured from the header, forward there, else to the fallback postmaster (usually the calling user, literally "postmaster" if run as root, or whichever is configured in the rcfile), and I'd be more comfortable if such major changes can get testing first before being deployed. If it works well, it might get backported to 6.3.X depending on how fast those evolve. I hope that's acceptable. If you want messages passed on in spite of problematic headers, and let other parts of the mail system sort things out, try the attached patch. It's highly experimental, may cause older bugs to reappear that were masked (which please report, particularly segfaults!), and isn't suitable for application in production or distributions. Regards, -- Matthias Andree |