WEBcoast Logo

Roundcube does not send mails via Exim with STARTTLS

A customer reported, that it is not possible to send emails via the Roundcube webmailer. So I started digging.

In the end I found the cause in the URL to the SMTP server. If Exim is configured to use STARTTLS it is necessary to set the protocol in the URL accordingly. Furthermore I set the SMTP port correctly. The lines in the config.inc.php look like follows: 

$config['smtp_server'] = 'tls://host.domain.tld';
$config['smtp_port'] = 587;