[Dovecot] Authentification on 2 databases (dovecot bug? need help)

Lorens dovecot.fdop at tagged.lorens.org
Sat Sep 10 15:20:54 EEST 2005


On Sat, Sep 10, 2005 at 12:26:17PM +0200, LeeJaY wrote:
> The two databases are correct syntax. If in config, I put that the base
> 1, it works. if i change base for the base 2, it works too. thus is not
> a problem of syntax or configuration, but more the impression that
> dovecot will not check the user who does not exist in the first base in
> the second. Bug ?? I don't know


So, to summarize:

- You use dovecot 1.0alpha1

- You want to use the authentificaton described at

	http://wiki.dovecot.org/moin.cgi/MultipleAuth

But when you write :

auth default {
        mechanisms = plain
        passdb sql {
                args = /etc/dovecot-sql-1.conf
        }

        passdb sql {
               args = /etc/dovecot-sql-2.conf
        }

        userdb sql {
                args = /etc/dovecot-sql-1.conf
        }

        userdb sql {
               args = /etc/dovecot-sql-2.conf
        }
}

then only users described by dovecot-sql-1.conf succeed in
authenticating, and when you write


auth default {
        mechanisms = plain
        passdb sql {
               args = /etc/dovecot-sql-2.conf
        }
        passdb sql {
                args = /etc/dovecot-sql-1.conf
        }


        userdb sql {
               args = /etc/dovecot-sql-2.conf
        }
        userdb sql {
                args = /etc/dovecot-sql-1.conf
        }

}

then only users described by dovecot-sql-2.conf succeed in
authenticating.

No idea. Can someone with a 1.0alpha1 test this?  I suspect a
bug somewhere...


More information about the dovecot mailing list