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)? TIA; nap.
I also am interested in doing this (as I imagine several users are). Any plans to support per IP hosting? In specific: Set SSL cert per IP address Set default domain per IP address (to allow users login with username instead of username at domain and have the %d available based on the IP if none is provided) Thanks for the excellent work so far. Trev 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)? > > TIA; nap. >-- Trev Peterson <trev at advanced-reality.com> Advanced Reality
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. -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 191 bytes Desc: This is a digitally signed message part URL: <http://dovecot.org/pipermail/dovecot/attachments/20060409/e0ce7ff7/attachment.bin>