[RCD] Error in SMTP over SSL

A.L.E.C alec at alec.pl
Thu Aug 6 12:34:30 CEST 2009

Julien Vehent wrote:

> OK, so to use STARTTLS with roundcube, the postfix server must be
> configured with the option  smtpd_enforce_tls = yes, right ?

No, it is must not. As I see in the code, STARTTLS is called when authentication
is requested (when smtp_user and smtp_pass options in Roundcube config are set) and
(from Net_SMTP):

version_compare(PHP_VERSION, '5.1.0', '>=')
&& extension_loaded('openssl')
&& isset($this->_esmtp['STARTTLS'])
&& strncasecmp($this->host, 'ssl://', 6) != 0

Aleksander 'A.L.E.C' Machniak http://alec.pl gg:2275252
LAN Management System Developer http://lms.org.pl
Roundcube Webmail Project Developer http://roundcube.net
List info: http://lists.roundcube.net/dev/

More information about the Dev mailing list