In my case, I had to alter the /etc/xinetd.d/imap file to show the full path of imap; see below. I do find it curious that my imapd was in such a wierd directory and not /sbin or /usr/sbin or more normal location. Anyone care to comment? At least they could have put a symlink in the usual place in the $PATH. What does upcp do in the example you provide?
Code:
service imap
{
socket_type = stream
protocol = tcp
wait = no
user = root
server = /usr/local/cpanel/3rdparty/bin/imapd
disable = no
}

Originally Posted by
azrael
run /scripts/upcp --force