3 messages in net.sourceforge.lists.courier-usersRe: [courier-users] Error in IMAP com...
FromSent OnAttachments
Dan KuykendallJun 8, 2000 9:05 am 
Leonardo Rochael AlmeidaJun 8, 2000 11:31 am 
Dan KuykendallJun 8, 2000 2:43 pm 
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:Re: [courier-users] Error in IMAP command recieved by serverActions...
From:Leonardo Rochael Almeida (lr@insite.com.br)
Date:Jun 8, 2000 11:31:09 am
List:net.sourceforge.lists.courier-users

Hi all,

On Thu, 8 Jun 2000, Sam Varshavchik wrote:

On Thu, 8 Jun 2000, Dan Kuykendall wrote:

Starting Courier-IMAP server: imaplogin # bind: Address already in use

When this happens I cannot start courier-imap without rebooting the entire server.

This is a minor artifact of your TCP/IP stack. There's no need to reboot -- in about 60-120 seconds from now everything will automatically return to normal. You won't save much time by rebooting. This should not happen in normal production environment -- only when you telnet to the port to check things out, and then restart the daemon.

This smells like a TIME_WAIT problem. Whatever is binding to the imap port (couriertcpd?) should be setting the SO_REUSEADDR option in the socket (see socket(7) and setsockoption(2)) so as not to need to wait.

Regards, Leo

PS: I reserve the right to be utterly wrong :-)