Thanks Abel,

You could try this:

$config['smtp_conn_options'] = array(
  'ssl' => array(
     'peer_name' => fqdn.used.to.create.servercert.pem,
     'verify_peer'  => true,
     'verify_depth' => 3,
     'cafile'       => '/var/qmail/control/servercert.pem',
  ),

);


Eric


On 7/4/2019 2:25 PM, a...@globalgate.com.ar wrote:

Hello Eric et all,

Just for the record, i have verified it twice with two boxes.

- install QMT as usual with Roundcube
  Stock CentOS7 install PHP 5.4 and roundcubemail-1.1.12-2.el7.noarch

  WebMail RoundCube works perfectly.


Then:

- Follow http://www.qmailtoaster.net/roundcube.html in order to use Carddav

  Remi Repo upgrades:
  PHP 5.4 to PHP 7.1 as desired.
  and  roundcube 1.1.12-2 to roundcubemail-1.3.9-1

  After the installation,  Roundcube webmail fails when sending with an
  "SMTP Error (220): Authentication failed."


 Enabling roundcube debug, you can see lines like this:

  ERROR: STARTTLS failed ()
  ERROR: Invalid response code received from server (-1)
  <e05a7e10> SMTP Error: Authentication failure: STARTTLS failed (Code: ) in /usr/share/roundcubemail/program/lib/Roundcube/rcube.php on line 1673 (POST /email/?_task=mail&_unlock=loading1562266704995&_lang=en_US&_framed=1&_action=send)


- Problem is solved only if add the following in my
  /etc/roundcubemail/config.inc.php

  $config['smtp_conn_options'] = array(
  'ssl' => array(
  'verify_peer' => false,
  'verify_peer_name' => false,
  ),
  );


I wonder if this is the correct approach and if any else is dealing or can reproduce this issue at least.


kind regards,



--

Abel Lucano ____________________________________________________

GlobalGate Ingeniería

---------------------------------------------------------------------
To unsubscribe, e-mail: qmailtoaster-list-unsubscr...@qmailtoaster.com
For additional commands, e-mail: qmailtoaster-list-h...@qmailtoaster.com


---------------------------------------------------------------------
To unsubscribe, e-mail: qmailtoaster-list-unsubscr...@qmailtoaster.com
For additional commands, e-mail: qmailtoaster-list-h...@qmailtoaster.com

Reply via email to