PDA

View Full Version : IMAP server error



apostle
07-06-2004, 09:35 AM
When i go to login to squirrelmail I get: Error connecting to IMAP server: localhost.
111 : Connection refused

I have seen 2 other posts of the same problem and tried the things and nothing worked. It seems as though IMAP and xinetd was not installed so i tried up2date -u xinetd, i got an error about time so downloaded a rpm and installed it. That didn't fix the problem, so i went to install a IMAP server, i needed dependancies and found out the 2 of them were in OpenSSL so went to install that and it said that OpenSSL was already installed and it was a newer version so couldn't install it. I'm wondering if just reinstalling DA would be easier. Any ideas please help. I'm also kinda new to linux so talk in english :p

DirectAdmin Support
07-06-2004, 10:24 AM
Hello,

1) the imapd we include is customized with our own code so installing someone elses wont work. Check for /usr/sbin/imapd .. if you have it, it's installed. To reinstall imapd, run:

rm -f /usr/sbin/imapd
cd /usr/local/directadmin/scripts
./imapd.sh

2) xinetd (inetd on FreeBSD) normally comes standard with all RedHat installs (DA doesn't install it). But you should be able to find it here: http://download.fedoralegacy.org/

or using:
up2date -u xinetd --serverUrl=http://download.fedoralegacy.org/9/updates/i386/

Where you'd put your redhat number in replace of 9

John

apostle
07-06-2004, 10:53 AM
Thanx a lot! Worked perfectly. great support ya got here :)

MQ-James
10-31-2004, 04:08 PM
heh, LONG LONG time since i've posted

but this article helped me thanks

rjmartino
12-17-2004, 06:50 PM
I have FreeBSD and after step two, I just:

cd /usr/sbin/
./inetd

and it started right up... no more errors... thanks for your help.

drmike
04-29-2005, 06:05 AM
Originally posted by DirectAdmin Support
[B]Hello,

1) the imapd we include is customized with our own code so installing someone elses wont work. Check for /usr/sbin/imapd .. if you have it, it's installed. To reinstall imapd, run:

rm -f /usr/sbin/imapd
cd /usr/local/directadmin/scripts
./imapd.sh

Um, if this is so, how come we're installing c-client imap over in the horde howto?

Can't login via Squirrelmail this morning. It won't see any user. *sigh*

-drmike

dave@annexa.net
10-09-2005, 10:05 AM
We are having a similar problem with Squirrelmail. Same errors message. Followed instructions in this thread and problem persists.

Steps used:
[root@server sbin]# rm -f /usr/sbin/imapd
[root@server sbin]# cd /usr/local/directadmin/scripts
[root@server scripts]# ./imapd.sh

Response from xinetd
xinetd: unrecognized service

imapd is installed where it should be as is exim. Any advice would be helpful.

Thanks,

Dave

brianjcollins
10-11-2005, 07:08 PM
Chances are you don't really have xinetd installed fully. Or its not listed as a service. Heres what I did in FC4 to fix it easily enough.

Download newest rpm for FC4:
ftp://195.220.108.108/linux/fedora/core/4/i386/os/Fedora/RPMS/xinetd-2.3.13-6.i386.rpm

Install:
rpm -Uvh xinetd-2.3.13-6.i386.rpm

Start Xinetd:
/etc/rc.d/init.d/xinetd start

That's all there was to it for me

Brian

tlof
10-27-2005, 12:41 AM
I running a freebsd5.3 Box.
And i recive the same error message.

Error connecting to IMAP server: localhost.
61 : Connection refused

I just installed this machine, and nothing change (yet :) )

I try to do what you say, but in my installation the inetd not running, and the imapd still sit on his place.

Any advice?