2.2 Dovecot configuration for multiple domains

Postfix is often used to serve multiple domains, but dovecot IMAP3/POP3 server is able to authenticate client requests for a single domain, unless all the served domains are listed in dovecot configuration file. I haven't found yet a method to authenticate client request on any domain without modifying a parameter in dovecot.conf: auth_realms. On a single-domain configuration this parameter does not need to be changed from the default. so, if my server handles e-mail for domain1.tld and domain2.tld, this parameter would look like:

dovecot.conf changes to support authentication for multiple domains
auth_realms = domain1.tld domain2.tld


The other required data is retrieved from the database: users, passwords, mail location, domains, etc.

Prev: Dovecot SSL configuration
Next: Postfix installation and configuration
Comments