[Dovecot] I can't logon to the mail server using an NIS user account
Kayode Odeyemi
dreyemi at gmail.com
Tue May 29 18:55:42 EEST 2012
On Tue, May 29, 2012 at 4:47 PM, Timo Sirainen <tss at iki.fi> wrote:
> On Sat, 2012-05-26 at 13:51 +0100, Kayode Odeyemi wrote:
> > Below is my configuration
> >
> > passdb {
> > args = scheme=CRYPT username_format=%u /etc/dovecot/users
> > driver = passwd-file
> > }
>
> Dovecot isn't using NIS. It's using user accounts in /etc/dovecot/users
> file.
>
> And in any case set auth_debug_passwords=yes to debug authentication.
>
>
Thanks Timo.
The content of /etc/dovecot/users is gotten from:
# ypcat passwd > /etc/dovecot/users
I have also configured multiple password source like this:
# 2.0.13: /etc/dovecot/dovecot.conf
# OS: Linux 3.0.0-17-server x86_64 Ubuntu 11.10 nfs4
auth_mechanisms = plain login
disable_plaintext_auth = no
mail_location = maildir:/nfs/users/%u/Maildir
passdb {
driver = pam
}
passdb {
driver = passwd
}
passdb {
args = scheme=CRYPT username_format=%u /etc/dovecot/users
driver = passwd-file
}
protocols = " imap pop3"
service auth {
unix_listener /var/spool/postfix/private/auth {
group = postfix
mode = 0660
user = postfix
}
}
service imap-login {
inet_listener imap {
port = 143
}
inet_listener imaps {
port = 993
ssl = yes
}
}
ssl_cert = </etc/ssl/certs/mail.prisaltd.local.crt
ssl_key = </etc/ssl/private/prisa.key
userdb {
driver = passwd
}
userdb {
args = username_format=%u /etc/dovecot/users
driver = passwd-file
}
protocol imap {
imap_client_workarounds = tb-extra-mailbox-sep
imap_logout_format = bytes=%i/%o
mail_plugins =
}
No luck yet.
Thanks for helping out.
--
Odeyemi 'Kayode O.
http://ng.linkedin.com/in/kayodeodeyemi. t: @charyorde blog:
http://sinati.com/tree/java-cheat-sheet
More information about the dovecot
mailing list