It's fairly straightforward. I recommend this set of steps:

1. Install the db3 port. Just do that in the ordinary way.

2. Search the archives of this list for the SASL pwcheck_pam.c file. 
When you build the cyrus-sasl port, you want to modify the build so that 
pwcheck uses this file.

3. Modify /etc/pam.conf to add entries for the 'cyrus' service to use 
whichever PAM functionality you desire (at this point you have the 
option of adding other pam module ports if you wish, such as pam_smb).

4. Install the cyrus-imap port in the usual manner. You don't need to 
add any options.

5. Make yourself an /etc/mail/_____.mc file. Do this by copying the 
sendmail.mc file and modifying it to taste. One thing you will need to 
do is this:

FEATURE(local_lmtp)dnl
define(`confLOCAL_MAILER',`cyrus')dnl
MAILER(smtp)dnl

MAILER_DEFINITIONS
Mcyrus    P=[IPC], F=lsSDFMngA@/:|SmXz, E=\r\n, S=EnvFromL, R=EnvToL/HdrToL,
       T=DNS/RFC822/X-Unix,U=cyrus:cyrus, A=FILE /var/imap/socket/lmtp

The MAILER_DEFINITION should be salted to taste. The A argument should 
be set to wherever the lmtp socket lives, as defined by cyrus.conf, and 
the rest of the arguments should shadow the normal SMTP mailer 
definition for the most part.

You may wish to modify the mc file in other ways (for example, adding 
cyrus-sasl may make it desirable to add sasl authentication to sendmail 
for authenticated SMTP), but such mods are outside the scope of this 
document.

When you're done, make ____.cf and test it, copying it to sendmail.cf if 
it works. Then 'make restart' to restart sendmail.

That ought to do it.


Louis LeBlanc wrote:

>Hey all.  I have Cyrus imapd 1.6.24 running on a RH 6.2 linux box, and
>it has done quite well since just after the 1.6.24 release.  No
>complaints whatsoever.  Install was complicated, but well documented
>in the Linux HowTo, so great.
>
>Now the problem.  I am switching my server to FreeBSD 4.3 and would
>like to upgrade to 2.0.14 - which is present in a FreeBSD port.
>
>Does anyone know where I can find install info specific to FreeBSD?  I
>am checking out the html install info in the distribution, and it
>notes a couple Linux specific steps, but . . .
>
>Any and all help is appreciated.
>
>TIA
>Lou
>



Reply via email to