Re: [RCU] Config: ssl:// vs tls://

2015-12-18 Thread Sébastien BLAISOT
 

That's a bit more complicated. 

ssl:// = client uses a dedicated port for these connections and directly
start talking encrypted to the server (negotiate encryption ciphers) 

tls:// (in fact, it's not tls by itself, but STARTTLS) = client uses the
regular unencrypted port, start talking in plain unencrypted text saying
"STARTTLS" which means "I want to talk to you in an encrypted tunnel"
and only then start talking encrypted (negotiate encryption ciphers) 

both postfix and dovecot support both methods. There are a lot of good
tutorial on internet for their configuration. 

-- 
Sébastien
圣巴斯弟盎 

Le 16/12/2015 03:17, Paul Schreiber a écrit : 

> On Tue, Dec 15, 2015 at 9:08 PM, Zhang Huangbin  wrote:
> 
>>> (2) Would/can you ever use tls:// with IMAP? In which cases?
>>> (3) Why would SMTP fail with ssl://?
>> 
>> Do your SMTP and IMAP servers support them?
> 
> I'm using Dovecot and Postfix. Postfix seems to support TLS and Dovecot SSL, 
> but not vice-versa. I'm wondering what the distinction is when it comes to 
> Roundcube. 
> 
> In general terms, TLS is the new version of SSL, which is why this 
> UI/terminology is confusing. 
> 
> Paul 
> 
> ___
> Roundcube Users mailing list
> users@lists.roundcube.net
> http://lists.roundcube.net/mailman/listinfo/users [1]
 

Links:
--
[1] http://lists.roundcube.net/mailman/listinfo/users
___
Roundcube Users mailing list
users@lists.roundcube.net
http://lists.roundcube.net/mailman/listinfo/users

Re: [RCU] Config: ssl:// vs tls://

2015-12-15 Thread Paul Schreiber
On Tue, Dec 15, 2015 at 9:08 PM, Zhang Huangbin  wrote:

> > (2) Would/can you ever use tls:// with IMAP? In which cases?
> > (3) Why would SMTP fail with ssl://?
>
> Do your SMTP and IMAP servers support them?


I'm using Dovecot and Postfix. Postfix seems to support TLS and Dovecot
SSL, but not vice-versa. I'm wondering what the distinction is when it
comes to Roundcube.

In general terms, TLS is the new version of SSL, which is why this
UI/terminology is confusing.


Paul
___
Roundcube Users mailing list
users@lists.roundcube.net
http://lists.roundcube.net/mailman/listinfo/users

[RCU] Config: ssl:// vs tls://

2015-12-15 Thread Paul Schreiber
For my configuration to work, I have to use ssl:// for IMAP and tls:// for
SMTP:

$config['default_host'] = 'ssl://shrub.ca';
$config['default_port'] = 993;

$config['smtp_server'] = 'tls://shrub.ca';
$config['smtp_port'] = 587;


(1) Why is that?
(2) Would/can you ever use tls:// with IMAP? In which cases?
(3) Why would SMTP fail with ssl://?

ERROR: fsockopen(): unable to connect to ssl://localhost:587 (Unknown
error) (0)
ERROR: Failed to connect socket: fsockopen(): unable to connect to
ssl://localhost:587 (Unknown error) ()
<5kagdbq1> SMTP Error: Connection failed: Failed to connect socket:
fsockopen(): unable to connect to ssl://localhost:587 (Unknown error) in
/usr/local/roundcube/program/lib/Roundcube/rcube.php on line 1587 (POST
/?_task=mail&_unlock=loading1450230927143&_lang=en_US&_framed=1?_task=mail&_action=send)

ERROR: fsockopen(): unable to connect to ssl://shrub.ca:587 (Unknown error)
(0)
ERROR: Failed to connect socket: fsockopen(): unable to connect to ssl://
shrub.ca:587 (Unknown error) ()
<5kagdbq1> SMTP Error: Connection failed: Failed to connect socket:
fsockopen(): unable to connect to ssl://shrub.ca:587 (Unknown error) in
/usr/local/roundcube/program/lib/Roundcube/rcube.php on line 1587 (POST
/?_task=mail&_unlock=loading1450230965840&_lang=en_US&_framed=1?_task=mail&_action=send)



Paul
___
Roundcube Users mailing list
users@lists.roundcube.net
http://lists.roundcube.net/mailman/listinfo/users

Re: [RCU] Config: ssl:// vs tls://

2015-12-15 Thread Zhang Huangbin
> (2) Would/can you ever use tls:// with IMAP? In which cases?
> (3) Why would SMTP fail with ssl://?

Do your SMTP and IMAP servers support them?
‎

Zhang Huangbin, founder of iRedMail project: http://www.iredmail.org/
Time zone: GMT+8 (China/Beijing).

___
Roundcube Users mailing list
users@lists.roundcube.net
http://lists.roundcube.net/mailman/listinfo/users