|
|
@ -18,16 +18,19 @@ $config['plugins'] = array(
|
|
|
|
'enigma'
|
|
|
|
'enigma'
|
|
|
|
);
|
|
|
|
);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
$front = getenv('FRONT_ADDRESS') ? getenv('FRONT_ADDRESS') : 'front';
|
|
|
|
|
|
|
|
$imap = getenv('IMAP_ADDRESS') ? getenv('IMAP_ADDRESS') : 'imap';
|
|
|
|
|
|
|
|
|
|
|
|
// Mail servers
|
|
|
|
// Mail servers
|
|
|
|
$config['default_host'] = getenv('FRONT_ADDRESS') || 'front';
|
|
|
|
$config['default_host'] = $front;
|
|
|
|
$config['default_port'] = 10143;
|
|
|
|
$config['default_port'] = 10143;
|
|
|
|
$config['smtp_server'] = getenv('FRONT_ADDRESS') || 'front';
|
|
|
|
$config['smtp_server'] = $front;
|
|
|
|
$config['smtp_port'] = 10025;
|
|
|
|
$config['smtp_port'] = 10025;
|
|
|
|
$config['smtp_user'] = '%u';
|
|
|
|
$config['smtp_user'] = '%u';
|
|
|
|
$config['smtp_pass'] = '%p';
|
|
|
|
$config['smtp_pass'] = '%p';
|
|
|
|
|
|
|
|
|
|
|
|
// Sieve script management
|
|
|
|
// Sieve script management
|
|
|
|
$config['managesieve_host'] = getenv('IMAP_ADDRESS') || 'imap';
|
|
|
|
$config['managesieve_host'] = $imap;
|
|
|
|
$config['managesieve_usetls'] = false;
|
|
|
|
$config['managesieve_usetls'] = false;
|
|
|
|
|
|
|
|
|
|
|
|
// We access the IMAP and SMTP servers locally with internal names, SSL
|
|
|
|
// We access the IMAP and SMTP servers locally with internal names, SSL
|
|
|
|