[Dovecot] Multiple authentication backends

Timo Sirainen tss at iki.fi
Tue Jul 6 15:28:49 EEST 2010

On Tue, 2010-07-06 at 20:17 +0800, Wouter van der Schagt wrote:
> Good morning,
> I have a question. Currently we are using Dovecot to handle our pop3,
> pop3s, imap and imaps connections. Our virtual domain management
> backend is vpopmail. Which works beautifully. Our current setup
> requires users to login with their email address and password
> (user at domain). 

So that's passdb vpopmail + userdb vpopmail? It's anyway sql backend?

> We are now looking at migrating another server to our environment
> where users are logging in with their username only. This is because
> unlike virtual users these mailboxes have corresponding system users
> on the server. 
> Ideally we would like to migration for the end user as easy as
> possible without requiring them to make changes to their settings. Is
> it possible to configure Dovecot to handle multiple authentication
> back-ends or do any of you have found a solution to a similar problem
> before?

If you ever only need one such installation, you can add it easily:

auth_default_realm = newdomain.com

Otherwise you should have multiple IP addresses and select the domain
based on %l in sql query.

More information about the dovecot mailing list