Skip to content

Commit 0fd8879

Browse files
committed
comment
1 parent a1fd6fd commit 0fd8879

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

server/scripts/handle_mailbox_soft_deleted.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ function compress_soft_deleted_mailbox {
3434

3535
# List deleted mailboxs to archive
3636
# -mtime +7 ===> Only mailboxes deleted more then 7 days ago
37-
# Test that the last dir component matches e.g. xxx-20220101094242 (14 digits)
37+
# Test that the last dir component matches e.g. xxx-deleted-20220101094242 (14 digits)
3838
# command: xxx-`date "+%Y%m%d%H%M%S"`
3939
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
4040
# example $line: "/var/vmail/example.com/info-20220101094242"

0 commit comments

Comments
 (0)