From owner-freebsd-questions@FreeBSD.ORG Wed May 24 18:21:39 2006 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8A91916ABFD for ; Wed, 24 May 2006 18:21:39 +0000 (UTC) (envelope-from david.robillard@gmail.com) Received: from nz-out-0102.google.com (nz-out-0102.google.com [64.233.162.195]) by mx1.FreeBSD.org (Postfix) with ESMTP id AE38843D6D for ; Wed, 24 May 2006 18:21:37 +0000 (GMT) (envelope-from david.robillard@gmail.com) Received: by nz-out-0102.google.com with SMTP id n1so91962nzf for ; Wed, 24 May 2006 11:21:37 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:cc:mime-version:content-type:content-transfer-encoding:content-disposition; b=XbYhsk9WCShv/WcerddqIvAs9Tr/yfRniv4tG+BtqVG2fwEUqOF66j5yyfgLDQncsTUN3/3AUt/KLLheHjx4FACYmSl2J+m0f6j7L7FpXBPC/gKbOTr/DGUQE0X1ofyYBzLY30kNXG5QjeNSXoNj0MzdJSA0+dewlpmqUJLikQ4= Received: by 10.64.152.18 with SMTP id z18mr3374956qbd; Wed, 24 May 2006 11:21:37 -0700 (PDT) Received: by 10.64.178.10 with HTTP; Wed, 24 May 2006 11:21:37 -0700 (PDT) Message-ID: <226ae0c60605241121v7df1c616h26ec79af705a8bb@mail.gmail.com> Date: Wed, 24 May 2006 14:21:37 -0400 From: "David Robillard" To: "FreeBSD Questions Mailing List" MIME-Version: 1.0 Content-Type: text/plain; charset=WINDOWS-1252; format=flowed Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Cc: Noah , Chad Leigh Subject: Re: Implementing IMAP advice for first timer. X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 24 May 2006 18:21:49 -0000 > ------------------------------ > > Message: 29 > Date: Tue, 23 May 2006 19:23:47 -0800 > From: "Noah" > Subject: Implementing IMAP advice for first timer > To: "freebsd-questions" > Message-ID: <20060524032337.M97496@enabled.com> > Content-Type: text/plain;=09charset=3Diso-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 th= ings > working. > > 1)=09Can somebody please recommend a good FAQ about how-to get IMAP runni= ng 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)=09Are 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)=09I don't completely understand how IMAP works =96 is there a good tut= orial > 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)=09I don't completely understand how local mail delivery will change = =96 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 --=20 David Robillard UNIX systems administrator CISSP Sun Certified Security Administrator Sun Certified Systems Administrator Montreal: +1 514 966 0122