Hi all, I am new to dovecot and squirrelmail and I am trying to configure squirrelmail with dovecot as its imap server. When i disable "Secure Imap (TLS)" option (2-A-7) from squirrelmail configure menu, it's working fine. But when i try to enable tls support, squirrelmail is giving the following error: Warning: fsockopen(): unable to connect to 192.xx.xx.xx:993 in /usr/share/squirrelmail/functions/imap_general.php on line 445 ERROR Error connecting to IMAP server: tls://192.xx.xx.xx. 111 : Connection refused Go to the login page The port numbers of the imap server are as follows: imap_listen 143 pop3_listen 110 imaps_listen 993 pop3s_listen 995 Squirrelmail and the dovecot imap server are running on different machines, so it is essential to enable tls support. All the machines are running Debian Sarge. Can anyone suggest a solution for the above problem ? Thank you. Srinivas _______________________________________________ No banners. No pop-ups. No kidding. Make My Way your home on the Web - http://www.myway.com
Only two things I can think of: 1. Dovecot was not configured for imap with ssl (check that ssl_disable is not set to yes). Also check the protocols statement that it supports imaps. 2. Check that you do not have access lists blocking off 993 to your squirrelmail. This is often encountered if using tcp wrappers and you're running dovecot through (x)inetd. Regards, Neil 2005/7/1, Srinivas <srinivaspatnaik at myway.com>:> > Hi all, > I am new to dovecot and squirrelmail and I am trying to configure squirrelmail with dovecot as its imap server. When i disable "Secure Imap (TLS)" option (2-A-7) from squirrelmail configure menu, it's working fine. But when i try to enable tls support, squirrelmail is giving the following error: > > Warning: fsockopen(): unable to connect to 192.xx.xx.xx:993 in > /usr/share/squirrelmail/functions/imap_general.php on line 445 > > ERROR > Error connecting to IMAP server: tls://192.xx.xx.xx. > 111 : Connection refused > Go to the login page > > The port numbers of the imap server are as follows: > > imap_listen 143 > pop3_listen 110 > > imaps_listen 993 > pop3s_listen 995 > > Squirrelmail and the dovecot imap server are running on different machines, so it is essential to enable tls support. All the machines are running Debian Sarge. > > Can anyone suggest a solution for the above problem ? > Thank you. > Srinivas > > _______________________________________________ > No banners. No pop-ups. No kidding. > Make My Way your home on the Web - http://www.myway.com > >
>Only two things I can think of: >1. Dovecot was not configured for imap with ssl (check that >ssl_disable is not set to yes). Also check the protocols statement >that it supports imaps. > >2. Check that you do not have access lists blocking off 993 to your >squirrelmail. This is often encountered if using tcp wrappers and >you're running dovecot through (x)inetd. > >Regards, NeilThe ssl_disable is set to no and the protocols statement contains all the four protocols: imap pop3 imaps pop3s. But i couldn't make out the 2nd point, you suggested.Can you, please, describe it a little more ? Srinivas _______________________________________________ No banners. No pop-ups. No kidding. Make My Way your home on the Web - http://www.myway.com
dovecot and squirrelmail configuration successfull!! The problem was: There were many other options related to ssl,which were enabled, like ssl_cert_file,ssl_parameters_file and so on. i disabled them all, and it's working fine now. Now, only, ssl_disable = no is uncommented. Thank you all. Srinivas _______________________________________________ No banners. No pop-ups. No kidding. Make My Way your home on the Web - http://www.myway.com