David Obando
2013-Mar-19 16:43 UTC
[Dovecot] dovecot: auth-worker: order of authentication types
Hi all, I'm setting a mailserver using dovecot version: 2.1.7. On the server I have a couple of system users using PAM authentication and a lot of virtual users using SQL authentication. When a virtual user (e.g. david at virtdomain.de) logs in dovecot tries to authenticate the user via PAM and after failing it uses SQL: Mar 19 11:39:42 orange dovecot: auth-worker(7815): pam(david at virtdomain.de,<ip address>): pam_authenticate() failed: Authentication failure (password mismatch?) Mar 19 11:39:42 orange dovecot: auth: passwd(david at virtdomain.de,<ip address>,<T58IuUTYvgDZbill>): unknown user Mar 19 11:39:42 orange dovecot: imap-login: Login: user=<david at virtdomain.de>, method=PLAIN, rip=<...>, lip=<...>, mpid=7816, TLS Could I set up dovecot authentication so *users that authenticate with only their username (i.e. system users) always and only use PAM authentication *users that authenticate with their e-mail-address always and only use SQL authentication ??? Thanks, david -- The day microsoft makes something that doesn't suck is the day they start making vacuum cleaners. gpg --keyserver pgp.mit.edu --recv-keys 1920BD87 Key fingerprint = 3326 32CE 888B DFF1 DED3 B8D2 105F 29CB 1920 BD87
David Obando
2013-Mar-20 14:42 UTC
[Dovecot] dovecot: auth-worker: order of authentication types
I found out myself how to control the order: http://wiki2.dovecot.org/Authentication/MultipleDatabases. still asking how to set up dovecot authentication so *users that authenticate with only their username (i.e. system users) always and only use PAM authentication *users that authenticate with their e-mail-address always and only use SQL authentication thanks, david David Obando schrieb am 19.03.2013 17:43:> Hi all, > > I'm setting a mailserver using dovecot version: 2.1.7. On the server I > have a couple of system users using PAM authentication and a lot of > virtual users using SQL authentication. > > When a virtual user (e.g. david at virtdomain.de) logs in dovecot tries to > authenticate the user via PAM and after failing it uses SQL: > > Mar 19 11:39:42 orange dovecot: auth-worker(7815): > pam(david at virtdomain.de,<ip address>): pam_authenticate() failed: > Authentication failure (password mismatch?) > Mar 19 11:39:42 orange dovecot: auth: passwd(david at virtdomain.de,<ip > address>,<T58IuUTYvgDZbill>): unknown user > Mar 19 11:39:42 orange dovecot: imap-login: Login: > user=<david at virtdomain.de>, method=PLAIN, rip=<...>, lip=<...>, > mpid=7816, TLS > > > Could I set up dovecot authentication so > *users that authenticate with only their username (i.e. system users) > always and only use PAM authentication > *users that authenticate with their e-mail-address always and only use > SQL authentication > ??? > > > Thanks, > david >-- The day microsoft makes something that doesn't suck is the day they start making vacuum cleaners. gpg --keyserver pgp.mit.edu --recv-keys 1920BD87 Key fingerprint = 3326 32CE 888B DFF1 DED3 B8D2 105F 29CB 1920 BD87