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!
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!