1
0
mirror of https://github.com/mail-in-a-box/mailinabox.git synced 2025-04-04 00:17:06 +00:00

Update roundcube config for changes introduced in 1.6

This commit is contained in:
downtownallday 2022-06-25 16:56:01 -04:00
parent 9537282203
commit c47807776b

View File

@ -132,8 +132,7 @@ cat > $RCM_CONFIG <<EOF;
\$config['log_dir'] = '/var/log/roundcubemail/'; \$config['log_dir'] = '/var/log/roundcubemail/';
\$config['temp_dir'] = '/var/tmp/roundcubemail/'; \$config['temp_dir'] = '/var/tmp/roundcubemail/';
\$config['db_dsnw'] = 'sqlite:///$STORAGE_ROOT/mail/roundcube/roundcube.sqlite?mode=0640'; \$config['db_dsnw'] = 'sqlite:///$STORAGE_ROOT/mail/roundcube/roundcube.sqlite?mode=0640';
\$config['default_host'] = 'ssl://localhost'; \$config['imap_host'] = 'ssl://localhost:993';
\$config['default_port'] = 993;
\$config['imap_conn_options'] = array( \$config['imap_conn_options'] = array(
'ssl' => array( 'ssl' => array(
'verify_peer' => false, 'verify_peer' => false,
@ -141,7 +140,7 @@ cat > $RCM_CONFIG <<EOF;
), ),
); );
\$config['imap_timeout'] = 15; \$config['imap_timeout'] = 15;
\$config['smtp_server'] = 'tls://127.0.0.1'; \$config['smtp_host'] = 'tls://127.0.0.1:587';
\$config['smtp_conn_options'] = array( \$config['smtp_conn_options'] = array(
'ssl' => array( 'ssl' => array(
'verify_peer' => false, 'verify_peer' => false,
@ -162,8 +161,7 @@ cat > $RCM_CONFIG <<EOF;
\$config['session_lifetime'] = 60; \$config['session_lifetime'] = 60;
\$config['ldap_public']['public'] = array( \$config['ldap_public']['public'] = array(
'name' => 'Directory', 'name' => 'Directory',
'hosts' => array('${LDAP_SERVER}'), 'hosts' => array('${LDAP_URL}'),
'port' => ${LDAP_SERVER_PORT},
'user_specific' => false, 'user_specific' => false,
'scope' => 'sub', 'scope' => 'sub',
'base_dn' => '${LDAP_USERS_BASE}', 'base_dn' => '${LDAP_USERS_BASE}',