Thanks David for the links. They fully answer to my question. Regards, Philippe. ----- Mail original ----- De: "David Bremner" <david@tethera.net> À: "gras appart" <gras.appart@free.fr>, notmuch@freelists.org Cc: notmuch@notmuchmail.org Envoyé: Samedi 6 Avril 2019 21:20:21 Objet: Re: deleted flag maildir sync gras.appart@free.fr writes: > Hello, > > I plan to use notmuch together with isync and an imap account. I would like to be able to delete messages using the IMAP mechanism based on the \Deleted flag and expunge operation. > > My idea would to sync the notmuch 'deleted' flag with the 'T' maildir flag, that isync already synchronizes with the \Deleted IMAP flag. The expunge operation is taken care by isync. > > I've seen that the 'deleted' flag is excluded from the notmuch maildir sync feature. Could you explain the rationale behind this choice ? (*) For starters see the commit message for 2c26204 > > Philippe. > > (*) The documentation refers to the mailing list for a discussion of this topic, but I couldn't find the discussion in the archives. See for example https://nmbug.notmuchmail.org/nmweb/show/87mx6sx7ya.fsf%40nikula.org and following messages Hope that helps, d