[Dovecot] Plain password not authenticating

Chris Wakelin c.d.wakelin at reading.ac.uk
Sat Jan 14 16:53:06 EET 2006


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
>>    }
>> }
>>
> Well, I have 1.0alpha5 installed, and have matched these lines in the 
> dovecot.conf file.  Now I got
> Error...... unknown setting: passdb
> 
> Looking at the examples I took out the '=' and it seemed to pass that 
> line, but then

Oops! My fault! No there's no "=" between "passdb" and "passwd-file".

This is what I've actually got (grepped out of my config file)

auth default {
   mechanisms = plain login
   passdb pam {
   }
   userdb passwd-file {
     args = /opt/RDGdovect/etc/userdb
   }
   user = root
}

as I'm using PAM for passwords and only storing UIDs etc. in the 
"passwd-file" file (/opt/RDGdovecot/etc/userdb is created overnight from 
NIS - it turns out to be *much* faster than doing NIS lookups each time).

Did you start from the dovecot-example.conf as Timo suggested? Probably 
more reliable than me ;)

Best Wishes,
Chris

-- 
--+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+-
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