LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 05-02-2012, 07:33 PM   #1
lisaj
LQ Newbie
 
Registered: May 2012
Posts: 2

Rep: Reputation: Disabled
Question ERROR: Connection dropped by IMAP server.


hi, i am relatively new to Linux (have used a few lives OS's before). Now I have my new laptop running on Ubuntu 12.04 lts. Not being a newcomer to computers i am getting on with this fine.
My problem is with a vps that i am currently trying to configure an email server on (Debian squeeze). I followed this guide to create the mail server and each stage appeared to be successful. That is until i tried to logon to sqirrelmail through my browser. I got this message: ERROR: Connection dropped by IMAP server.. My husband told me to telnet the smtp port as when he tried to create an email server with a similar configuration it would not show. so i did and i did get the correct response.

I have seen many forum posts many places over the internet where this same problem has occured. All solutions given have varied depending on the distro being used. So i figured my best option was to post myself and ask.

Can anyone help me?
 
Old 05-04-2012, 03:54 AM   #2
lithos
Senior Member
 
Registered: Jan 2010
Location: SI : 45.9531, 15.4894
Distribution: CentOS, OpenNA/Trustix, testing desktop openSuse 12.1 /Cinnamon/KDE4.8
Posts: 1,144

Rep: Reputation: 217Reputation: 217Reputation: 217
Hi,

first you should find out if your server is running IMAP support (port 143) which you can test with
Code:
# telnet yourserver 143
if it responds then it's probably ok (the closest best solution)
and you need to check the config of squirrelmail (not the easy task ...).
Try send a message (email) to that m-box which you are trying to log in, if there is no messages yet in the mailbox, then it also could give this error (dropped...)

You could also use Roundcube webmail which works great with Dovecot, instead of Squirrelmail.

good luck

Last edited by lithos; 05-04-2012 at 04:00 AM.
 
1 members found this post helpful.
Old 05-04-2012, 11:10 AM   #3
lisaj
LQ Newbie
 
Registered: May 2012
Posts: 2

Original Poster
Rep: Reputation: Disabled
Thank you for you reply. It was useful in resolving my issues.
First of all I had already tried Checking the imap post via telnet and found that i had a response before recieving your reply. I found some examples of the squirrelmail config and all seemed to be in order. I sent myself mail as you suggested and this also did not resolve my issue with squirrelmail, I still got the same Error: Connection dropped by imap server.

Next I looked through the 'mail.log' and found that my problem was this error Fatal: Namespace Initialization failed. So I looked through the config files for Postfix and Dovecot. I found that they were both looking for the mail in different locations. My mail is stored at '/home/user/mbox'. In the dovecot config file (/etc/dovecot/dovecot.conf) I found and uncommented the line 'mail_location'and edited as follows 'mail_location = /home/%u/mbox'.

My issues are now resolved and Squirrelmail is functioning correctly.
 
Old 05-04-2012, 12:37 PM   #4
lithos
Senior Member
 
Registered: Jan 2010
Location: SI : 45.9531, 15.4894
Distribution: CentOS, OpenNA/Trustix, testing desktop openSuse 12.1 /Cinnamon/KDE4.8
Posts: 1,144

Rep: Reputation: 217Reputation: 217Reputation: 217
That's excellent

sometimes it happens that one just needs a "slight push" in the right direction to see the solution and solves it (like you did) !
 
  


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


All times are GMT -5. The time now is 08:48 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration