> On 26 Sep 2018, at 13.07, Aki Tuomi <aki.tuomi at open-xchange.com> wrote: > > > > On 26.09.2018 12:22, Victor Sudakov wrote: >> Dear Colleagues, >> >> I have made mailboxes in ~/Mail available via IMAP (Dovecot 2.3.2.1), >> that is: "mail_location = mbox:~/Mail:INBOX=/var/mail/%u" >> >> However, I often read and modify the mailboxes locally with mutt (e.g. >> append and delete mails). >> >> Should I expect any problems wit Dovecot indexes etc? What if I even >> do "rm ~/Mail/some/mailbox", will Dovecot be mad at me? >> > > Dovecot is tolerant to changes with mbox and maildir. It will reindex if > it detects someone changing them outside.That is true but it however has performance impacts if the caching is impaired but still does works. Sami
Sami Ketola wrote:> > On 26 Sep 2018, at 13.07, Aki Tuomi <aki.tuomi at open-xchange.com> wrote: > > > >> > >> I have made mailboxes in ~/Mail available via IMAP (Dovecot 2.3.2.1), > >> that is: "mail_location = mbox:~/Mail:INBOX=/var/mail/%u" > >> > >> However, I often read and modify the mailboxes locally with Mutt (e.g. > >> append and delete mails). > >> > >> Should I expect any problems wit Dovecot indexes etc? What if I even > >> do "rm ~/Mail/some/mailbox", will Dovecot be mad at me? > >> > > > > Dovecot is tolerant to changes with mbox and maildir. It will reindex if > > it detects someone changing them outside.That is good news! Thank you Aki!> > That is true but it however has performance impacts if the caching > is impaired but still does works.Ah, is this perhaps the reason why my Android IMAP client sometimes takes so long to list a folder's contents? I must have touched the folder locally by Mutt and Dovecot is reindexing, is that right? -- Victor Sudakov, VAS4-RIPE, VAS47-RIPN 2:5005/49 at fidonet http://vas.tomsk.ru/
* Victor Sudakov <vas at mpeks.tomsk.su> 2018.09.26 12:17:> > >> However, I often read and modify the mailboxes locally with Mutt (e.g. > > >> append and delete mails).Why not use Mutt's IMAP capabilities and keep the indexes nice and clean? Regards Thomas -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 195 bytes Desc: not available URL: <https://dovecot.org/pipermail/dovecot/attachments/20180926/770c0c2a/attachment.sig>