Raymond Scholz
2004-Feb-24 23:13 UTC
[Dovecot] More than one auth method with dovevot 0.99.10.4 - how?
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!
Timo Sirainen
2004-Feb-25 18:07 UTC
[Dovecot] More than one auth method with dovevot 0.99.10.4 - how?
On Wed, 2004-02-25 at 01:13, Raymond Scholz wrote:> 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.This isn't possible in the released version yet, but it's in next version. If you really wanted, you could use all but "imap" binary from Dovecot's CVS and it'd work. -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 189 bytes Desc: This is a digitally signed message part URL: <http://dovecot.org/pipermail/dovecot/attachments/20040225/882fd999/attachment-0001.bin>
Raymond Scholz
2004-Feb-25 21:11 UTC
[Dovecot] Re: More than one auth method with dovevot 0.99.10.4 - how?
? Timo Sirainen <tss at iki.fi> wrote:> This isn't possible in the released version yet, but it's in next > version. If you really wanted, you could use all but "imap" binary from > Dovecot's CVS and it'd work.I really wanted... Thanks, works like a charm. Cheers, Ray -- /* Halley */ (Halley's comment.)
Maybe Matching Threads
- IMAP error with squirrelmail - how to debug?
- Multidomain / IP Address Setup (Dovevot 2.2.10 on CentOS7 ) is failing: Fatal: Couldn't parse private ssl_key: error:0906D06C:PEM
- Multidomain / IP Address Setup (Dovevot 2.2.10 on CentOS7 ) is failing: Fatal: Couldn't parse private ssl_key: error:0906D06C:PEM
- Multidomain / IP Address Setup (Dovevot 2.2.10 on CentOS7 ) is failing: Fatal: Couldn't parse private ssl_key: error:0906D06C:PEM
- Multidomain / IP Address Setup (Dovevot 2.2.10 on CentOS7 ) is failing: Fatal: Couldn't parse private ssl_key: error:0906D06C:PEM