Spectron International, Inc.
2003-Jun-13 18:00 UTC
[Dovecot] Dovecot configuration with passwd-file
I have tried to configure dovecot to use passwd-file authentication and I havent been able to. I changed the following in the dovecot.conf file (I want to have all the mailboxes in one directory): default_mail_env = maildir:/opt/mail/%u auth_userdb = passwd-file /etc/passwd.imap auth_passdb = passwd-file /etc/passwd.imap auth_verbose = yes It gives me the following error (I hoped it would be more verbose than this): Internal login failure: f_rojas [192.168.10.4]. passwd.imap exists, the user and password are ok What am I missing? Fawzib Rojas
On Fri, 2003-06-13 at 21:00, Spectron International, Inc. wrote:> default_mail_env = maildir:/opt/mail/%u > auth_userdb = passwd-file /etc/passwd.imap > auth_passdb = passwd-file /etc/passwd.imap > auth_verbose = yes > > It gives me the following error (I hoped it would be more verbose than > this): > > Internal login failure: f_rojas [192.168.10.4].Hmm. It should have been more verbose. "Internal login failure" anyway means that the password check went ok, but IMAP process couldn't be started for some reason.> passwd.imap exists, the user and password are ok What am I missing?Did you also add UID, GID and home directories there? UID and GID are a must there, I'm not sure if home directory was.