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