Posts Tagged ‘courier’
Fix for Courier IMAP Error: check for configuration errors with the FAM/Gamin library
I’ve got the following error message on Debian Linux (6.0) with Courier IMAP server:
Filesystem notification initialization error -- contact your mail administrator (check for configuration errors with the FAM/Gamin library)
when I tried to access a IMAP share. The resaon for the problem seems to be that the “fam” package was not working correctly. The solution is to install the gamin package which can replace fam in a courier setup:
apt-get install gamin
Dont worry when you get a message from apt that libfam0 gets uninstalled but is required by courier. This had no geative effects on my server.
How to renew SSL certificates for courier pop3 and imap server on Debian or Ubuntu?
This articles describes the renewal of SSL certificates for courier pop3 and imap server. This is nescessary e.g. when the certificates are expired or contain the wrong hostname.
First delete the exsiting certificates:
rm -f /etc/courier/imapd.pem
rm -f /etc/courier/pop3d.pem
Then edit the template that contains the details for the ecrtificates so that the hostname in the certificate matches the hsotanme of your server and that the email address matches your postmaster email address:
vi /etc/courier/imapd.cnf
vi /etc/courier/pop3d.cnf
and create the new certificates:
mkimapdcert
mkpop3dcert
Courier pop3 and imap have to be restarted so they pick up the new ecrtificates:
/etc/init.d/courier-imap-ssl restart
/etc/init.d/courier-pop-ssl restart