Implementing IMAP advice for first timer.

David Robillard david.robillard at gmail.com
Wed May 24 11:21:49 PDT 2006


> ------------------------------
>
> Message: 29
> Date: Tue, 23 May 2006 19:23:47 -0800
> From: "Noah" <admin2 at enabled.com>
> Subject: Implementing IMAP advice for first timer
> To: "freebsd-questions" <freebsd-questions at freebsd.org>
> Message-ID: <20060524032337.M97496 at enabled.com>
> Content-Type: text/plain;	charset=iso-8859-1
>
> FreeBSD-4.11
>
> Well I want to get IMAP running on my FreeBSD box and would like to have a
> safe, non service-interrupting strategy to implementing it.  I am leaning
> toward installing cyrus imapd.  I have some questions about how to get things
> working.
>
> 1)	Can somebody please recommend a good FAQ about how-to get IMAP running my
> FreeBSD machine?

I'm actually writing a step-by-step guide on how I installed
Sendmail+TLS+SASL+Cyrus-IMAP. The document is still at a very early
beta stage, but it could help you out. Tell me if you'd be interested.
Meanwhile, take a look at the following ports which I used in my
setup:

mail/cyrus-imapd23
security/cyrus-sasl2
security/cyrus-sasl2-saslauthd
mail/sendmail

Note that mail/sendmail is listed here because to have a TLS/SSL and
SASLAUTH enabled sendmail daemon, you need to recompile it.


> 2)	Are there things I should be aware of before I start the process?

You should be confortable with the configuration of Sendmail and with
the use of OpenSSL. I would also recommend to try your setup on a test
machine rather then your production environment.


> 3)	I don't completely understand how IMAP works – is there a good tutorial
> about this subject?

Read the documentation that comes with the cyrus-IMAP port. You can
also read the Cyrus-IMAP Wiki at http://cyrusimap.web.cmu.edu/twiki/
But to understand "how IMAP works", then read the relevant RFC which
you can find a list here http://www.imap.org/biblio.html


> 4)	I don't completely understand how local mail delivery will change – is
> there a good tutorial about this subject?
>
> This is not exactly true.  If you switch to Cyrus from something
> else, you will have to  make sure that your mail is delivered to
> Cyrus instead if however it was being done before (local mbox or
> maildir for example).  I have not run Cyrus in many years but they
> had their own delivery agent that your local mail agent (mda/mta like
> sendmail, exim, etc) would hand off to.  Has this changed or does it
> still work that way?

Yes, that is still how it works. When installing mail/cyrus-imapd23
you need to change your sendmail configuration to change your MAILER
from `local' to `cyrusv2'.

Regards,

David

-- 
David Robillard
UNIX systems administrator
CISSP
Sun Certified Security Administrator
Sun Certified Systems Administrator
Montreal: +1 514 966 0122


More information about the freebsd-questions mailing list