Courier imap + fam problem - the real fix

Wednesday February 8, 2006

This error message keeps popping up in the server logs:

Failed to create cache file: maildirwatch (user) Error: Input/output error Check for proper operation and configuration of the File Access Monitor daemon (famd)

Typing it into Google reveals many other people with the problem. Then there is the Courier FAQ, which is less than helpful:

Q: Repeated messages in syslog: “Failed to create cache file: maildirwatch (user) Error: Input/output error Check for proper operation and configuration of the File Access Monitor daemon (famd).” How can I solve it?

This means that Courier was compiled with File Alteration Monitor (FAM), but FAM is not running, or is not configured. If you have FAM installed you can add it to a runlevel and start it. Some FAM configuration use portmapper, so you will need to have portmap running also. You can also see “man 8 imapd” for more information.

But thankfully, one kind soul has posted the real answer. THANK YOU!

One Response to “Courier imap + fam problem - the real fix”

  1. Seb Says:

    Hi Brian, glad I helped out :)