apache / apache/ponymail-foal

migrate.py should fix known errors in the classic mail parsing

Open
#160 1 comment 0 reactions 0 assignees View on GitHub
bug database
Dominant language
Python
Stars
45
Forks
23
PR merge metrics
No merged PRs in 30d

Description

The migrate.py script should fix various known errors in the classic email parsing algorithm.
For example:

- remove line-wraps and other optional white space from header fields, especially Message-Id and References
- fix up mbox date values that don't agree with the epoch

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by reading migrate.py and tracing how it handles the classic email parsing algorithm. Reproduce the listed cases for folded header whitespace, especially Message-Id and References, and mbox dates that disagree with the epoch; done means those known errors are corrected during migration.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
backend
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.