![](https://seccdn.libravatar.org/avatar/df37474408294bfd8949439e646b9aac.jpg?s=120&d=mm&r=g)
Sorry to disturb :-(. I have a problem and don't find the solution in archives. I've seen a lot of squirrel posts, but none seems to do with my problem. I'm setting a proxy/sevreur with a suse 9.0. postfix is going well, mail goes and come from serveur and from clients (I receive them at jdd@dodin.org). I try to setup squirrel mail to reach my mail from anywhere. all my mail install is from yast/suse (ftp). so I installed imap and squirrel, run squirrel config, no problem. allow imap in xinetd (imapd) - imaps also. I connect to squirrel by http and get the login screen. I log as jdd, and have this Warning: fsockopen(): unable to connect to localhost:143 in /srv/www/htdocs/squirrelmail/functions/imap_general.php on line 446 and Erreur lors de la connexion au serveur IMAP localhost. 110 : Connexion terminée par expiration du délai d'attente (that is delay expired from port 110) so I mean this is an imap problem. but there is very few imap doc here. imap is open (and port 110 again) in SuSEFirewall2, I don't see any config file (no im* in /etc) any clue thanks jdd -- pour m'écrire, aller sur: http://www.dodin.net http://valerie.dodin.net http://arvamip.free.fr
![](https://seccdn.libravatar.org/avatar/ce7709bf45cb3a22e37c6b62c222cf69.jpg?s=120&d=mm&r=g)
IMAP is port 143. Can you telnet to this port on this machine ? I enabled my IAMP server not in xinetd, but in the Yast app, in the runlevel editor (System->System Services I think). My xinetd actually does not run (default). marcio
I connect to squirrel by http and get the login screen. I log as jdd, and have this
Warning: fsockopen(): unable to connect to localhost:143 in /srv/www/htdocs/squirrelmail/functions/imap_general.php on line 446
and Erreur lors de la connexion au serveur IMAP localhost. 110 : Connexion terminée par expiration du délai d'attente
(that is delay expired from port 110)
so I mean this is an imap problem. but there is very few imap doc here. imap is open (and port 110 again) in SuSEFirewall2, I don't see any config file (no im* in /etc)
![](https://seccdn.libravatar.org/avatar/1bc6b7160318dfff5e2a01693a5eee49.jpg?s=120&d=mm&r=g)
Quoting jdd sur free
Sorry to disturb :-(. I have a problem and don't find the solution in archives. I've seen a lot of squirrel posts, but none seems to do with my problem.
I'm setting a proxy/sevreur with a suse 9.0.
postfix is going well, mail goes and come from serveur and from clients (I receive them at jdd@dodin.org).
I try to setup squirrel mail to reach my mail from anywhere.
all my mail install is from yast/suse (ftp).
so I installed imap and squirrel, run squirrel config, no problem. allow imap in xinetd (imapd) - imaps also.
I connect to squirrel by http and get the login screen. I log as jdd, and have this
Warning: fsockopen(): unable to connect to localhost:143 in /srv/www/htdocs/squirrelmail/functions/imap_general.php on line 446
and Erreur lors de la connexion au serveur IMAP localhost. 110 : Connexion termin?e par expiration du d?lai d'attente
(that is delay expired from port 110)
so I mean this is an imap problem. but there is very few imap doc here. imap is open (and port 110 again) in SuSEFirewall2, I don't see any config file (no im* in /etc)
Port 110 is POP, not IMAP. Connections to localhost do not go thru the firewall. The IMAP protocol is built on the telnet protocol so you can check the server functioning independent of SquirrelMail. Here is a telent session with my IMAP server. Change user and password to a real user and their password. I use Courier IMAP, not UoW IMAP, so greeting and other details will differ. The first a1, a2, a3, a4, a5 lines are the ones you type. $ telnet localhost 143 Trying 192.168.252.2... Connected to localhost. Escape character is '^]'. * OK Courier-IMAP ready. Copyright 1998-2002 Double \ Precision, Inc. See COPYING for distribution information. a1 login user password a1 OK LOGIN Ok. a2 lsub "" * a2 OK LSUB completed a3 select MAILBOX * FLAGS (\Draft \Answered \Flagged \Deleted \Seen \Recent) * OK [PERMANENTFLAGS (\Draft \Answered \Flagged \Deleted \Seen)] Limited * 1 EXISTS * 0 RECENT * OK [UIDVALIDITY 1016733363] Ok a3 OK [READ-WRITE] Ok a4 fetch 1 body[header.fields (date, from, subject)] * 1 FETCH (BODY[HEADER.FIELDS ("date," "from," "subject")] {19} Subject: test 3 a4 OK FETCH completed. a5 logout * BYE Courier-IMAP server shutting down a5 OK LOGOUT completed Connection closed by foreign host. $ HTH, Jeffrey
![](https://seccdn.libravatar.org/avatar/360fdde53498f6542ea61fe41adc3f76.jpg?s=120&d=mm&r=g)
On Thursday July 21 2005 2:37 pm, Jeffrey L. Taylor wrote:
Quoting jdd sur free
: Sorry to disturb :-(. I have a problem and don't find the solution in archives. I've seen a lot of squirrel posts, but none seems to do with my problem.
I'm setting a proxy/sevreur with a suse 9.0.
postfix is going well, mail goes and come from serveur and from clients (I receive them at jdd@dodin.org).
I try to setup squirrel mail to reach my mail from anywhere.
all my mail install is from yast/suse (ftp).
so I installed imap and squirrel, run squirrel config, no problem. allow imap in xinetd (imapd) - imaps also.
I connect to squirrel by http and get the login screen. I log as jdd, and have this
Warning: fsockopen(): unable to connect to localhost:143 in /srv/www/htdocs/squirrelmail/functions/imap_general.php on line 446
and Erreur lors de la connexion au serveur IMAP localhost. 110 : Connexion termin?e par expiration du d?lai d'attente
(that is delay expired from port 110)
so I mean this is an imap problem. but there is very few imap doc here. imap is open (and port 110 again) in SuSEFirewall2, I don't see any config file (no im* in /etc)
Port 110 is POP, not IMAP. Connections to localhost do not go thru the firewall. The IMAP protocol is built on the telnet protocol so you can check the server functioning independent of SquirrelMail. Here is a telent session with my IMAP server. Change user and password to a real user and their password. I use Courier IMAP, not UoW IMAP, so greeting and other details will differ. The first a1, a2, a3, a4, a5 lines are the ones you type.
Jeffrey This depends on which imap you are using. Not familiar with Courier, but if you use the uw-imap that comes with suse, it is compiled to only accept secure connections thru imaps on port 993. See the excellent write up by David Krider at http://www.davidkrider.com/suse_8.2.php
You can also use Dovecot. It will accept connections via imap on port 143, or imaps on 993. I haven't used that much, but it was fairly easy to set up on a set system. Which ever way you go remember to configure squirrelmail to tell it which version of imap you are running. Hope this helps. -- Jim Flanagan linuxjim at jjfiii dot com
![](https://seccdn.libravatar.org/avatar/df37474408294bfd8949439e646b9aac.jpg?s=120&d=mm&r=g)
Jim Flanagan wrote:
David Krider at http://www.davidkrider.com/suse_8.2.php
I finally managed to use imap, squirrelmail & co thanks to this link. I was so glad that I made a french translation of it (I know there are french speaking members here) http://dodin.org/mediawiki/index.php/Accueil notice, as a clue, that most of my problems come from the fact that "localhost" is not always correctly translated (at least not at all by squirrelmail) - I don't yet know why. Replaing it by my domain name fixed the problem. thanks jdd -- pour m'écrire, aller sur: http://www.dodin.net http://valerie.dodin.net http://arvamip.free.fr
participants (4)
-
jdd sur free
-
Jeffrey L. Taylor
-
Jim Flanagan
-
Marcio Marchini