-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathconfig.php
More file actions
26 lines (24 loc) · 764 Bytes
/
config.php
File metadata and controls
26 lines (24 loc) · 764 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
<?php
$CONF['configured'] = true;
$CONF['database_type'] = 'mysqli';
$CONF['database_host'] = getenv('MYSQL_HOST');
$CONF['database_user'] = getenv('MYSQL_USER');
$CONF['database_password'] = getenv('MYSQL_PASSWORD');
$CONF['database_name'] = getenv('MYSQL_DATABASE');
$CONF['encrypt'] = 'dovecot:SHA512-CRYPT';
$CONF['dovecotpw'] = "/usr/bin/doveadm pw";
$CONF['smtp_server'] = getenv('SMTP_HOST');
$CONF['domain_path'] = 'YES';
$CONF['domain_in_mailbox'] = 'NO';
$CONF['fetchmail'] = 'YES';
$CONF['sendmail'] = 'YES';
$CONF['default_aliases'] = array (
'abuse' => 'admin',
'hostmaster' => 'admin',
'postmaster' => 'admin',
'webmaster' => 'admin'
);
$CONF['show_footer_text'] = 'NO';
foreach (glob('/config/*.php') as $f) {
require_once $f;
}