Hello,

I have a working installation of roundcube 1.3.10 and want to upgrade it to 1.4.X. But from 1.4.0 on I can't get smtp authorization working. Of course I adjusted the configuration for 1.4.X:

$config['smtp_server'] = 'tls://hostname.domain.tld';
$config['smtp_port'] = 587;
// I also tried $config['smtp_port'] = 465;
$config['smtp_timeout'] = 0;
$config['smtp_user'] = '%u';
$config['smtp_pass'] = '%p';
$config['smtp_auth_type'] = 'PLAIN';
// i also tried $config['smtp_auth_type'] = '';
$config['smtp_debug'] = true;

In thunderbird, seamonkey and K9 on android I can use both port 465 with SSL/TLS and port 587 with STARTTLS and plain passwords without any problem to send emails.

The smtp debug log:
[04-Jan-2020 21:53:02 +0100]: <3e1fe9a9> Connecting to tls://hostname.domain.tld:587... [04-Jan-2020 21:53:02 +0100]: <3e1fe9a9> Recv: 220 hostname.domain.tld ESMTP Postfix
[04-Jan-2020 21:53:02 +0100]: <3e1fe9a9> Send: EHLO hostname.domain.tld
[04-Jan-2020 21:53:02 +0100]: <3e1fe9a9> Recv: 250-hostname.domain.tld
[04-Jan-2020 21:53:02 +0100]: <3e1fe9a9> Recv: 250-PIPELINING
[04-Jan-2020 21:53:02 +0100]: <3e1fe9a9> Recv: 250-SIZE 50000000
[04-Jan-2020 21:53:02 +0100]: <3e1fe9a9> Recv: 250-ETRN
[04-Jan-2020 21:53:02 +0100]: <3e1fe9a9> Recv: 250-STARTTLS
[04-Jan-2020 21:53:02 +0100]: <3e1fe9a9> Recv: 250-ENHANCEDSTATUSCODES
[04-Jan-2020 21:53:02 +0100]: <3e1fe9a9> Recv: 250-8BITMIME
[04-Jan-2020 21:53:02 +0100]: <3e1fe9a9> Recv: 250-DSN
[04-Jan-2020 21:53:02 +0100]: <3e1fe9a9> Recv: 250-SMTPUTF8
[04-Jan-2020 21:53:02 +0100]: <3e1fe9a9> Recv: 250 CHUNKING
[04-Jan-2020 21:53:02 +0100]: <3e1fe9a9> Send: STARTTLS
[04-Jan-2020 21:53:02 +0100]: <3e1fe9a9> Recv: 220 2.0.0 Ready to start TLS
[04-Jan-2020 21:53:02 +0100]: <3e1fe9a9> Send: EHLO hostname.domain.tld
[04-Jan-2020 21:53:02 +0100]: <3e1fe9a9> Recv: 250-hostname.domain.tld
[04-Jan-2020 21:53:02 +0100]: <3e1fe9a9> Recv: 250-PIPELINING
[04-Jan-2020 21:53:02 +0100]: <3e1fe9a9> Recv: 250-SIZE 50000000
[04-Jan-2020 21:53:02 +0100]: <3e1fe9a9> Recv: 250-ETRN
[04-Jan-2020 21:53:02 +0100]: <3e1fe9a9> Recv: 250-ENHANCEDSTATUSCODES
[04-Jan-2020 21:53:02 +0100]: <3e1fe9a9> Recv: 250-8BITMIME
[04-Jan-2020 21:53:02 +0100]: <3e1fe9a9> Recv: 250-DSN
[04-Jan-2020 21:53:02 +0100]: <3e1fe9a9> Recv: 250-SMTPUTF8
[04-Jan-2020 21:53:02 +0100]: <3e1fe9a9> Recv: 250 CHUNKING
[04-Jan-2020 21:53:02 +0100]: <3e1fe9a9> Send: QUIT
[04-Jan-2020 21:53:02 +0100]: <3e1fe9a9> Recv: 221 2.0.0 Bye

The corresponding error log:
[04-Jan-2020 21:53:02 +0100]: <3e1fe9a9> PHP Error: SMTP server does not support authentication (POST /?_task=mail&_unlock=loading1578171182456&_framed=1&_lang=de&_action=send) [04-Jan-2020 21:53:02 +0100]: <3e1fe9a9> SMTP Error: Authentication failure: SMTP server does not support authentication (Code: ) in /usr/local/www/roundcube-1.4.2/program/lib/Roundcube/rcube.php on line 1689 (POST /?_task=mail&_unlock=loading1578171182456&_framed=1&_lang=de&_action=send)

My system is FreeBSD 12.1 with
Server Version: Apache/2.4.41 (FreeBSD) OpenSSL/1.1.1d-freebsd PHP/7.3.13
In the moment I switch back to RC 1.3.10 by changing a filesystem link between two directories.

Any help is much appreciated! Thanks in advance

Dirk
_______________________________________________
Roundcube Users mailing list
[email protected]
http://lists.roundcube.net/mailman/listinfo/users

Reply via email to