[Dovecot] how to config dovecot for multiple domains, multiple SSL certs, and conditional IP access -- with passwd-file passdb?

Ed W lists at wildgooses.com
Fri Oct 9 15:04:01 EEST 2009


PGNet Dev wrote:
> i'd like to configure dovecot to,
>
>   host multiple domains, each on a separate IP
>   setup a separate SSL cert for each domain
>   respond with a different login_greeting for each domain
>   restrict access to, and access type (e.g., TLS req'd vs noTLS,
> secure auth OK) of, imap login based with conditional rules based on
> the guest's IP address.
>   


Sensible goals, but somewhere down the path it's going to get awkward 
for various reasons.

One of the things I have toyed with is simply naming the servers 
something more generic and then using a single set of servers for all 
domains.  The point of the slightly obscure generic domain name is that 
it doesn't then annoy anyone in particular that the server is named 
under their competitor's name or whatever....  Depends how technical the 
users are, but I would have thought it was fairly rare for people to be 
investigating and moaning about reverse dns or banners?

This potentially saves you a lot of IPs and makes managing multiple 
hosts a lot easier?  Not what you asked, but hopefully an interesting option

Good luck

Ed W


More information about the dovecot mailing list