sebbASF commented on pull request #517: URL: https://github.com/apache/incubator-ponymail/pull/517#issuecomment-691010564
We should consider canonicalising 'From ' lines in the message body. This is because it's not possible to ensure that an email imported from an mbox file will have 'From ' lines in its body correctly unprefixed such that it matches the original. I think the only way to handle this is to remove all the '>' prefixes before 'From ', i.e. something like s/\n>+From /\nFrom / The result may not be the same as the original email, but it would remove all instances of prefixing. Note: this is only intended to apply to the hash input, not the raw source as stored when archiving or importing. ---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: [email protected]
