You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ponymail.apache.org by GitBox <gi...@apache.org> on 2021/11/27 15:52:54 UTC

[GitHub] [incubator-ponymail-foal] sebbASF opened a new issue #164: import-mbox not guaranteed compatible with archiver when parsing emails

sebbASF opened a new issue #164:
URL: https://github.com/apache/incubator-ponymail-foal/issues/164


   The archiver uses the email module which offers the choice of several policies.
   
   However import-mbox relies on the mailbox module; AFAICT this does not offer any choice of policy.
   It may even default to compat32 which is buggy.
   
   It seems to me that the import-mbox script should not do its own parsing unless it can guarantee to behave the same as the archiver. 
   
   It would be better if the importer were only responsible for unpacking messages from storage before passing them to the archiver for analysis.


-- 
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.

To unsubscribe, e-mail: issues-unsubscribe@ponymail.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [incubator-ponymail-foal] sebbASF commented on issue #164: import-mbox not guaranteed compatible with archiver when parsing emails

Posted by GitBox <gi...@apache.org>.
sebbASF commented on issue #164:
URL: https://github.com/apache/incubator-ponymail-foal/issues/164#issuecomment-980808415


   I've found that import-mbox currently behaves differently from archiver in at least one aspect:
   
   An address of the form:
   
   To: user@domain.invalid (Test User)
   
   is rendered by archiver.py as
   "to": "user@domain.test"
   whereas import-mbox generates
   "to": "user@domain.test (Test User)"
   
   This is because archiver defaults to policy=default, whereas mailbox uses the original policy of email which is compat32.
   
   There may be other discrepancies.


-- 
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.

To unsubscribe, e-mail: issues-unsubscribe@ponymail.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [incubator-ponymail-foal] sebbASF closed issue #164: import-mbox not guaranteed compatible with archiver when parsing emails

Posted by GitBox <gi...@apache.org>.
sebbASF closed issue #164:
URL: https://github.com/apache/incubator-ponymail-foal/issues/164


   


-- 
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.

To unsubscribe, e-mail: issues-unsubscribe@ponymail.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org