We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 4a569d9 + 56ae253 commit d3be569Copy full SHA for d3be569
1 file changed
server/lib/classes/cron.d/100-monitor_email_quota.inc.php
@@ -81,7 +81,8 @@ public function onRunJob() {
81
//* with dovecot we can use doveadm instead of 'du -s'
82
$dovecot = false;
83
if (isset($mail_config['pop3_imap_daemon']) && $mail_config ['pop3_imap_daemon'] = 'dovecot' && is_executable('doveadm')) {
84
- $dovecot = true;
+ exec('doveadm quota 2>&1', $tmp_output, $tmp_retval); // with dovecot 2.2.x 'doveadm quota' is unuseable
85
+ if ($retval = 64) $dovecot = true;
86
}
87
88
foreach($mailboxes as $mb) {
0 commit comments