[PATCH] Including 'unread' tag to mails without maildir flags

Michal Sojka sojkam1 at fel.cvut.cz
Sat Nov 20 15:26:31 PST 2010


On Fri, 19 Nov 2010, meskio at sindominio.net wrote:
> Some mail fetchers, like fetchmail, leaves the email without ':2,' at the end of
> the filename. Notmuch didn't detect this emails as maildir, it didn't add the
> maildir flags to them.
> 
> Now it detects if a mail is in a maildir by the directory structure, and add its
> maildir flags correctly.

Hi Ruben,

your patch fixes the problem, but it also breaks one of the tests in
test suite. I created the test for your patch and attempted to fix the
broken test. See the replies to this message.

-Michal


More information about the notmuch mailing list