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

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

Date: Sun, 21 Nov 2010 00:26:31 +0100

To: meskio@sindominio.net, notmuch@notmuchmail.org

Cc:

From: Michal Sojka


On Fri, 19 Nov 2010, meskio@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

Thread: