Forcing a sync of maildir flags?

Sean Whitton spwhitton at spwhitton.name
Wed Feb 19 20:58:23 PST 2020


Hello,

I have this in my post-new hook:

    notmuch tag -unread -- folder:sent

The idea is that copies of my sent mail which get returned to me and
stored in my inbox, e.g. by mailing lists, would get maildir Seen tags
added to them.  But that does not happen.

This works:

    notmuch tag +unread -- folder:sent
    notmuch tag -unread -- folder:sent

Is there some more elegant way to force a sync of maildir flags?  Am I
the only one that has copies of my own mail in my inbox folder, not
marked as read from the point of view of anything except notmuch?

Please CC me on replies.

-- 
Sean Whitton


More information about the notmuch mailing list