On Sat, 2006-04-08 at 12:13 -0400, Nick Plante wrote:
There was a thread in February called "One dovecot, multiple domains" that I'd like to follow up on...
I have a similar need; a hosted system with a couple IP aliases currently running dovecot for users at imap.domain1.com on one of those addresses. Now I need to also make it accessible via the name imap.domain2.com on a different address. Both "hosts" require SSL certs. They'll be using the same user auth source and have access to the same mailspools (although certain users will access theirs through domain1 and others through domain2).
It sounds like dovecot doesn't support this sort of ip-based virtual hosting scheme right now. Is it possible to just configure two separate instances of the server, one bound to each virtual interface with their separate certs? Or are there issues with this poor man approach (contention, etc)?
Currently Dovecot doesn't really support this. For Dovecot 2.0 I'm going to make it possible to give per-ip settings, but that won't happen for a while..
For now you can run two dovecots, just make sure the base_dir is different for them.