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 757bcbc commit f16295dCopy full SHA for f16295d
server/scripts/handle_mailbox_soft_deleted.sh
@@ -33,7 +33,7 @@ echo tar cvfj "$backupfile" --remove-files "$dir" 2> >( grep -v "tar: Removin
33
}
34
35
# List deleted mailboxs to archive
36
-# -mtime +7 ===> Only mailboxes deleted more then 7 days ago
+# -mtime +7 ===> Only mailboxes deleted more then 7 days ago
37
# Test that the last dir component matches e.g. xxx-20220101094242 (14 digits)
38
# command: xxx-`date "+%Y%m%d%H%M%S"`
39
find /var/vmail/*/[a-z0-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][0-9] -maxdepth 0 -type d -mtime +$delay_days | while read line; do
0 commit comments