Skip to content

Maildir import seems to mess up order #341

@diresi

Description

@diresi

After importing a single maildir the message order seems random in Snappymail.

When migrating from old machines I collected all my emails in a single maildir, removed duplicates and fixed mtime (on ext4), on disk this looks reasonably well.

After importing this to mox things still look fine in mox's own webmail, as far as I can tell mox sorts messages by received then.

Snappymail OTOH apparently depends on SORT, which isn't yet available, and shows messages pretty much randomly sorted.

I think this is due to ReadDir() in MaildirReader using "directory order", that appears to be something else than ascending-in-mtime, at least in my case.

I think it might help using other tools (mutt, python,...) to convert to mbox before importing but yet have to give it a shot.

Edit: typos

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions