I have the following in 15-mailboxes.config:
mailbox Trash { special_use = \Trash autoexpunge = 30 days }
I thought that would empty the deleted emails after 30 days. However, I find that in .Deleted Messages/cur there are over 18K messages dating back to the 90's. What do I need to set to make the autoexpunge work?
-- Doug
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?
participants (6)
-
Aki Tuomi
-
Doug Hardie
-
dovecot@ptld.com
-
Marc
-
Michael Slusarz
-
Ted Hatfield