very nice!, you also made me find the wiki to look for answers to any other trivial questions without boring you... tx again ‐‐‐‐‐‐‐ Original Message ‐‐‐‐‐‐‐
Il lunedì 24 gennaio 2022 12:15 PM, Felix Zielcke fzielcke@z-51.de ha scritto:
Am Montag, dem 24.01.2022 um 10:18 +0000 schrieb mikfum:
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
Use something like this in cron or similar:
doveadm move -A Archive BEFORE 90d
You must make sure though that the Archive mailbox exists before.
‐‐‐‐‐‐‐ 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