16 Dec
2016
16 Dec
'16
3:36 p.m.
- Peter Hodur petehodur@gmail.com 2016.12.16 11:42:
mailbox Spam { auto = subscribe special_use = \Junk autoexpunge = 30d
Hi Peter,
may be easier to use per-user settings for testing. Something along the line:
userdb_namespace/inbox/mailbox/Spam/autoexpunge=6h
As I hope, when user logout (POP3 or IMAP) or after Postfix delivers mail via LMTP, Dovecot should check Spam folder for emails, which have ctime older than 30 days and deletes this emails.
AFAIK it uses indexes rather than FS attributes, let's see if this query yields some candidates (adjust time):
$ doveadm search -u peter mailbox Spam savedsince 6h
Regards Thomas