[Dovecot] Plain password not authenticating

Chris Wakelin c.d.wakelin at reading.ac.uk
Fri Jan 13 13:10:08 EET 2006


Which version of Dovecot are you using?

Looking back at your original post, it seems you may actually be using
Dovecot 0.99.xx, not 1.0 as you said, after all! Certainly "auth_userdb
= passwd-file  /etc/imap.passwd" is 0.99.xx syntax, and "mechanisms"
isn't valid, it's "auth_mechanisms" etc.

In earlier versions of 1.0, it was "userdb = passwd-file
/etc/imap.passwd" and in the latest versions (Dovecot-1.0-alpha5) it is
as I said in my first reply.

Dovecot-1.0-alpha5 probably has fewer bugs than 0.99.x despite the name,
so I'd strongly recommend upgrading. Timo's promised us a "beta1"
version in the next few days which will have only a few minor changes
from alpha5.

Assuming you are using 0.99.x, what do you have as "auth_user"? If it's
not root, does it have permissions to read /etc/imap.passwd? Do you have
"disable_plaintext_auth" set to "no" (if it's "yes" then it won't allow
you to login unless you're using TLS or SSL).

Best Wishes,
Chris

Anne Wilson wrote:
> On Thursday 12 Jan 2006 21:57, Chris Wakelin wrote:
>> I've got something like
>>
>> auth default {
>>    mechanisms = plain login
>>    passdb = passwd-file [
>>      args = /some/path/passwd
>>    }
>>    userdb = passwd-file {
>>      args = /some/path/passwd
>>    }
>> }
>>
> Hi, Chris.  Is the second stanza line 'args = /some/path/imap.passwd' ?
> 
> Assuming that to be so, I tried it, but now I can't start dovecot, as I 
> get 'Unknown Setting:  mechanisms'
> 
> Anne


-- 
--+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+-
Christopher Wakelin,                           c.d.wakelin at reading.ac.uk
IT Services Centre, The University of Reading,  Tel: +44 (0)118 378 8439
Whiteknights, Reading, RG6 2AF, UK              Fax: +44 (0)118 975 3094


More information about the dovecot mailing list