solan

Active Member
Apr 11, 2003
37
0
156
I've had a IMAP failure for the past week and I can't seem to figure out whats the problem..

[email protected] [/]# find / -name imap
/home/cpapachebuild/buildapache/php-4.3.3/ext/imap
/var/run/chkservd/imap
/etc/xinetd.d/imap
/etc/pam.d/imap
/etc/chkserv.d/imap
/usr/share/doc/nss_ldap-189/pam.d/imap
/usr/include/imap
/usr/local/cpanel/etc/imap

I know that /etc/xinetd.d/imap is the script for it
and that shows

service imap
{
socket_type = stream
wait = no
user = root
server = /usr/sbin/imapd
log_on_success += HOST DURATION
log_on_failure += HOST
disable = no
}

....................................
when I try to start the service within cpanel I get

Waiting for imap to restart.... . . . . . . . . . . finished.

imap status

imap has failed, please contact the sysadmin.

.....................................

Any help on this matter would be greatly appreciated..
If not I'm going to just remove all of imap stuff and do

/scripts/upcp ------and mybe that might work ??

Thanks Guys..
 

sujai

Member
Sep 26, 2003
22
0
151
Check whether the /etc/hosts. deny file contains anything that denys all imap . If there is something then remove it and restart IMAP
 

solan

Active Member
Apr 11, 2003
37
0
156
I figured it all out.. I did alot so its hard to remember what really fixed the problem but what you listed wasn't the problem. I do think I fixed it because I changed the direct path for the imapd server then restarted imap and that didn't work but when I restarted exintd then it did work. dunno why but it did.
 

viooltje

Well-Known Member
Mar 14, 2004
60
0
156
Please tell me what you did I have been attempting since 13 hours ago go when I upgraded my server from red hat 7.3 to 9 HELL of a job.
Now I know why they cal 9 a HELL and it is a hell.

WHM 9.1.0 cPanel 9.1.0-S73
RedHat 9 - WHM X v2.1.2
dual xeon everything is fine except this imap thing!

I get this:
# find / -name imap
find: /proc/24419/fd: No such file or directory
/var/run/chkservd/imap
/etc/pam.d/imap
/root/installd/buildapache/php-4.3.1/ext/imap
/usr/share/doc/nss_ldap-202/pam.d/imap
/usr/include/imap
/usr/local/cpanel/etc/imap
/home/admin/installd/buildapache/php-4.3.3/ext/imap
/home/cpapachebuild/buildapache/php-4.3.4/ext/imap