From 0fd8879dd95feb2edee9cffb6f8009ff8f1699aa Mon Sep 17 00:00:00 2001 From: Herman van Rink <rink@initfour.nl> Date: Fri, 22 Apr 2022 23:41:40 +0200 Subject: [PATCH] comment --- server/scripts/handle_mailbox_soft_deleted.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/scripts/handle_mailbox_soft_deleted.sh b/server/scripts/handle_mailbox_soft_deleted.sh index e614dbbe47..7c7f280839 100644 --- a/server/scripts/handle_mailbox_soft_deleted.sh +++ b/server/scripts/handle_mailbox_soft_deleted.sh @@ -34,7 +34,7 @@ function compress_soft_deleted_mailbox { # List deleted mailboxs to archive # -mtime +7 ===> Only mailboxes deleted more then 7 days ago -# 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) # command: xxx-`date "+%Y%m%d%H%M%S"` 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 # example $line: "/var/vmail/example.com/info-20220101094242" -- GitLab