Visit Jeremy's Blog.
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 12-30-2004, 02:46 AM   #1
LQ Newbie
Registered: Dec 2004
Posts: 8

Rep: Reputation: 0
Squirrelmail - ERROR : Connection dropped by imap-server.

Dear forum,

I've installed Squirrelmail because I need to be able to read the email using webmail.

Once installed I can access the login page by typing "mydomain_com/webmail/" and I get prompted for username and password so..., I enter the username and the password but the risult is the following error:

ERROR : Connection dropped by imap-server.

I've googled this error message togeter with other researches trying to figure out what could be causing this problem, but I didn't find anything useful.

I really think that I'm not looking in the proper place.

Computer details:

- O.S. is RedHat 8.0
- Sendmail (working properly)
- uw (imap)
- pop3 server (working properly)

this is the configuration taken from the config.php file:

$squirrelmail_default_language = 'en_US';
$domain = 'mydomain';
$imapServerAddress = 'Localhost';
$imapPort = 143;
$useSendmail = true;
$smtpServerAddress = '';
$smtpPort = 25;
$sendmail_path = '/usr/sbin/sendmail';
$pop_before_smtp = false;
$imap_server_type = 'uw';
$invert_time = false;
$optional_delimiter = 'detect';
$default_folder_prefix = 'mail/';
$trash_folder = 'Trash';
$sent_folder = 'Sent';
$draft_folder = 'Drafts';
$default_move_to_trash = true;
$default_move_to_sent = true;
$default_save_as_draft = true;
$show_prefix_option = true;
$list_special_folders_first = true;
$use_special_folder_color = true;
$auto_expunge = true;
$default_sub_of_inbox = false;
$show_contain_subfolders_option = true;
$default_unseen_notify = 2;
$default_unseen_type = 1;
$auto_create_special = true;
$delete_folder = true;
$noselect_fix_enable = false;
$default_charset = 'iso-8859-1';
$data_dir = '/var/lib/squirrelmail/prefs/';
$attachment_dir = '/var/spool/squirrelmail/attach/';
$dir_hash_level = 0;
$default_left_size = '150';
$force_username_lowercase = false;
$default_use_priority = true;
$hide_sm_attributions = false;
$default_use_mdn = true;
$edit_identity = true;
$edit_name = true;
$allow_thread_sort = true;
$allow_server_sort = true;
$allow_charset_search = true;
$uid_support = true;

this is the /etc/xinetd.d/imap file:

service imap
socket_type = stream
wait = no
user = root
server = /usr/sbin/imapd
log_on_success += HOST DURATION
log_on_failure += HOST
disable = no

The only thing that is getting my attention is that I cannot start a telnet session on port 143 and this is the result I get after typing "telnet localhost 143":

Connected to localhost.
Escape character is '^]'.
Connection closed by foreign host.
[root@mypc xinetd.d]#

it seams that the imap section is being terminated by the server or not started at all !!!

Any help or suggestion on the matter will be highly appreciated.

Thank you in advance.
Old 01-05-2005, 02:24 AM   #2
LQ Newbie
Registered: Dec 2004
Posts: 8

Original Poster
Rep: Reputation: 0
I've uninstalled and reinstalled the imap server (default RH 8.0) and it is still doing the same problem when trying to telnet but I've manually launched the imapd service and this is the result:

[root@myhost xinetd.d]# /usr/sbin/imapd
* OK [CAPABILITY IMAP4REV1 LOGIN-REFERRALS STARTTLS AUTH=LOGIN] IMAP4rev1 2001.315rh at Wed, 5 Jan 2005 16:02:50 +0800 (WST)
a login Mypassword
a NO LOGIN failed
a logout
* BYE IMAP4rev1 server terminating connection
a OK LOGOUT completed
[root@myhost xinetd.d]#

maillog entries:

Jan 5 16:03:22 mail imapd[2796]: Logout host=UNKNOWN

imapd is accepting connections but I could not authenticate neither using the root account or my personal login account (same results with both credentials).

This is the output of "netstat -pant":

[root@myhost xinetd.d]# netstat -pant
Active Internet connections (servers and established)
Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name
tcp 0 0* LISTEN 655/rpc.statd
tcp 0 0* LISTEN 2646/xinetd
tcp 0 0* LISTEN 2646/xinetd
tcp 0 0* LISTEN 919/mysqld-max
tcp 0 0* LISTEN 2646/xinetd
tcp 0 0* LISTEN 2646/xinetd
tcp 0 0* LISTEN 2646/xinetd
tcp 0 0* LISTEN 636/portmap
tcp 0 0* LISTEN 1084/X
tcp 0 0* LISTEN 868/httpd
tcp 0 0* LISTEN 2646/xinetd
tcp 0 0* LISTEN 773/named
tcp 0 0* LISTEN 773/named
tcp 0 0* LISTEN 773/named
tcp 0 0* LISTEN 791/sshd
tcp 0 0* LISTEN 925/(squid)
tcp 0 0* LISTEN 838/sendmail: accep
tcp 0 0* LISTEN 773/named
tcp 0 248 x.x.x.x:2614 ESTABLISHED 2556/sshd
tcp 0 0 x.x.x.x:2168 ESTABLISHED 2426/sshd
Old 06-10-2008, 06:25 AM   #3
Fedora 6
Registered: Oct 2007
Posts: 35

Rep: Reputation: 16

When trying to change my password for sqirrelmail i got error connection refused 111
I solved by removing the line
port = 106
from the file /etc/xinet.d/courierpassd

I hope this solved your problems


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 connecting to IMAP server 111 : Connection refused dolay Linux - Newbie 2 03-02-2010 05:09 AM
Connection dropped by imap-server max_tcs Linux - Software 0 03-29-2005 01:05 PM
Squirrelmail: Connection dropped by imap-server debuser Debian 2 11-23-2004 05:10 AM
Postfix error "Server dropped connection yofori Linux - Networking 2 02-22-2004 05:30 AM
imap server works using squirrelmail but problems with sylpheed esteeven Linux - Software 6 01-13-2004 03:19 PM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 04:25 PM.

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