5 messages in net.sourceforge.lists.courier-usersFW: [courier-users] connection refuse...
FromSent OnAttachments
Holger GossmannSep 13, 2001 9:02 am 
Ken HerronSep 13, 2001 7:07 pm 
Holger GossmannSep 14, 2001 2:49 am 
Holger GossmannSep 14, 2001 5:39 am 
Sam VarshavchikSep 15, 2001 1:25 am 
Actions with this message:
Paste this link in email or IM:
Paste this link in email or IM:
Atom feed for this thread
Paste this URL into your reader:
Subject:FW: [courier-users] connection refused was (no subject) Actions...
From:Holger Gossmann (hgos@rs2group.com)
Date:Sep 14, 2001 5:39:47 am
List:net.sourceforge.lists.courier-users

Hello,

an update to Kernel 2.4.4 fixed my problem. Thanks for your help.

regards Holger Go?mann

-----Original Message----- From: cour@lists.sourceforge.net [mailto:cour@lists.sourceforge.net]On Behalf Of Holger Gossmann Sent: Friday, September 14, 2001 11:46 AM To: Ken Herron Cc: cour@lists.sourceforge.net Subject: RE: [courier-users] connection refused was (no subject)

header snipped

Hello,

I changed in etc/imapd and etc/imapd-ssl the ADDRESS=my address and changed the AUTHMODULES= to authvmailmgr. I copied authvmailmgr to libexec/authlib/. I start courier using libexec/imapd.rc start ps waux reports courier running on port 143,but i can't telnet to port 143 the connection is refused.

"connection refused" means that nothing is listening on the port you tried to connect to. The "ps" program, of course, only tells you that a process is running; it doesn't *really* tell you what port(s) the program is listening on. The command "netstat -a" will list all tcp port in use, including servers listening for connections.

root@mail-srv2:/ > netstat -a | grep imap tcp 0 0 ::ffff:62.159.42.1:imap *:* LISTEN unix 0 [ ACC ] STREAM LISTENING 98253 /usr/lib/courier-imap/var/authdaemon/socket.tmp

I suspect that you set imapd to listen on a specific IP address, then tried to connect to localhost rather than the IP address it's listening on.

root@mail-srv2:/ > telnet 62.159.42.180 143 Trying 62.159.42.180... Connected to 62.159.42.180. Escape character is '^]'. Connection closed by foreign host.

That means the imap daemon is accepting the connection. But refuses immediatly.

snip

If you want imapd to listen on all interfaces instead of just one, try specifying 0.0.0.0 as the address it should listen on.

I tried to specify 0.0.0.0 but it is still not working.

I also tried the original authmodules and it is not working. I tried to connect to the SSL port after creating a cert and starting daemon, same problem. I have no clue what could be wrong in the setup.

Thanks for your help.

regards, Holger Go?mann