start enableing email quotas.
| | |
| | | |
| | | ## 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 |
| | |
| | | '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', |
| | |
| | | return array('name' => $distname, 'version' => $distver, 'id' => $distid, 'baseid' => $distbaseid); |
| | | } |
| | | |
| | | /* |
| | | //** Email Quota |
| | | public function monitorEmailQuota() { |
| | | global $conf; |
| | |
| | | $res['state'] = $state; |
| | | return $res; |
| | | } |
| | | */ |
| | | |
| | | //** Filesystem Quota |
| | | public function monitorHDQuota() { |
| | |
| | | /* |
| | | * Calls the single Monitoring steps |
| | | */ |
| | | // $this->_monitorEmailQuota(); |
| | | $this->_monitorEmailQuota(); |
| | | $this->_monitorHDQuota(); |
| | | $this->_monitorServer(); |
| | | $this->_monitorOsVer(); |