I'm trying to set up a temporary mailserver using Debian Sarge and
Dovecot 1.0 with maildir format. My only previous experience has been
on a simple imap server.
I have read the wiki documentation and searched the archives, but can't
tie down my problem. The log tells me
Info: passwd-file(anne) : unknown user.
I have set
auth_userdb = passwd-file /etc/imap.passwd
auth_passdb = passwd-file /etc/imap.passwd
and created the /etc/imap.passwd file as
anne:{plain}mypassword:1000:1000::/home/anne
What have I missed?
Anne
--
Registered Linux User No.293302 (http://counter.li.org/)
I've got something like
auth default {
mechanisms = plain login
passdb = passwd-file [
args = /some/path/passwd
}
userdb = passwd-file {
args = /some/path/passwd
}
}
Best Wishes,
Chris
Anne Wilson wrote:> I'm trying to set up a temporary mailserver using Debian Sarge and
> Dovecot 1.0 with maildir format. My only previous experience has been
> on a simple imap server.
>
> I have read the wiki documentation and searched the archives, but can't
> tie down my problem. The log tells me
>
> Info: passwd-file(anne) : unknown user.
>
> I have set
> auth_userdb = passwd-file /etc/imap.passwd
> auth_passdb = passwd-file /etc/imap.passwd
>
> and created the /etc/imap.passwd file as
> anne:{plain}mypassword:1000:1000::/home/anne
>
> What have I missed?
>
> 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
On Thu, 2006-01-12 at 21:47 +0000, Anne Wilson wrote:> I'm trying to set up a temporary mailserver using Debian Sarge and > Dovecot 1.0 with maildir format. My only previous experience has been > on a simple imap server. > > I have read the wiki documentation and searched the archives, but can't > tie down my problem. The log tells me > > Info: passwd-file(anne) : unknown user. > > I have set > auth_userdb = passwd-file /etc/imap.passwd > auth_passdb = passwd-file /etc/imap.passwd > > and created the /etc/imap.passwd file as > anne:{plain}mypassword:1000:1000::/home/anneThat all looks correct. It doesn't give any other error message? And you don't have some other auth_passdbs/auth_userdbs defined in the same config file elsewhere which might mess things up? Maybe just try 1.0alpha5 instead, it could give you better error messages. -------------- 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/20060114/f2cc524b/attachment.bin>
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 Error..... unknown setting: userdb Taking out the '=' this time just leads to Error.... expecting '=' Any ideas, please? Anne -- Registered Linux User No.293302 (http://counter.li.org/) -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 189 bytes Desc: not available Url : http://dovecot.org/pipermail/dovecot/attachments/20060114/ac62080d/attachment.pgp