Red Hat Bugzilla – Bug 65403
RHL72 -> RHL73 update broke php-imap when due to SSL
Last modified: 2007-04-18 12:42:44 EDT
I upgraded RHL72 system to RHL73; a system including apache, php, php-imap, imap
packages (among others).
Imp 2.2.8 broke. It would not longer let you log in:
May 18 12:39:08 otso imapd: imap service init from 127.0.0.1
May 18 12:39:08 otso imapd: Command stream end of file, while
reading line user=??? host=UNKNOWN
I run tcpdump on localhost and noticed php-imap sends a starttls command after
connection is reset.
Pine, connecting with SSL-IMAP to localhost worked.
There are two explanations for this:
1) SSL-IMAP server with STARTTLS doesn't work well (unprobable as pine worked
2) PHP's imap SSL does not work with SSL-enabled IMAP properly
(e.g. one possibility might be it doesn't like self-signed certificates).
Recompiling imapd without SSL support (so it doesn't advertise it with STARTTLS)
fixed this problem, so I suspect PHP's IMAP-SSL support is at fault here. I
couldn't verify this as I didn't have all the buildprereq's to recompile PHP.
Be aware of /novalidate-cert
See duplicate bug report explaination
*** This bug has been marked as a duplicate of 65190 ***