Purge Trash automaticaly.
This commit is contained in:
parent
d6f4f5f45a
commit
6da62f1120
@ -1,4 +1,8 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
|
doveadm expunge -u admin mailbox Trash savedbefore 30d
|
||||||
|
echo `date +"%F %T"` "Trash purged"
|
||||||
|
|
||||||
doveadm expunge -u admin mailbox Feeds.phoronix savedbefore 60d
|
doveadm expunge -u admin mailbox Feeds.phoronix savedbefore 60d
|
||||||
doveadm expunge -u admin mailbox Feeds.hardwarefr savedbefore 60d
|
doveadm expunge -u admin mailbox Feeds.hardwarefr savedbefore 60d
|
||||||
doveadm expunge -u admin mailbox Feeds.pcinpact_articles savedbefore 60d
|
doveadm expunge -u admin mailbox Feeds.pcinpact_articles savedbefore 60d
|
||||||
|
Loading…
Reference in New Issue
Block a user