LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 07-03-2011, 08:10 AM   #1
travischen
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=192.168.1.3, lip=192.168.1.3, 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, 06:09 PM   #2
kmassare
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.
 
  


Reply


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 05:36 AM
Dovecot, postfix pop3/imap server issue konduktorn Linux - Server 3 02-19-2010 04:41 PM
Dovecot download pop3/imap from other server(s) alitrix Linux - Software 3 05-23-2008 07:49 PM
Dovecot fails to start when configured with imap or pop3 protocol blackfish Linux - Server 1 04-06-2008 09:03 AM
LXer: Set up a secure IMAP/POP3 server with Dovecot LXer Syndicated Linux News 0 04-06-2006 07:33 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 08:56 AM.

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