[Dovecot] how to config dovecot for multiple domains, multiple SSL certs, and conditional IP access -- with passwd-file passdb?
Timo Sirainen
tss at iki.fi
Fri Oct 9 18:34:38 EEST 2009
On Oct 6, 2009, at 10:05 PM, 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.
Unfortunately Dovecot v1.x can't do any of this, except for "tls
required/not required" part. Upcoming Dovecot v2.0 could do all of
this though. For now you'd have to run a separate Dovecot instance
with a separate config file for each such IP. Or, of course, Dovecot
v2.0 alpha1 should be out pretty soon and testers are always
appreciated. :)
In v2.0 you can do things like:
local_ip 1.2.3.4 {
ssl_cert_file = </etc/ssl/certs/domain.org
login_greeting = blahblah
}
remote_ip 192.168.0.0/16 {
# ...
}
More information about the dovecot
mailing list