We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a1fd6fd commit 0fd8879Copy full SHA for 0fd8879
server/scripts/handle_mailbox_soft_deleted.sh
@@ -34,7 +34,7 @@ function compress_soft_deleted_mailbox {
34
35
# List deleted mailboxs to archive
36
# -mtime +7 ===> Only mailboxes deleted more then 7 days ago
37
-# Test that the last dir component matches e.g. xxx-20220101094242 (14 digits)
+# Test that the last dir component matches e.g. xxx-deleted-20220101094242 (14 digits)
38
# command: xxx-`date "+%Y%m%d%H%M%S"`
39
find /var/vmail/*/[a-z0-9.-]*-deleted-[0-9][0-9][0-9][0-9][0-9][0-9][0-9][0-9][0-9][0-9][0-9][0-9][0-9][0-9] -maxdepth 0 -type d -mtime +$delay_days | while read line; do
40
# example $line: "/var/vmail/example.com/info-20220101094242"
0 commit comments