So in terms of the Webmail system, when you add a server via the administration page, make the 'Server Address' field the following:
yourserver/ssl/novalidate-cert
where 'yourserver' could be localhost or it could be an offsite server.
I'm pretty sure that should solve it for now and hopefully ill fix that inconvenience in the near future after my exams.
Hope that helps,
Ayman