User Tools

Site Tools


build:imap

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Next revision Both sides next revision
build:imap [2005/03/16 15:39]
67.64.222.25
build:imap [2008/04/02 17:41]
151.145.238.91 Add some corrections from 2008-03-02 installation. (CMB)
Line 1: Line 1:
-We are using cyrus imap version 2.1.17, thus you need to install the following packages:+====== Courier IMAP ======
  
-cyrus21-imapd+We chose [[http://​www.courier-mta.org/​imap/​ | Courier IMAP]] as our mail access agent (MAA) because it is easy to configure and maintain. It supports the IMAP4 and POP3 protocols, allowing mail user agents (MUAs) to get their email from the mail server. As the name suggests, IMAP is the primary protocol. IMAP has many advantages over POP; chief among them is support for folders, and keeping the emails on the server.
  
-cyrus21-pop3d+We (Jeff Muse and Craig Buchek mainly) chose Courier IMAP, as it's much easier to configure and maintain than Cyrus. Plus, there'​s good documentation on setting it up to work with Postfix at [[http://​workaround.org/​articles/​ispmail-sarge]] and other sites.
  
-cyrus21-admin+(See [[http://​www.xman.org/​imap/​pieces.shtml | this article]] for a description of all the pieces involved in email delivery.)
  
-cyrus21-client 
  
-cyrus21-common+===== Installation =====
  
-cyrus21-doc (is optional but highly recommended)+We need to install several pieces of the Courier email system. First, some pre-requisites:​ 
 +<​code>​ 
 +apt-get install libfam0c102 courier-base courier-ssl courier-authdaemon 
 +</​code>​ 
 +When asked if you want to use configuration directories,​ answer **Yes**. 
 + 
 +Install the IMAP pieces, and the POP pieces: 
 +<​code>​ 
 +apt-get install courier-imap courier-imap-ssl 
 +apt-get install courier-pop courier-pop-ssl 
 +</​code>​ 
 + 
 +Install the recommended packages and documentation:​ 
 +<​code>​ 
 +apt-get install courier-doc 
 +</​code>​ 
 + 
 +Don't forget to create ''/​etc/​courier/​pop3d.pem''​ and ''/​etc/​courier/​imapd.pem''​ SSL certificates. 
 +<code rootshell>​ 
 +cp /​usr/​lib/​courier/​*.pem /​etc/​courier/​ 
 +</​code>​ 
 +NOTE: I'm not sure this is correct, or if we should create certificates with ''​openssl''​. 
 + 
 + 
 +===== Configuration ===== 
 + 
 +TODO. 
 + 
 +===== Startup ===== 
 + 
 +TODO. 
 + 
 +===== Testing ===== 
 + 
 +TODO. 
 + 
 +===== TODO ===== 
 + 
 +  * Document configuration details. Certificates were made using the ssl-cert packages make-ssl-cert script. We had to edit the /​usr/​sbin/​make-ssl-cert script and add the -days 3650 to the openssl command that actually creates the certificate,​ otherwise it defaults to 30 days (have not yet figured this one out)
 +  * Make sure IMAP isn't filling up the log files again. 
 + 
 +====== Alternative IMAP Servers ====== 
 + 
 +  * [[http://​www.bincimap.org/​ | BINC IMAP]] - looks simple yet robust; recommended by Matthew Porter 
 +  * [[http://​www.dovecot.org/​ | Dovecot]] - new, but in active development;​ concentrates on security, simplicity, speed, low memory use 
 +  * [[http://​www.washington.edu/​imap/​ | UW-IMAP]] - the original Open Source implementation 
 +  * [[http://​asg.web.cmu.edu/​cyrus/​imapd/​ | Cyrus IMAP]]
  
-To manage user accounts, install the mailadmin package (you can get the debianized version from the Sudora private repository, or download the tarball and manually install from the SF site [ http://​mailadmin.sf.net/​ ]).  This program requires PostgreSQL, PHP (with register_global on) and apache-ssl (highly recommended for security purposes). 
build/imap.txt · Last modified: 2008/04/06 23:20 by 24.217.108.17