Skip to content

Commit 6c22ede

Browse files
author
Marius Burkard
committed
Merge branch '6190-mail-quota-doesn-t-update-on-backup-deletion' into 'develop'
Resolve "Mail Quota doesn't update on backup deletion" Closes #6190 See merge request ispconfig/ispconfig3!1491
2 parents 3db98ba + c3c9c98 commit 6c22ede

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

server/lib/classes/cron.d/500-backup_mail.inc.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,7 @@ public function onRunJob() {
126126
if ($rec['maildir_format'] == 'mdbox') {
127127
if (empty($this->tmp_backup_dir)) $this->tmp_backup_dir = $rec['maildir'];
128128
// Create temporary backup-mailbox
129-
$app->system->exec_safe("su -c ?", 'dsync backup -u "'.$rec["email"].'" mdbox:' . $this->tmp_backup_dir . '/backup');
129+
$app->system->exec_safe("su -c ?", 'dsync backup -o plugin/acl= -o plugin/quota= -u "'.$rec["email"].'" mdbox:' . $this->tmp_backup_dir . '/backup');
130130

131131
if($backup_mode == 'userzip') {
132132
$mail_backup_file.='.zip';

0 commit comments

Comments
 (0)