PDA

View Full Version : Imap failing on new cpanel install


Techweasel
07-01-2005, 12:55 PM
Hi all,

I've been battling with a new cpanel install (Fedora core 2) as imap has been constantly failing, then e-mailing me every ten minutes when it tries to restart iteself. I got 130 notices alone last night. Anyway, I've managed to track down a fix (mostly from cpanel.net), but thought I'd share in case anyone else finds they have the same issue since it's a really messy fix:

1. Edit /etc/xinetd.d/imap

change sever = imap
to server = /usr/sbin/imapd

2. Copy cpanels imapd over Fedoras default:

cp -f /usr/local/cpanel/3rdparty/bin/imapd /usr/sbin/imapd

and restart

/etc/rc.d/init.d/xinetd restart

3. This fixes imap, but breaks squirrelmail with an array of php errors. To fix:

cp -p /usr/local/cpanel/base/3rdparty/squirrelmail/config/config_default.php /usr/local/cpanel/base/3rdparty/squirrelmail/config/config.php

It seems (fingers crossed) that this solves all the outstanding issues. Time will tell if it holds up or not.

Hope my pulled out hair can be of use to someone else!

Techweasel
07-01-2005, 01:06 PM
Also a warning. This creates a "double login" bug where you have to re-enter your e-mail and password to access squirrelmail, until you get a clean copy of the /usr/local/cpanel/base/3rdparty/squirrelmail/plugins/cpanel_auth from another cpanel install.

I love cpanel functionality, but I have *never* had a cpanel system work 100% properly out of the box... (grumble, grumble).

Toe
07-02-2005, 12:13 PM
I love cpanel functionality, but I have *never* had a cpanel system work 100% properly out of the box... (grumble, grumble).
Heh, that's why I switched over to DirectAdmin. Once upon a time I had a CPanel install that was doing much the same thing as yours, only it was the POP daemon instead of IMAP, and half the time the process monitor didn't even catch it. :roll: