Benny Pedersen wrote:
On Wed, 05 Aug 2009 23:17:55 +0200, Julien Vehent <[email protected]>
wrote:

$rcmail_config['smtp_server'] = 'ssl://localhost';

try without ssl, you will have tls enabled in port 25 ?


It works fine without ssl.
My postfix configuration enables STARTTLS on port 25.

$ nc 192.168.1.55 25
220 smtp.linuxwall.info
ehlo mail
250-zerhuel.linuxwall.info
250-PIPELINING
250-SIZE 10240000
250-VRFY
250-ETRN
250-STARTTLS
250-ENHANCEDSTATUSCODES
250-8BITMIME
250 DSN

Authentication using PLAIN and LOGIN is available only after activation of STARTTLS, so it doesn't appear above.
But if I redo the connection using openssl :

$ openssl s_client -connect xxx.xxx.xxx.xxx:25 -starttls smtp
CONNECTED(00000003)
[SSL JUNK]
---
250 DSN
ehlo mail
250-zerhuel.linuxwall.info
250-PIPELINING
250-SIZE 10240000
250-VRFY
250-ETRN
250-AUTH PLAIN LOGIN
250-ENHANCEDSTATUSCODES
250-8BITMIME
250 DSN



$rcmail_config['smtp_port'] = 25;
$rcmail_config['smtp_user'] = '%u';
$rcmail_config['smtp_pass'] = '%p';
$rcmail_config['smtp_auth_type'] = 'PLAIN';

here i have null, and my 0.3 does fine smtp auth see my header :)


I tried with both NULL and PLAIN, same result...


Julien



--- 8< --- detachments --- 8< ---
The following attachments have been detached and are available for viewing.
 http://detached.gigo.com/rc/bF/Jw8Kuh5k/smime.p7s
Only click these links if you trust the sender, as well as this message.
--- 8< --- detachments --- 8< ---

_______________________________________________
List info: http://lists.roundcube.net/dev/

Reply via email to