I have a rather large web site I maintain that runs PHP and connects to an IMAP server. The client wants to get quota information. Quota info can be retrieved from Cyrus but the PHP IMAP libraries only support quota info using the c-client libraries.
No problem I thought, Mail::Cclient is built on the c-client libs and I've used it to connect to our Cyrus server. PHP can just do the same, right? Wrong. imap_connect() is hanging indefinitley.
What am I left to? PHP source hacking. I'll have to hack the imap_get_quota() function to work with Cyrus. Sad thing is, it's probably a trivial fix, if any is needed at all.