>> I'm trying to figure out why I can't connect to 587 in Squirrelmail. >> I can in Thunderbird. >> > > You did select STARTTLS in the SquirrelMail config, right? The postfix logs > might give you an idea what it's trying to do.
If I try to send mail in Squirrelmail with "Secure SMTP (TLS) : true" I get "0 Can't open SMTP stream.". If I do the same with "Secure SMTP (TLS) : false" I get "530 5.7.0 Must issue a STARTTLS command first". The postfix log gives me these: [postfix/smtpd] connect from localhost[127.0.0.1] [postfix/smtpd] lost connection after UNKNOWN from localhost[127.0.0.1] [postfix/smtpd] disconnect from localhost[127.0.0.1] [postfix/smtpd] connect from localhost[127.0.0.1] [postfix/smtpd] lost connection after EHLO from localhost[127.0.0.1] [postfix/smtpd] disconnect from localhost[127.0.0.1] > The docs say that you need PHP with the stream_socket_enable_crypto() > function. If you're like me, you may have casually disabled some critical > PHP feature via USE flags =) > > If you have that function, this page will complain that the function expects > 2 parameters and was given zero: > > $ cat test.php > <?php stream_socket_enable_crypto(); ?> > > $ php test.php > PHP Warning: stream_socket_enable_crypto() expects at least 2 parameters, 0 > given in /home/mjo/test.php on line 1 > > Warning: stream_socket_enable_crypto() expects at least 2 parameters, 0 > given in /home/mjo/test.php on line 1 I get the same error. Squirrelmail does send mail over SSL 465. - Grant