See https://doc.dovecot.org/2.4.0/core/config/namespaces.html#mailbox_autoexpunge
And while it says "expunge", it really means delete and expunge. Aki > On 19/02/2025 08:07 EET Ted Hatfield via dovecot <dovecot@dovecot.org> wrote: > > > I thought that expunging messages would only work on messages flagged as > deleted. Just being in the Deleted Messages folder would not necessarily > mark the messages with the deleted flag. Or does the auto expunge feature > work differently than I expect it to? > > Ted > > > On Feb 18, 2025, at 2:00 PM, dovecot--- via dovecot <dovecot@dovecot.org> > > wrote: > > > > > >> > >> 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? > > > > > > Try changing '30 days' to '30d' and see if that makes a difference. > > > > _______________________________________________ > > dovecot mailing list -- dovecot@dovecot.org > > To unsubscribe send an email to dovecot-le...@dovecot.org > > _______________________________________________ > dovecot mailing list -- dovecot@dovecot.org > To unsubscribe send an email to dovecot-le...@dovecot.org _______________________________________________ dovecot mailing list -- dovecot@dovecot.org To unsubscribe send an email to dovecot-le...@dovecot.org