I would like to ask if it is an acceptable practice to manage messages in the maildir as a file (move them from one folder to another) while dovecot is in stop state thinking that it will be rebuild to the next imap user login thanks for your patience:) mik -------------- next part -------------- An HTML attachment was scrubbed... URL: <https://dovecot.org/pipermail/dovecot/attachments/20220124/67ad6bfa/attachment.htm>
>>>>> "mikfum" == mikfum <mikfum at protonmail.com> writes:mikfum> I would like to ask if it is an acceptable practice to manage mikfum> messages in the maildir as a file (move them from one folder mikfum> to another) while dovecot is in stop state thinking that it mikfum> will be rebuild to the next imap user login No, it's not a good idea, bad things might happen. what are you trying to accomplish? Maybe we can give a suggestion if we know what you are trying to accomplish. Don't assume that a certain method is the only way, just talk about the problem and what you wnat to achieve, not HOW you want to achieve it. Cheers, John
> I would like to ask if it is an acceptable practice to manage messages in the maildir as a file (move them from one folder to another) while dovecot is in stop state thinking that it will be rebuild to the next imap user loginAcceptable? That is subjective. It is your system. Big difference in what you can get away with on a small personal server vs being gmail. Only you know what is acceptable or not on your server. Mechanically possible, i believe so. Dovecot documentation in multiple places mentions how indexes are always rebuilt as needed. You can even have a setup where your MTA places new messages in folders without going through dovecot. When dovecot "finds" the file it just indexes it. So sure, i dont see why not, just keep in mind the overhead (if any) added by re-indexing.
Hi Mik> I would like to ask if it is an acceptable practice to manage messages in the maildir as a file (move them from one folder to another) while dovecot is in stop state thinking that it will be rebuild to the next imap user loginMaildir is actually designed to do so, as the storage can also lie on NFS and external programms bring mail in. Speak, you can move and edit files just like normal on the filesystem (even when doevecot is running) and dovecot will rebuild it?s index accordingly. However for "mass actions", like moving a lot of mail files, specific IMAP tools (dovecot provides a bunch of them) might be the better choise. Steven -- https://www.tech-island.com/