Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Mailbox is unsorted when using maildir mode. #293

Open
Duke4848 opened this issue May 11, 2020 · 4 comments
Open

Mailbox is unsorted when using maildir mode. #293

Duke4848 opened this issue May 11, 2020 · 4 comments

Comments

@Duke4848
Copy link

Duke4848 commented May 11, 2020

I've specified

    env:
      - name: MH_STORAGE
        value: maildir

and files are kept in Azure File Storage. The default and only ordering in Azure File Storage is by name which in case of Mailhog is [hash]=@mailhog.example . This is bad because then retrieved mails are in that order and not in the order of last modification(which is equal to creation), that causes whole mailbox to be unsorted.

Are there any out of the box solutions for that?

If not, does mailhog pull mails into memory in chunks? If not, they should be sorted after retrieval.

@Duke4848
Copy link
Author

Duke4848 commented Jun 3, 2020

This boomeranged, even if I sort e-mails by myself after I retrieve them, mails send at different point in time can have the same Created time stamp ;/

@rawtaz
Copy link

rawtaz commented Feb 11, 2021

Quite annoying here too :) I guess that's what you get for trying to keep it simple :D

@remram44
Copy link

Duplicate of #166 #124 #39

Fix is #313

@wtrv
Copy link

wtrv commented Jul 17, 2023

Fix in #313 seems to be working. Could this please be merged? Would be incredibly helpful. Thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants