[Dovecot] One dovecot, multiple domains

Timo Sirainen tss at iki.fi
Thu Feb 16 06:53:07 EET 2006

On 15.2.2006 20:54, "Ben" <bench at silentmedia.com> wrote:

> Hey guys, I've got dovecot configured to work perfectly for virtual users
> across 
> different domains. It's great.
> My problem is that, as far as I can tell, dovecot makes me use one SSL
> certificate across all my domains. That's not what I want. Is there a way I
> can 
> get dovecot to use the cert for mail.foo.com when somebody is logging into a
> foo.com account, and the cert for mail.bar.com when somebody is logging into a
> bar.com account?
> Am I missing something obvious, or asking the impoosible?

Like others have said, it's not possible because Dovecot doesn't know what
domain you're going to log in before SSL/TLS connection is started.

In theory it would be possible to set separate certificate for each IP (or
port) Dovecot listens in, but currently that can't be changed either. 

More information about the dovecot mailing list