I have been at this for hours, and am going boss-eyed.
I have (through the help of mburdick) got postfix working, and am trying to get courier-imap working too.
I'm running Mandrake 9.1.
I dowloaded courier-imap-2.2.0 and built the rpm using rpmbuild (I had to install a lot of dependencies to get this far).
I installed courier and then found that I could telnet to port 143. I could not connect with Mozilla mail client or Kmail from localhost.
I then worked out I need to do some authentication setup using userdb as documented at http://www.inter7.com/courierimap/INSTALL.html
I have set up the server, but it still will not authenticate.
I do not know where the courier-imap logs are stored so cannot trace that way.
Any help greatly appreciated.