[Dovecot] More than one auth method with dovevot 0.99.10.4 - how?

Raymond Scholz ray-2004 at zonix.de
Wed Feb 25 01:13:39 EET 2004


We're setting up a server with qmail/vpopmail and dovecot.  In
addition to vpopmail users we want non-virtual, local users to be able
to authenticate and have them read the Maildir in their real $HOME.

vpopmail userdb/passwd works fine.  Now how do I tell dovecot to use
passwd (or PAM) userdb/passdb authentication too?

/etc/dovecot.conf:

[...]

auth = default
auth_mechanisms = plain
auth_userdb = vpopmail
auth_passdb = vpopmail
auth_user = root
auth_verbose = yes


auth = local
auth_mechanisms = plain
auth_userdb = passwd /etc/passwd
auth_passdb = pam
auth_user = root
auth_verbose = yes

#auth_methods = default local

EOF

I think, I'm supposed to put the auth_methods line somewhere.

Without it, dovecot only tries authentication using the first auth
process definition:

| Feb 25 00:01:49 server1 dovecot-auth: vpopmail(rscholz): unknown user (rscholz@)

after loggin in with 

". login rscholz secret_password" at the IMAP server.

Putting the auth_methods line behind the two auth processes (or
somewhere in the middle) gives me:

| Starting mail server: dovecotFatal: Error in configuration file /etc/dovecot.conf line 456: Unknown setting: methods

Putting it above all auth processes gives me:

| Starting mail server: dovecotFatal: Error in configuration file /etc/dovecot.conf line 362: Authentication process name not defined yet

Hm, I'm lost here.

System is Debian i386 stable (woody) with dovecot_0.99.10.4-2.deb
backported from Debian unstable.

Cheers, Ray
-- 
Hfr fgebat rapelcgvba!




More information about the dovecot mailing list