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.
70 lines
2.0 KiB
PHTML
70 lines
2.0 KiB
PHTML
9 years ago
|
<?php
|
||
|
|
||
|
$config = array();
|
||
|
|
||
9 years ago
|
// Generals
|
||
3 years ago
|
$config['db_dsnw'] = '{{ DB_DSNW }}';
|
||
7 years ago
|
$config['temp_dir'] = '/tmp/';
|
||
3 years ago
|
$config['des_key'] = '{{ SECRET_KEY }}';
|
||
6 years ago
|
$config['cipher_method'] = 'AES-256-CBC';
|
||
6 years ago
|
$config['identities_level'] = 0;
|
||
9 years ago
|
$config['reply_all_mode'] = 1;
|
||
3 years ago
|
$config['log_driver'] = 'stdout';
|
||
|
$config['zipdownload_selection'] = true;
|
||
|
$config['enable_spellcheck'] = true;
|
||
|
$config['spellcheck_engine'] = 'pspell';
|
||
3 years ago
|
$config['session_lifetime'] = {{ SESSION_TIMEOUT_MINUTES | int }};
|
||
7 years ago
|
|
||
9 years ago
|
// Mail servers
|
||
2 years ago
|
$config['imap_host'] = '{{ FRONT_ADDRESS or "front" }}:10143';
|
||
|
$config['smtp_host'] = '{{ FRONT_ADDRESS or "front" }}:10025';
|
||
9 years ago
|
$config['smtp_user'] = '%u';
|
||
|
$config['smtp_pass'] = '%p';
|
||
|
|
||
2 years ago
|
#old deprecated settings will be replaced from roundcube 1.6.
|
||
|
$config['smtp_server'] = '{{ FRONT_ADDRESS or "front" }}';
|
||
|
$config['smtp_port'] = '10025';
|
||
|
$config['default_host'] = '{{ FRONT_ADDRESS or "front" }}';
|
||
|
$config['default_port'] = '10143';
|
||
|
|
||
8 years ago
|
// Sieve script management
|
||
3 years ago
|
$config['managesieve_host'] = '{{ IMAP_ADDRESS or "imap" }}';
|
||
8 years ago
|
|
||
9 years ago
|
// We access the IMAP and SMTP servers locally with internal names, SSL
|
||
|
// will obviously fail but this sounds better than allowing insecure login
|
||
2 years ago
|
// from the outter world
|
||
9 years ago
|
$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;
|
||
8 years ago
|
$config['managesieve_conn_options'] = $ssl_no_check;
|
||
9 years ago
|
|
||
3 years ago
|
// roundcube customization
|
||
|
$config['product_name'] = 'Mailu Webmail';
|
||
|
{%- if ADMIN and WEB_ADMIN %}
|
||
|
$config['support_url'] = '../..{{ WEB_ADMIN }}';
|
||
|
{%- endif %}
|
||
|
$config['plugins'] = array({{ PLUGINS }});
|
||
|
|
||
9 years ago
|
// skin name: folder from skins/
|
||
5 years ago
|
$config['skin'] = 'elastic';
|
||
7 years ago
|
|
||
3 years ago
|
// configure mailu sso plugin
|
||
|
$config['sso_logout_url'] = '/sso/logout';
|
||
|
|
||
|
// configure enigma gpg plugin
|
||
7 years ago
|
$config['enigma_pgp_homedir'] = '/data/gpg';
|
||
5 years ago
|
|
||
3 years ago
|
// set From header for DKIM signed message delivery reports
|
||
5 years ago
|
$config['mdn_use_from'] = true;
|
||
3 years ago
|
|
||
3 years ago
|
// includes
|
||
|
{%- for inc in INCLUDES %}
|
||
3 years ago
|
include('/overrides/{{ inc }}');
|
||
3 years ago
|
{%- endfor %}
|
||
|
|