=sprintf($lang['debug']['log_info'], getenv('LOG_LINES') + 1);?>
'system', 'task' => 'df', 'dir' => '/var/vmail');
$vmail_df = explode(',', json_decode(docker('post', 'dovecot-mailcow', 'exec', $exec_fields), true));
$used_percent = substr($vmail_df[4], 0, -1);
$quota_stats = mailbox('get','quota_stats');
$quotaPercent1 = round(($quota_stats['total_quota']/$vmail_df[3])*100);
$quotaPercent2 = round((($quota_stats['total_quota']-$quota_stats['used_bytes'])/$vmail_df[3])*100);
$quotaPercent2 = ($quotaPercent2+$used_percent>100) ? 100-$used_percent : $quotaPercent2;
?>
=$lang['debug']['disk_usage'];?>
/var/vmail on =$vmail_df[0];?>
=$lang['debug']['disk_space'];?> =formatBytes($vmail_df[3]*1024);?>
=$lang['debug']['disk_used'];?> =formatBytes($vmail_df[2]*1024);?> (=$used_percent;?>%)
=$lang['debug']['total_quota'];?> =formatBytes($quota_stats['total_quota']*1024);?> (=$quotaPercent1;?>%)
=$lang['debug']['solr_status'];?>
=$lang['debug']['jvm_memory_solr'];?>: =$solr_status['jvm']['memory']['total'] - $solr_status['jvm']['memory']['free'];?> / =$solr_status['jvm']['memory']['total'];?>
(=round($solr_status['jvm']['memory']['raw']['used%']);?>%)
=$lang['debug']['solr_uptime'];?>: ~=round($solr_status['status']['dovecot-fts']['uptime'] / 1000 / 60 / 60);?>h
=$lang['debug']['solr_started_at'];?>: =$solr_status['status']['dovecot-fts']['startTime'];?>
=$lang['debug']['solr_last_modified'];?>: =$solr_status['status']['dovecot-fts']['index']['lastModified'];?>
=$lang['debug']['solr_size'];?>: =$solr_status['status']['dovecot-fts']['index']['size'];?>
=$lang['debug']['solr_docs'];?>: =$solr_status['status']['dovecot-fts']['index']['numDocs'];?>
=$lang['debug']['solr_dead'];?>
=$lang['debug']['containers_info'];?>
$container_info) {
?>
-
=$container . ' (' . $container_info['Config']['Image'] . ')';?>
setTimestamp(mktime(
$StartedAt['hour'],
$StartedAt['minute'],
$StartedAt['second'],
$StartedAt['month'],
$StartedAt['day'],
$StartedAt['year']));
$user_tz = new DateTimeZone(getenv('TZ'));
$date->setTimezone($user_tz);
$started = $date->format('r');
}
else {
$started = '?';
}
?>
(=$lang['debug']['started_on'];?> =$started;?>),
=$lang['debug']['restart_container'];?>
Postfix
mailcow UI
Dovecot
SOGo
Netfilter
Rspamd history
Autodiscover
Watchdog
ACME
API
Ratelimits
=$lang['admin']['hash_remove_info'];?>