Courier-imap configured with Courier authentication library via MySQL
Posted by Richard5 under Courier , MySQL , PostFix , Unix1 Comment
Again I made some small progress in getting a fully functional IMAP based mail server running on my Mac mini. After getting Postfix compiled with MySQL support I needed to get started on the IMAP end of things.
First downloading the source code as I couldn’t find any ready made packages I could just install. You can get Courier IMAP from here and the authentication library from here. I used version 4.0.6 of the IMAP server and version 0.57 of the authlib daemon.
The authlib daemon was as easy as ./configure, make and then as root do a ‘make install’ and ‘make install-configure’ and then tweak some of the configuration files. The IMAP server took more effort. It needed some parameters during the configuration stage, I took some values on a best guess effort but I still need to find out what they do exactly. I’ve got it compiled and running with:
./configure --prefix=/usr/local --with-authpwd=YES --without-authcram make make install
Now I can read my emails from the server, still needed some configuration tweaking but more on that later. Still while trying to send mail to myself the mail address gets bounced in Postfix, I need to find out why. But to end on a positive note, my mail was copied into the send mail folder on the IMAP server !
- No related posts
March 13th, 2007 at 3:41 pm
Latest courier (0.54.2) fails with res_query not found (OS X 10.3.9) – man page lists one more header file but configure still fails, and rather than fuss with it further I grabbed it from MacPorts.
This seems like a popular complaint on different platforms and telling the fix is not so popular…there were some patch files and the like which probably give the dirty details.