[RCD] Error in SMTP over SSL

Julien Vehent julien at linuxwall.info
Wed Aug 5 23:17:55 CEST 2009


Hello guys,
I've been testing 0.3rc1 and everything works fine until now, except for 
the SSL feature of SMTP.

My config is as follow :
# less config/main.inc.php
[...]
$rcmail_config['smtp_server'] = 'ssl://localhost';
$rcmail_config['smtp_port'] = 25;
$rcmail_config['smtp_user'] = '%u';
$rcmail_config['smtp_pass'] = '%p';
$rcmail_config['smtp_auth_type'] = 'PLAIN';
[...]

This configuration works fine in Thunderbird (see attachment) but 
doesn't with roundcube. When I try to send an email, I get a server 
error in the interface and the following log in apache :

-------
[Wed Aug 05 23:06:08 2009] [info] [client xxx.xxx.xxx.xxx] Connection to 
child 0 established (server xxx.xxx.xxx.xxx:443)
[Wed Aug 05 23:06:08 2009] [info] Seeding PRNG with 1672 bytes of entropy
[Wed Aug 05 23:06:08 2009] [info] Initial (No.1) HTTPS request received 
for child 0 (server xxx.xxx.xxx.xxx:443)
[Wed Aug 05 23:06:08 2009] [info] Subsequent (No.2) HTTPS request 
received for child 0 (server xxx.xxx.xxx.xxx:443)
[Wed Aug 05 23:06:08 2009] [error] [client xxx.xxx.xxx.xxx] fsockopen() 
[<a href='function.fsockopen'>function.fsockopen</a>]: unable to connect 
to ssl://localhost:25 (Unknown error) (0): , referer: 
https://xxx.xxx.xxx.xxx/mail/?_task=mail&_id=141016[number_and_letters]&_action=compose
[Wed Aug 05 23:06:08 2009] [error] [client xxx.xxx.xxx.xxx] Failed to 
connect socket: fsockopen() [<a 
href='function.fsockopen'>function.fsockopen</a>]: unable to connect to 
ssl://localhost:25 (Unknown error) (): , referer: 
https://xxx.xxx.xxx.xxx/mail/?_task=mail&_id=141016[number_and_letters]&_action=compose
[Wed Aug 05 23:06:13 2009] [info] [client xxx.xxx.xxx.xxx] (70007)The 
timeout specified has expired: SSL input filter read failed.
[Wed Aug 05 23:06:13 2009] [info] [client xxx.xxx.xxx.xxx] Connection 
closed to child 0 with standard shutdown (server xxx.xxx.xxx.xxx:443)
-------

I've hesitated before posting this here because I'm not too sure about 
what the configuration of roundcube should be... But, it can't do any 
bad to clarify it anyway.

Any clue ?

Julien



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

-------------- next part --------------
_______________________________________________
List info: http://lists.roundcube.net/dev/


More information about the Dev mailing list