Cyrus IMAP Presentation

Ken Murchison ken at oceana.com
Wed Sep 18 13:06:45 EDT 2002



adam at morrison-ind.com wrote:
> 
> >>>>I've created a presentation about Cyrus IMAPd that I will be showing to
> >>>>the local LUG in a couple of weeks.  I'd appreciate it if some Cyrus
> >>>>masters
> >>>>would take a look at it and see if I've gotten anything wrong.
> >>>>ftp://kalamazoolinux.org/pub/pdf/Cyrus.pdf
> >>>A few points:
> >>>- Slide 4: Just for completeness, you might want to add LMTP to the list
> >>>of protocols.
> >>Done.
> >>>- Slide 17: You're missing the "2" after "SASL version".
> >>Fixed.
> >>>- Slide 22: You probably want to use the 'cyrusv2' mailer for Sendmail
> >>>(8.12.4+).  This mailer talks directly to lmtpd instead of spawning
> >>>deliver.
> >>Yes, less forking is always good.  But I'm using sendmail
> >>8.11.6-something. Time to upgrade....
> >Just grab the cyrusv2.m4 file and plop it into your cf/mailer directory
> >and you're good to go.
> 
> OK, I did that and now sendmail is happily delivering via LMTP! Thanks.  Added a
> slide about setting up to use LMTP.
> 
> My m4 -
> FEATURE(`preserve_local_plus_detail')
> ...
> MAILER(cyrusv2)dnl
> ...
> define(`confLOCAL_MAILER', `cyrusv2')
> 
> And it works.  But I still can't get bulletin boarding to work.  The docs make
> it look like adam+Presentations at morrison-ind.com should post the message into my
> INBOX.Presentations folder,  but it goes into my INBOX.  And so does

By default sendmail treats addresses as case-insensitive.  As a result,
the address sent to lmtpd is adam+presentations, which doesn't exist. 
If you want to be able to post directly to certain mailboxes, I'd
suggest using all lowercase names for them.

> adam+INBOX.Presentations at morrison-ind.com.   Permisions on that folder look like

This will never work.  Essentially 'adam' is your INBOX.

> sardine> lam user.adam.Presentations
> anonymous p
> adam lrswipcda

These are correct.

> 
> Posting to shared folders fails.  Something like bb+PriceUpdates drops off with
> a user known,  previously using deliver it merely failed with a data format
> error.  Do I need to add the cyrusbb mailer back in?

No.

> I have "postuser: shared" in imapd.conf and the folder looks like -

postuser is a dummy userid which "owns" the shared folders.  It doesn't
_need_ to be set, in fact by default it is unset.

> sardine> lam shared.PriceUpdates
> anonymous p
> group:cis lrswida
> anyone lrs
> group:partsqc lrswipcda

To post to this mailbox with postuser unset, you'd send to
+shared.PriceUpdates at ... (note that the upper/lowercase thingy is still
a problem)

If you set postuser to 'bb', then you'd send to
bb+shared.PriceUpdates at ...

> I think I'm missing something basic about bulletin boards,  but I can't find any
> examples.

I don't know if this makes it clearer or cloudier  ;)

-- 
Kenneth Murchison     Oceana Matrix Ltd.
Software Engineer     21 Princeton Place
716-662-8973 x26      Orchard Park, NY 14127
--PGP Public Key--    http://www.oceana.com/~ken/ksm.pgp




More information about the Info-cyrus mailing list