Review your favorite Linux distribution.
Go Back > Forums > Linux Forums > Linux - Server
User Name
Linux - Server This forum is for the discussion of Linux Software used in a server related context.


  Search this Thread
Old 07-03-2011, 09:10 AM   #1
LQ Newbie
Registered: Jul 2011
Posts: 2

Rep: Reputation: Disabled
Unhappy dovecot: local user can't login imap and pop3

Hi All,

I'm trying to configure dovecot in RHEL6, but seems system won't accept local user login. I've already disabled pam.

I've tried mutt -f imap://xxxx, and Thunderbird to connect as imap and pop3, but both failed, seems dovecot won't accept the password of the login user.

the dovecot info log as,
Jul 03 20:48:42 imap-login: Info: Disconnected: Too many invalid commands (no auth attempts): rip=, lip=, mpid=0, secured

#passdb {
# driver = pam
# [session=yes] [setcred=yes] [failure_show_msg=yes] [max_requests=<n>]
# [cache_key=<key>] [<service name>]
#args = dovecot

passdb {
driver = passwd
# [blocking=no]
args = blocking=no

passdb {
driver = shadow
# [blocking=no]
args = blocking=no

userdb {
# <doc/wiki/AuthDatabase.Passwd.txt>
driver = passwd
# [blocking=no]
args = blocking=no

Can somebody help me? Did I miss some part of configuration?
Old 07-15-2011, 07:09 PM   #2
LQ Newbie
Registered: Apr 2011
Location: California, US
Distribution: Fedora
Posts: 28

Rep: Reputation: 8
Try commenting out the passdb block that has driver = passwd. I believe that it is telling dovecot to authenticate against the password in the /etc/passwd file. Unless you have a non-standard setup, your userdb should be passwd and your passdb should be shadow.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Failed to start Dovecot POP3/IMAP server! KarolisK Linux - Newbie 4 05-17-2011 06:36 AM
Dovecot, postfix pop3/imap server issue konduktorn Linux - Server 3 02-19-2010 05:41 PM
Dovecot download pop3/imap from other server(s) alitrix Linux - Software 3 05-23-2008 08:49 PM
Dovecot fails to start when configured with imap or pop3 protocol blackfish Linux - Server 1 04-06-2008 10:03 AM
LXer: Set up a secure IMAP/POP3 server with Dovecot LXer Syndicated Linux News 0 04-06-2006 08:33 PM

All times are GMT -5. The time now is 11:48 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration