|
|
@ -13,8 +13,7 @@ $config['plugins'] = array(
|
|
|
|
'archive',
|
|
|
|
'archive',
|
|
|
|
'zipdownload',
|
|
|
|
'zipdownload',
|
|
|
|
'managesieve',
|
|
|
|
'managesieve',
|
|
|
|
'markasjunk',
|
|
|
|
'markasjunk'
|
|
|
|
'password'
|
|
|
|
|
|
|
|
);
|
|
|
|
);
|
|
|
|
|
|
|
|
|
|
|
|
// Mail servers
|
|
|
|
// Mail servers
|
|
|
@ -37,20 +36,5 @@ $ssl_no_check = array(
|
|
|
|
$config['imap_conn_options'] = $ssl_no_check;
|
|
|
|
$config['imap_conn_options'] = $ssl_no_check;
|
|
|
|
$config['smtp_conn_options'] = $ssl_no_check;
|
|
|
|
$config['smtp_conn_options'] = $ssl_no_check;
|
|
|
|
|
|
|
|
|
|
|
|
// Password management
|
|
|
|
|
|
|
|
$config['password_driver'] = 'sql';
|
|
|
|
|
|
|
|
$config['password_confirm_current'] = true;
|
|
|
|
|
|
|
|
$config['password_minimum_length'] = 6;
|
|
|
|
|
|
|
|
$config['password_db_dsn'] = 'sqlite:////data/freeposte.db';
|
|
|
|
|
|
|
|
$config['password_query'] = '
|
|
|
|
|
|
|
|
UPDATE user SET password=%D
|
|
|
|
|
|
|
|
WHERE id IN (SELECT user.id FROM user
|
|
|
|
|
|
|
|
INNER JOIN domain ON domain.id=user.domain_id
|
|
|
|
|
|
|
|
WHERE domain.name=%d AND user.name=%l
|
|
|
|
|
|
|
|
)
|
|
|
|
|
|
|
|
';
|
|
|
|
|
|
|
|
$config['password_dovecotpw'] = 'doveadm pw';
|
|
|
|
|
|
|
|
$confog['password_dovecotpw_method'] = 'SHA512-CRYPT';
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// skin name: folder from skins/
|
|
|
|
// skin name: folder from skins/
|
|
|
|
$config['skin'] = 'larry';
|
|
|
|
$config['skin'] = 'larry';
|
|
|
|