On 19/02/2025 20:22 EET dovecot--- via dovecot <dovecot@dovecot.org> wrote:
See https://doc.dovecot.org/2.4.0/core/config/namespaces.html#mailbox_autoexpung... And while it says "expunge", it really means delete and expunge.
Aki
Autoexpunge says you should add 'date.save' to 'mail_always_cache_fields'.
However 'mail_cache_fields' says: "The default list of fields that are added to cache if no other caching decisions exist yet. This setting is used only when creating the initial INBOX for the user. Other folders get their defaults from the INBOX."
Does that mean since 'mail_cache_fields' is set at mailbox creation, would adding 'mail_always_cache_fields=date.save' have any effect on existing mailboxes or only on new boxes going forward?
mail_always_cache_fields has effect even on existing boxes. Just not existing email. Note the 'always' word there.
Aki