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

start enableing email quotas.

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