Tried to fix my imap error, now its completely broken

chibi

Verified User
Joined
Apr 26, 2005
Messages
18
Location
Canada
Hello. I was getting the IMAP error, ah this one:

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

So trying to be resourceful I came here to figure out what it was. And everyone kept saying dont put the @domain.com part. But that didnt work either.. and so then I found this post:

http://www.directadmin.com/forum/sh...ght=Error+connecting+to+IMAP+server+localhost

which was a very informative post indeed. So what I did was remove IMAP as the instructions said, and then I went to use the script to reinstall it.. but noo I got an error:

xinetd: unrecognized service

Uh-oh. Okay so I probably dont have it. My friend google finds it for me, I extract the tarball.. I do configure, make, make install. Thought everything would be peachy. But then it tells me to copy my .conf file. Well.. I didnt have one. They provide a "sample.conf" that I could use. I took a peak inside and none of it made any sense.

So it looks like I am stuck. Any suggestions? To be honest I dont know if my problem was imap/xinetd even to begin with.. I am hitting myself now for not making a second account and trying to login with it.

Maybe I will try that now.. I still get that "xinetd: unrecognized service" message so maybe xinetd dint even install yet because of that conf thing. I dont even know what its for :confused:

Oh but wait.. i still deleted imap so checking now isnt going to help me anyways...

Help? :eek:
 
Last edited:
As a followup, use an xinetd rpm instead. It sets up the /etc/xinetd.conf file correctly (and includes the /etc/xinted.d directory).

John
 
Alright, I will keep that in mind. Debian had always been my native Linux distro so I always used .deb or converted rpms using alien. But I will definately remember your advice.

Thanks again!
 
Back
Top