[Dovecot] One dovecot, multiple domains

Charles Marcus CMarcus at Media-Brokers.com
Wed Feb 15 21:03:05 EET 2006


Ben 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?

My (admittedly very limited) understanding of how SSL certs works is, 
one cert is bound to one URL/IP address combination - which means you 
cannot use public certs for hosts that are served on the same IP 
address. So, you'd have to be serving the IMAP connections for each 
domain on separate IP addresses - OR - use a blanket self-signed 
wildcard cert (basically, *.* as the FQDN), although I don't know how 
good of an idea that is.

-- 

Best regards,

Charles


More information about the dovecot mailing list