forked from evolix/ansible-roles
57 lines
1.6 KiB
Django/Jinja
57 lines
1.6 KiB
Django/Jinja
<?php
|
|
|
|
// Email pour les notifications
|
|
$conf['admin']['mail'] = '{{ evoadminmail_contact_email or general_alert_email | mandatory }}';
|
|
// login des superadmins
|
|
// Note: utile uniquement si domaines/driver=ldap, laisser vide sinon...
|
|
$conf['admin']['logins'] = array('evoadmin');
|
|
// What do you want?
|
|
// 0 = nothing...
|
|
// 1 = only mail accounts
|
|
// 2 = only samba accounts
|
|
// 3 = mail and samba accounts
|
|
$conf['admin']['what'] = 1;
|
|
// use hook.php instead of hook-dist.php
|
|
$conf['admin']['use_hook'] = false;
|
|
// enable quota
|
|
$conf['admin']['quota'] = true;
|
|
|
|
// compatibilite LDAP
|
|
$conf['evoadmin']['version'] = 3;
|
|
$conf['url']['webroot'] = '/';
|
|
|
|
$conf['domaines']['onlyone'] = false;
|
|
$conf['domaines']['driver'] = 'ldap';
|
|
$conf['domaines']['file']['all'] = array('example.com');
|
|
$conf['domaines']['file']['gid'] = 1000;
|
|
// Pack Mail "virtuel"... attention
|
|
// uniquement possible si $conf['admin']['what']=1 !!
|
|
$conf['domaines']['ldap']['virtual'] = true;
|
|
|
|
// Mode cluster
|
|
// Uniquement en mode mail seul et des utilisateurs virtuels
|
|
$conf['evoadmin']['cluster'] = false;
|
|
|
|
// auth SMTP by default ?
|
|
$conf['evoadmin']['useauthsmtp'] = false;
|
|
|
|
// Si comptes virtuels
|
|
$conf['unix']['uid'] = 5000;
|
|
|
|
// Si pas virtuel
|
|
$conf['unix']['minuid'] = 1000;
|
|
$conf['unix']['mingid'] = 1000;
|
|
|
|
$conf['html']['title'] = "Evoadmin Mail";
|
|
|
|
// gestion des logs
|
|
$conf['log']['priority'] = PEAR_LOG_DEBUG;
|
|
$conf['log']['name'] = '/var/log/evoadmin-mail.log';
|
|
$conf['log']['software'] = 'evoadminmail';
|
|
$conf['log']['enabled'] = true;
|
|
|
|
// samba
|
|
$conf['samba']['dn'] = 'DOMAINNAME';
|
|
$conf['samba']['sid'] = 'S-1-5-21-XXX-XXX-XXX';
|
|
$conf['samba']['admin_default'] = false;
|