Imapd in Debian 3.1 Fails

PauGasol

Verified User
Joined
Feb 3, 2004
Messages
125
Hi,

Today the imap not works :

imapd
* BYE Service not available xxx1.hostname.com IMAP4rev1 2003.339 at Sat, 16 Dec 2006 18:33:18 +0100 (CET)


i use the script of imapd.sh etc etc but not works. Squirrelmail returns :

ERROR:
ERROR: Connection dropped by IMAP server.


I have other box with debian 3.1 and works fine :

* OK [CAPABILITY IMAP4REV1 LOGIN-REFERRALS AUTH=LOGIN] xxx2.hostname.com IMAP4rev1 2003.339 at Sat, 16 Dec 2006 18:37:18 +0100 (CET)


The conf and the rest seems to be similar in both servers. Any help ?

Thanks
 
Hello,

I googled and found this:
http://www.koders.com/c/fidF1D487191254BCC025B851C5AC76A272F8F3B3FE.aspx
PHP:
   if (stat (SHUTDOWNFILE,&sbuf)) {
             //some code
  }
  else {			/* login disabled */
    PSOUT ("* BYE Service not available ");
    state = LOGOUT;
  }
Hunting through, I found the SHUTDOWNFILE to be /etc/nologin. I checked on our systems and can't find it anywhere. My guess is the file exists, hence you can't login. Try removing (or renaming) the /etc/nologin file so it doesn't exist.

John
 
Back
Top