[horde] Question about IMAP/TLS

Vilius Šumskas vilius at lnk.lt
Wed Mar 17 15:20:59 UTC 2010


> > My server now requires an encrypted imap connection.  It works fine
> > with several email clients but not with horde.
> >
> > I changed the config line from:
> > 	$conf['auth']['params']['dsn'] = '{localhost:143/imap/notls}';
> > (working before the encryption requirement)
> > to:
> > 	$conf['auth']['params']['dsn'] = '{localhost:993/imap/tls}';
> >
> > which matches my email client settings but I still can't log in.
> >
> > According to my email client the server uses (which is cyrus-imap):
> > 	MD-5 CRAM-HMAC Challenge/Response (RFC-2095)
> >
> > Does anyone have any ideas about what you need to do to make this
> work?
> >
> 
> STARTTLS uses the normal IMAP Port 143
> SSL uses the IMAPS Port 993
> 
> so you have to use '{localhost:143/imap/tls}'
> or '{localhost:993/imap/ssl}'
> 
> If you have still have problems you might try to add the
> option "novalidate-cert" to ignore certificate validation errors.
> But in normal operation you should fix the validation instead of
> ignoring the errors

Also keep in mind that if you are using localhost the certificate probably won't be valid anyway.

-- 
  Vilius



More information about the horde mailing list