Courier: Difference between revisions

From miki
Jump to navigation Jump to search
No edit summary
m (→‎OpenSUSE: rewording)
Line 51: Line 51:


=== OpenSUSE ===
=== OpenSUSE ===
* Uninstall the default IMAP server (''UW IMAP'') packages, or they'll create a conflict
Binary package for '''Courier IMAP''' is available on '''openSUSE''' (package '''courier-authlib''' and '''courier-imap'''). However it conflicts with the default IMAP server, ('''UW IMAP'''), which must first be uninstalled.
* Install ''Courier IMAP'' package (packages <tt>courier-authlib</tt> and <tt>courier-imap</tt>).


=== Cygwin ===
=== Cygwin ===

Revision as of 15:19, 21 February 2011

Courier IMAP is a fast, scalable, enterprise IMAP server that uses Maildirs.

References

Install

Ubuntu

To install Courier IMAP:

  • Install the required packages:
sudo apt-get install courier-imap courier-doc courier-imap-ssl
  • Create /etc/courier/userdb.dat
sudo su
pw2userdb >/etc/courier/userdb
chmod 600 /etc/courier/userdb
makeuserdb
maildirmake /etc/skel/Maildir            # Create Maildir directory for all new users


To use the password from /etc/courier/userdb (and not from PAM) (as root):

  • Edit the file /etc/courier/authdaemonrc, and change it as follows:
authmodulelist="authuserdb"
  • Restart the daemon:
/etc/init.d/courier-authdaemon restart
  • Change the password for user username and commit the changes
userdbpw -md5 | userdb username set systempw
makeuserdb
  • Test the new password with
nc imapserver 143
01 LOGIN username password
02 LOGOUT

OpenSUSE

  • Uninstall the default IMAP server (UW IMAP) packages, or they'll create a conflict
  • Install Courier IMAP package (packages courier-authlib and courier-imap).

Cygwin

See the page dedicated to Courier Cygwin.