Mailserver: Delete old messages from sent in inbox, use archive for storage.
This commit is contained in:
parent
433de9ec47
commit
63f3b6a32a
|
@ -141,6 +141,8 @@ in
|
||||||
script = ''
|
script = ''
|
||||||
doveadm expunge -A mailbox Junk SENTBEFORE 7d
|
doveadm expunge -A mailbox Junk SENTBEFORE 7d
|
||||||
doveadm expunge -A mailbox Trash SENTBEFORE 30d
|
doveadm expunge -A mailbox Trash SENTBEFORE 30d
|
||||||
|
doveadm expunge -A mailbox Inbox SENTBEFORE 365d
|
||||||
|
doveadm expunge -A mailbox Sent SENTBEFORE 365d
|
||||||
doveadm expunge -u trash@voronind.com mailbox Inbox SENTBEFORE 30d
|
doveadm expunge -u trash@voronind.com mailbox Inbox SENTBEFORE 30d
|
||||||
doveadm purge -A
|
doveadm purge -A
|
||||||
'';
|
'';
|
||||||
|
|
Loading…
Reference in a new issue