Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
ISPConfig
ISPConfig 3
Commits
d3be5691
Commit
d3be5691
authored
Jun 12, 2014
by
Marius Cramer
Browse files
Merge branch 'master' into 'master'
Master
parents
4a569d97
56ae2538
Changes
1
Show whitespace changes
Inline
Side-by-side
server/lib/classes/cron.d/100-monitor_email_quota.inc.php
View file @
d3be5691
...
...
@@ -81,7 +81,8 @@ class cronjob_monitor_email_quota extends cronjob {
//* with dovecot we can use doveadm instead of 'du -s'
$dovecot
=
false
;
if
(
isset
(
$mail_config
[
'pop3_imap_daemon'
])
&&
$mail_config
[
'pop3_imap_daemon'
]
=
'dovecot'
&&
is_executable
(
'doveadm'
))
{
$dovecot
=
true
;
exec
(
'doveadm quota 2>&1'
,
$tmp_output
,
$tmp_retval
);
// with dovecot 2.2.x 'doveadm quota' is unuseable
if
(
$retval
=
64
)
$dovecot
=
true
;
}
foreach
(
$mailboxes
as
$mb
)
{
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment