Bug 112808

Summary: php5 imap ssl doesn't work with uw imap
Product: [openSUSE] SUSE LINUX 10.0 Reporter: Marian Jancar <mjancar>
Component: ConsoleAppsAssignee: Petr Ostadal <postadal>
Status: RESOLVED FIXED QA Contact: E-mail List <qa-bugs>
Severity: Normal    
Priority: P5 - None CC: peter
Version: Beta 2   
Target Milestone: ---   
Hardware: Other   
OS: All   
Whiteboard:
Found By: Other Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---

Description Marian Jancar 2005-08-24 19:23:41 UTC
Squirrelmail with php5 times out, php4 works ok.

Aug 24 20:53:20 dhcp55 imapd[4896]: imaps SSL service init from 127.0.0.1
Aug 24 20:54:20 dhcp55 imapd[4896]: Unable to accept SSL connection,
host=localhost [127.0.0.1]
Aug 24 20:54:20 dhcp55 imapd[4896]: SSL error status: error:140760FC:SSL
routines:SSL23_GET_CLIENT_HELLO:unknown protocol
Comment 1 Petr Ostadal 2005-08-30 14:39:09 UTC
How can I reproduce it? (step by step ;))
Comment 2 Marian Jancar 2005-08-30 14:56:19 UTC
install apache2-mod_php5, php5, php5-gettext, squirrelmail and imap
cd /srv/www/htdocs/squirrelmail/config, run ./conf.pl, select port 993 and tls
enable imaps in xinetd and restart xinetd
start apache2
try to login using http://localhost/squirrelmail/src/login.php




Comment 3 peter czanik 2005-08-30 16:42:53 UTC
It also needs php5-openssl. From: http://localhost/squirrelmail/src/configtest.php

ERROR: You need the openssl PHP extension to use SMTP/IMAP TLS!

After installing it, squirrelmail works fine. And if we are here at this page,
some more messages (it works fine without the mentioned modules, but probably
would be good for non English languages...):

Checking internationalization (i18n) settings...
     gettext - Gettext functions are available. You must have appropriate system
locales compiled.
     mbstring - Mbstring functions are unavailable. Japanese translation won't work.
     recode - Recode functions are unavailable.
     iconv - Iconv functions are unavailable.
     timezone - Webmail users can change their time zone settings.
Checking database functions...
    not using database functionality.
Comment 4 Marian Jancar 2005-09-01 08:20:54 UTC
Thanks, I missed that openssl was split off the main package in php5. Petr,
could you please add php-openssl to Provides of php4, so I can Require it in the
squirrelmail? I will also add the remaining localization enabling packages there.
Comment 5 Petr Ostadal 2005-09-01 14:34:32 UTC
added and submited to stable