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 "" 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 = '';
$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.