Skip to content

mbox file import splits emails where a line of body starts with "From" #145

Description

@pshute

After importing a large mbox file, I see several emails with messed up senders, all with the date/time of the import.

Investigating a couple of these, it looks like if a line of the body of an email starts with "From", it will interpret it as the start of a new email. It will use the next word on that line as the sender name. I assume because it doesn't find a date header, it inserts the current time.

I was able to reproduce it by editing the mbox file to add the word "From". It has to start with a capital F.

Looks like normally From headers start with "From:", but in this case (export from old version of Forte Agent), they don't have the semi colon. Perhaps this has triggered this behaviour.

Metadata

Metadata

Assignees

Labels

Type

No type

Fields

No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions