i have the same problem, at the begining i have used default configutation for horde, but after some time horde stoped working, sice then i use:
'server' => 'localhost'
'protocol' => 'imap/ssl/novalidate-cert'
'port' => '993'
and it was working for 2 months, until yesterdey :(
now i...