Skip to content

Commit 968785c

Browse files
committed
Upgrade Roundcube
1 parent a4b4247 commit 968785c

2 files changed

Lines changed: 3 additions & 7 deletions

File tree

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ RUN export DEBIAN_FRONTEND=noninteractive && apt-get update && apt-get install -
1111
#ADD etc/sites/ /etc/apache2/sites-enabled/
1212
#ADD src/ /var/www/html/
1313
RUN chown -R www-data:www-data /var/www/html
14-
ENV ROUNDCUBE_VERSION="1.5.2"
14+
ENV ROUNDCUBE_VERSION="1.6.0"
1515
ENV ROUNDCUBE_REVISION="0"
1616

1717
RUN cd /var/www/html \

config.inc.php

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@
5555
// %d - domain (http hostname $_SERVER['HTTP_HOST'] without the first part)
5656
// %s - domain name after the '@' from e-mail address provided at login screen
5757
// For example %n = mail.domain.tld, %t = domain.tld
58-
$config['default_host'] = 'tls://'.$_ENV['RC_IMAP_SERVER_NAME'];
58+
$config['imap_host'] = 'tls://'.$_ENV['RC_IMAP_SERVER_NAME']:143;
5959
$config['imap_conn_options'] = array(
6060
'ssl' => array('verify_peer' => false, 'verify_peer_name' => false),
6161
'tls' => array('verify_peer' => false, 'verify_peer_name' => false),
@@ -70,16 +70,12 @@
7070
// %d - domain (http hostname $_SERVER['HTTP_HOST'] without the first part)
7171
// %z - IMAP domain (IMAP hostname without the first part)
7272
// For example %n = mail.domain.tld, %t = domain.tld
73-
$config['smtp_server'] = 'tls://'.$_ENV['RC_SMTP_SERVER_NAME'];
73+
$config['smtp_host'] = 'tls://'.$_ENV['RC_SMTP_SERVER_NAME']:587;
7474
$config['smtp_conn_options'] = array(
7575
'ssl' => array('verify_peer' => false, 'verify_peer_name' => false),
7676
'tls' => array('verify_peer' => false, 'verify_peer_name' => false),
7777
);
7878

79-
// SMTP port (default is 25; use 587 for STARTTLS or 465 for the
80-
// deprecated SSL over SMTP (aka SMTPS))
81-
$config['smtp_port'] = 587;
82-
8379
// SMTP username (if required) if you use %u as the username Roundcube
8480
// will use the current username for login
8581
$config['smtp_user'] = '%u';

0 commit comments

Comments
 (0)