errorCodex - Computer Questions & Solutions Forum


  errorCodex - Computer Questions & Solutions Forum » Blue Screen » Basic How-tos

Basic How-tos Help Us Noobs by Sharing Your Wisdom

Reply
 
Thread Tools
  #1  
Old 31 May 2010, 07:25
Miraenda's Avatar
Miraenda Miraenda is offline
Mime Stalker
 
Join Date: Nov 2009
Location: Coralville Iowa
Age: 37
Posts: 75
Miraenda has disabled reputation
Default Fix Courier "imap has failed" Error (FreeBSD on cPanel)

Issue:
Courier IMAP is not running on FreeBSD

Error:
Code:
imap has failed, please contact the sysadmin (result was 
"authdaemond is not running").
You might have the above when you either try to restart "IMAP Server (Courier/Dovecot)" in WHM or on issuing /scripts/courierup --force

Also, you will likely see the following in webmail clients (Roundcube, Squirrelmail, Horde):
Code:
Unexpected condition from IMAP server, closed or corrupt connection 
to IMAP. Possible mailbox corruption.
Two Possible Resolutions:
1. In /etc/rc.conf file, this line is missing:

Code:
courier_authdaemond_enable="YES"
The lines that should be present in /etc/rc.conf file for IMAP are these:
Code:
courier_authdaemond_enable="YES"
courier_imap_pop3d_enable="YES"
courier_imap_pop3d_ssl_enable="YES"
courier_imap_imapd_ssl_enable="YES"
courier_imap_imapd_enable="YES"
After adding the missing line and restarting IMAP, the service should then be working. If not, try another /scripts/courierup --force at that point.

2. /usr/ports/security/courier-authlib-base isn't installed properly

Run the following to rebuild it:
Code:
cd /usr/ports/security/courier-authlib-base
make deinstall && make install clean
Other possibilities are you need to re-install all the others as well:

Code:
cd /usr/ports/security/courier-authlib
make deinstall && make install clean
cd /usr/ports/mail/courier-imap
make deinstall && make install clean
/scripts/courierup --force
__________________
Miraenda
~ Ex uno disce omnes ~
Reply With Quote
Reply

Bookmarks

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -6. The time now is 02:41.


A vBSkinworks Design
Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.