mailhog / MailHog

Web and API based SMTP testing
MIT License
13.87k stars 1.05k forks source link

Mail received and in maildir, but 0 messages displayed #369

Open chao-mu opened 3 years ago

chao-mu commented 3 years ago

I am using the mailhog/mailhog:latest docker image (updated yesterday) with the following environmental variables set:

MH_SMTP_BIND_ADDR=... MH_STORAGE=maildir MH_MAILDIR_PATH=/maildir/

Mail comes in and is stored in the maildir, but when I load the UI, it shows 0 new messages.

What's going on here?

zib-ctrl commented 2 years ago

I have the same problem.

zib-ctrl commented 2 years ago

Problem solved. In the data directory I had created a test directory (only for checking file rights). After deleting this directory, the emails were displayed in the web UI.