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

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

[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

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