thanks John for the reply what I would like to do is implement an autoarchive function at server level that, in the night while dovecot is down, moves messages older than n days from the user inbox to a subfolder of the same user (cur to cur)
tx mik
‐‐‐‐‐‐‐ Original Message ‐‐‐‐‐‐‐
Il lunedì 24 gennaio 2022 2:43 AM, John Stoffel john@stoffel.org ha scritto:
"mikfum" == mikfum mikfum@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