Hello!

I am getting too much confused about configuring Squirrelmail Interface for Sendmail service.I am using Fedora Core-2.

I have following rpm packages installed:

1. squirrelmail-1.4.4-1.FC2
2. sendmail-8.13.1-2.fc2.1
3. cyrus-imapd-2.2.3-11

I deleted by default in stalled sendmail service by mistake, so i installed it again.Squirrelmail is also installed by me.Cyrus-imapd was already installed.

I have added the folllowing lines to my httpd.conf file:

Code:
#
# Squirrel Mail
#
Alias /webmail/ "/usr/share/squirrelmail/"

<Directory "/usr/share/squirrelmail">
    Options Indexes MultiViews
    AllowOverride None
    Order allow,deny
    Allow from all
</Directory>
and made no further changes to any file etc.

I have a domain "testing123.com" in apache webserver.

Code:
<VirtualHost 192.168.0.102:80>
        ServerName hinahayat.com
        DocumentRoot "/webspace/hinahayat.com/www/html"
        </VirtualHost>
In "named.conf" its entries are:

Code:
zone "hinahayat.com" IN {
        type master;
        file "db.hinahayat.com";
        allow-update {none; };
};
& /var/named/db.hinahayat.com contains:

Code:
;Zone version: 1
@       IN      SOA     local.hinahayat.com.      admin.hinahayat.com.(

                        2006020219 ; se = serial number
                        3600       ; ref = refresh
                        600        ; ret = update retry
                        1209600    ; ex = expiry
                        3600  )    ; ttl
;
;Zone NS Record
;
@       IN      NS      local.hinahayat.com.
@       IN      NS      192.168.0.1.hinahayat.com.
;
@       IN      A       192.168.0.102
;
ftp     IN      CNAME   @
www     IN      CNAME   @
;
@       IN      MX      10      mail
@       IN      MX      15
;
mail    IN      A       192.168.0.102
;
@       IN      MX      10      mail
@       IN      MX      15      @
For Squirrelmail configuartion i have followed the following link:

Code:
http://www.xenocafe.com/tutorials/linux/redhat/squirrelmail/configuring_squirrelmail.php

I have also created the following file in xinetd.d:
1. "pop3" file

Code:
service pop3
{
	disable		= no
	flags		= REUSE
	socket_type     = stream      
	wait            = no
	user            = root
	server          = /usr/sbin/tcpd
}
To configure squirrelmail for POP, i have also added the Mailfetch Plugin to Squirrelmail.

My pam file points towards the password file i created for virtual users.

I have restarted the httpd service , sendmail service, xinetd service.

Now, when i enter the path "hinahayat.com/webmail:, it opens to a webmail login interface supported by squirrelmail.

But when i try to login from any local user or a virtual user, after sometime message is displayed that:

"Error: Connection dropped by imap server"

I am becoming more and more confused day by day.Plz help me with this.