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 04-19-2011, 10:26 AM   #1
kaplan71
Member
 
Registered: Nov 2003
Posts: 810

Rep: Reputation: 39
Error: Connection dropped by IMAP server with dovecot


Hi there --

I am running SquirrelMail version 1.4.8-5.el5.centos.10 on a CentOS 5.6 64-bit distribution with MailScanner 4.83.4, Sendmail 8.13.8/8.13.8, and Dovecot 1.0.7 release.

One user is having problems connecting via the SquirrelMail interface to his e-mail. Whenever he tries to connect, he gets the following error message:

Quote:
Error: Connection dropped by IMAP server with dovecot
I have tested another user account, and that user is able to connect without issue. I confirmed the presence of dovecot.index, dovecot.index.cache, and dovecot.index.log files in the user's <HOME DIR>/mail/.imap/INBOX folder.

The /var/log/maillog files do not list any apparent error messages with SquirrelMail. Does anyone have any idea as to what other steps I need to take to correct this issue? Thanks.
 
Old 04-19-2011, 12:55 PM   #2
kaplan71
Member
 
Registered: Nov 2003
Posts: 810

Original Poster
Rep: Reputation: 39
Solved

Hi there --

I did some investigating of the dovecot.conf file, and I came across something in
the dovecot.conf file. The section I am referring to is shown below:

Code:
# Valid UID range for users, defaults to 500 and above. This is mostly
# to make sure that users can't log in as daemons or other system users.
# Note that denying root logins is hardcoded to dovecot binary and can't
# be done even if first_valid_uid is set to 0.
#first_valid_uid = 500
#last_valid_uid = 0
I ran the cat command on the passwd file, and did a grep for the two user accounts.
The account that worked had a userid that was greater than 500, while the one that
did not work had a value below the 500 integer.

I changed the uid of the problem user account to a value greater than 500, and was
subsequently able to log into the server.
 
  


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
ERROR: Connection dropped by IMAP server. deepan Linux - Server 1 11-03-2010 09:02 AM
ERROR: Connection dropped by IMAP server. qsk73 Linux - Server 1 07-13-2009 01:11 AM
ERROR: Connection dropped by IMAP server ravin Red Hat 1 08-31-2008 01:46 AM
Squirrelmail - ERROR : Connection dropped by imap-server. luca2005 Linux - Software 2 06-10-2008 07:25 AM
ERROR: Connection dropped by IMAP server satimis Linux - Server 2 02-15-2008 12:00 AM

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

All times are GMT -5. The time now is 05:10 PM.

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