[notmuch] Notmuch doesn't index new mails when mail location contains symlinks

Carl Worth cworth at cworth.org
Thu Nov 26 10:34:12 PST 2009

On Mon, 23 Nov 2009 16:03:00 +0100, Jed Brown <jed at 59A2.org> wrote:
> > But still no luck.  Finally, I deleted the symlinks and created them
> > anew, and then it indexed the 12 new mails that arrived in the
> > meantime.

OK. So that's definitely a bug we need to fix.

> The real solution is for notmuch to check mtime of whatever the
> symlink's target.

I'm a little confused here. Notmuch only uses stat, so it should be
looking at the target's mtime already. It actually takes special effort
(via lstat) to get at the mtime of the link itself.

So why aren't things just working?


More information about the notmuch mailing list