You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
57 lines
1.5 KiB
PHTML
57 lines
1.5 KiB
PHTML
9 years ago
|
<?php
|
||
|
|
||
|
$config = array();
|
||
|
|
||
9 years ago
|
// Generals
|
||
9 years ago
|
$config['db_dsnw'] = 'sqlite:////data/roundcube.db';
|
||
9 years ago
|
$config['des_key'] = 'rcmail-!24ByteDESkey*Str';
|
||
|
$config['identities_level'] = 3;
|
||
|
$config['reply_all_mode'] = 1;
|
||
|
|
||
9 years ago
|
// List of active plugins (in plugins/ directory)
|
||
|
$config['plugins'] = array(
|
||
|
'archive',
|
||
|
'zipdownload',
|
||
9 years ago
|
'managesieve',
|
||
9 years ago
|
'markasjunk',
|
||
|
'password'
|
||
9 years ago
|
);
|
||
|
|
||
9 years ago
|
// Mail servers
|
||
9 years ago
|
$config['default_host'] = 'tls://imap';
|
||
9 years ago
|
$config['default_port'] = 143;
|
||
9 years ago
|
$config['smtp_server'] = 'tls://smtp';
|
||
|
$config['smtp_port'] = 587;
|
||
|
$config['smtp_user'] = '%u';
|
||
|
$config['smtp_pass'] = '%p';
|
||
|
|
||
|
// We access the IMAP and SMTP servers locally with internal names, SSL
|
||
|
// will obviously fail but this sounds better than allowing insecure login
|
||
|
// from the outter world
|
||
|
$ssl_no_check = array(
|
||
|
'ssl' => array(
|
||
|
'verify_peer' => false,
|
||
|
'verify_peer_name' => false,
|
||
|
),
|
||
|
);
|
||
|
$config['imap_conn_options'] = $ssl_no_check;
|
||
|
$config['smtp_conn_options'] = $ssl_no_check;
|
||
9 years ago
|
|
||
|
// 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';
|
||
|
|
||
9 years ago
|
// skin name: folder from skins/
|
||
|
$config['skin'] = 'larry';
|