reports non-existent new mail in maildir mailboxes
Submitted by Ernest Adrogué
Assigned to Florian Rivoal
Created attachment 7426 ignore filenames that start with a dot
Some MUAs create dot files in maildir mailboxes for various purposes, e.g.
ls -a ~/.mail/.comp/new/ . .. .sylpheed_cache .sylpheed_mark
This causes the mailwatch plugin to misreport the number of messages in such mailboxes.
The maildir specification states that message files must not start with a dot , so it seems clear that these files should be ignored when performing message counts.
Patch 7426, "ignore filenames that start with a dot":