Re: [qmailtoaster] RoundCube+Carddav in CentOS 7

2019-07-04 Thread Remo Mattei
Thanks I will check that out Eric..

Remo 

> On Jul 4, 2019, at 16:35, Eric Broch  wrote:
> 
> The php fixes for QMT tools is in the notes from the website (4.  Upgrading 
> php-5.4 to >php-7.1 (remi) on CentOS 7 causes QMT web failures, fixes below) :
> 
> http://www.qmailtoaster.com/notes.html 
> 
> 
> 
> On 7/4/2019 4:10 PM, Remo Mattei wrote:
>> Here is my CentOS 7 with round running php 7 (there are a few things broken 
>> on QMT for php 7.1 but I am not using those tools)
>> 
>> roundcubemail-1.4~rc1-1.el7.remi.noarch
>> Is what I have installed
>> Works well.
>> 
>> Remo 
>> 
>> 
>>> On Jul 4, 2019, at 16:01, Eric Broch  
>>>  wrote:
>>> 
>>> 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)
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 
>>> 
>>> 
>> 
>> -
>> To unsubscribe, e-mail: qmailtoaster-list-unsubscr...@qmailtoaster.com 
>> 
>> For additional commands, e-mail: qmailtoaster-list-h...@qmailtoaster.com 
>> 
>> 



Re: [qmailtoaster] RoundCube+Carddav in CentOS 7

2019-07-04 Thread Eric Broch
The php fixes for QMT tools is in the notes from the website (4. 
Upgrading php-5.4 to >php-7.1 (remi) on CentOS 7 causes QMT web 
failures, fixes below) :


http://www.qmailtoaster.com/notes.html



On 7/4/2019 4:10 PM, Remo Mattei wrote:

Here is my CentOS 7 with round running php 7 (there are a few things broken on 
QMT for php 7.1 but I am not using those tools)

roundcubemail-1.4~rc1-1.el7.remi.noarch
Is what I have installed
Works well.

Remo



On Jul 4, 2019, at 16:01, Eric Broch  wrote:

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)
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



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



Re: [qmailtoaster] RoundCube+Carddav in CentOS 7

2019-07-04 Thread Remo Mattei
Here is my CentOS 7 with round running php 7 (there are a few things broken on 
QMT for php 7.1 but I am not using those tools)

roundcubemail-1.4~rc1-1.el7.remi.noarch
Is what I have installed
Works well.

Remo 


> On Jul 4, 2019, at 16:01, Eric Broch  wrote:
> 
> 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)
>>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
> 


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



Re: [qmailtoaster] RoundCube+Carddav in CentOS 7

2019-07-04 Thread Eric Broch

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)
   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