[Dovecot] Postfix + Doveot SASL
Hi, i'm trying to configure my postfix to use dovecot SASL instead of saslauthd with rimap to authenticate my users.
I've modified my postfix/dovecot configuration as is described on http://wiki.dovecot.org/PostfixAndDovecotSASL but when an user try to login it fails with the following log (debug_auth = on):
Dec 12 15:07:53 lorien dovecot: auth(default): client in: AUTH^I1^IPLAIN^Iservice=smtp^Iresp=<hidden> Dec 12 15:07:53 lorien dovecot: auth(default): passdb(mnencia@prato.linux.it,master): Attempted master login with no master passdbs Dec 12 15:07:55 lorien dovecot: auth(default): client out: FAIL^I1^Iuser=mnencia@prato.linux.it
The question is? Why i need a master login to use SASL? How to make my postfix SASL using usual userdb?
Ciao, Marco
--
| Marco Nenciarini | Debian/GNU Linux Developer - Plug Member | | mnencia@prato.linux.it | http://www.prato.linux.it/~mnencia |
Key fingerprint = FED9 69C7 9E67 21F5 7D95 5270 6864 730D F095 E5E4
On 13.12.2006, at 20.26, Marco Nenciarini wrote:
I've modified my postfix/dovecot configuration as is described on http://wiki.dovecot.org/PostfixAndDovecotSASL but when an user try to login it fails with the following log (debug_auth = on):
Dec 12 15:07:53 lorien dovecot: auth(default): client in:
AUTH^I1^IPLAIN^Iservice=smtp^Iresp=<hidden> Dec 12 15:07:53 lorien dovecot: auth(default): passdb (mnencia@prato.linux.it,master): Attempted master login with no
master passdbs Dec 12 15:07:55 lorien dovecot: auth(default): client out:
FAIL^I1^Iuser=mnencia@prato.linux.itThe question is? Why i need a master login to use SASL?
You don't, the client is attempting such a login for some reason. To
me it looks like a client configuration problem.
On Sat, Dec 23, 2006 at 01:04:51AM +0200, Timo Sirainen wrote:
On 13.12.2006, at 20.26, Marco Nenciarini wrote:
I've modified my postfix/dovecot configuration as is described on http://wiki.dovecot.org/PostfixAndDovecotSASL but when an user try to login it fails with the following log (debug_auth = on):
Dec 12 15:07:53 lorien dovecot: auth(default): client in:
AUTH^I1^IPLAIN^Iservice=smtp^Iresp=<hidden> Dec 12 15:07:53 lorien dovecot: auth(default): passdb (mnencia@prato.linux.it,master): Attempted master login with no
master passdbs Dec 12 15:07:55 lorien dovecot: auth(default): client out:
FAIL^I1^Iuser=mnencia@prato.linux.itThe question is? Why i need a master login to use SASL?
You don't, the client is attempting such a login for some reason. To
me it looks like a client configuration problem.
I've enabled the auth_debug_password option and i've seen that the sasl login look like "mnencia\0mnencia\0<password>". So no master login is done.
I've discovered also that with "mnencia@prato.linux.it\0mnencia@prato.linux.it\0<password>" all works ok.
Ciao
--
| Marco Nenciarini | Debian/GNU Linux Developer - Plug Member | | mnencia@prato.linux.it | http://www.prato.linux.it/~mnencia |
Key fingerprint = FED9 69C7 9E67 21F5 7D95 5270 6864 730D F095 E5E4
participants (2)
-
Marco Nenciarini
-
Timo Sirainen