Search
Get RSS Posts / Comments

imapd: Error: Input/output error

Posted by kire on May 25, 2010

So your IMAP mail is failing. Your e-mail client disconnects with an error related to bad authentication or simply “connection closed by remote server”. Check your mail logs, and you find:

May 25 17:52:43 vps imapd: Failed to create cache file: maildirwatch (someone@somewhere.com)
May 25 17:52:43 vps imapd: Error: Input/output error
May 25 17:52:43 vps imapd: Check for proper operation and configuration
May 25 17:52:43 vps imapd: of the File Access Monitor daemon (famd).

Found this obscure error in the system logs for IMAP. The server does not run “famd”. Make any sense? Not really. Though verbose, the output is indicative of nothing related to famd, I/O, or the cache file.

I first restarted the courier-auth daemon, which alleviated the failed login issue (seen as authentication failed or connection closed on most IMAP clients).

Second, edit the file:

/usr/lib/courier-imap/etc/imapd

and make sure IMAP_USELOCKS and IMAP_ENHANCEDIDLE are both set to 0, after that restart courier-imap:

/etc/init.d/courier-imap restart

Done, and done.

Related posts:

  1. cPanel error: language cache is out of date During an upcp, or visible on cPanel WHM you may...
  2. Error: Failed opening ‘Net/SMTP.php’ for inclusion Warning: send(Net/SMTP.php) [function.send]: failed to open stream: No such file...

Related posts brought to you by Yet Another Related Posts Plugin.

Leave a Reply