Used php4 and imap crashes...sort of
Now that I have php4 and IMAP support up and running, I tried to access
my Imap folders with twiggi. To a certain degree this works fine.
But after accessing a few folders and opening some mails, but suddenly,
out of the blue, cyrus imap crashes and PHP gives me either a.) or b.)
as an error Message:
a.) Error: Login failed - Probably a misspelled username or password,
please try again.
b.) Error: IMAP error: Could not open INBOX.wired after 11 tries.
please click here to restart twig and try again.
I tracked it down to some extent, and I quickly found out that this was
not a Twiggi-only problem, but must have something to do with the way
PHP treats the server.
Another oddity, that I observed: when the above mentioned issue occurs,
and i do a "nmap localhost" I get
Port State Service
22/tcp open ssh
25/tcp open smtp
80/tcp open http
111/tcp open sunrpc
113/tcp open auth
993/tcp open imaps
3306/tcp open mysql
Note, that 143 is not opened, though it was before - BUT 993, which is a
stunnel connection to port 143 is still running. If I now use Mozilla to
access imap over ssl (i.e. port 993) it still works fine. Err...I know
this should be impossible, but I am dead serious about this ;)
However, after a /etc/init.d/inetd restart everything works just fine
again. Has anyobody got some thoughts about this? This is definately
voodoo, isn't it? ;)
Regards,
Alex
Reply to: