Commit 4a75ab83 authored by latham's avatar latham
Browse files

start enableing email quotas.

parent 94cb904a
......@@ -48,10 +48,7 @@ protocol lda {
## Plugin settings
plugin {
quota = maildir
# Disabled user quota reporting for the first upload
# quota = dict:user::file:/var/vmail/%n_%d_quota
quota = dict:user::file:/var/vmail/%n_%d_quota
# Because the mail quota is called in the user query
# the maildir quota does not need to be set.
# You do not need: quota = maildir
......
......@@ -220,7 +220,7 @@ $form["tabs"]['address'] = array (
'datatype' => 'VARCHAR',
'formtype' => 'SELECT',
'default' => 'DE',
'default' => '$conf["country"]',
'datasource' => array ( 'type' => 'SQL',
'querystring' => 'SELECT iso,printable_name FROM country ORDER BY printable_name',
'keyfield'=> 'iso',
......
......@@ -149,7 +149,6 @@ class monitor_tools {
return array('name' => $distname, 'version' => $distver, 'id' => $distid, 'baseid' => $distbaseid);
}
/*
//** Email Quota
public function monitorEmailQuota() {
global $conf;
......@@ -184,7 +183,6 @@ class monitor_tools {
$res['state'] = $state;
return $res;
}
*/
//** Filesystem Quota
public function monitorHDQuota() {
......
......@@ -86,7 +86,7 @@ class monitor_core_module {
/*
* Calls the single Monitoring steps
*/
// $this->_monitorEmailQuota();
$this->_monitorEmailQuota();
$this->_monitorHDQuota();
$this->_monitorServer();
$this->_monitorOsVer();
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment