cyrus-imap and full ldap support
Patrice
gopat at nicematin.fr
Wed Sep 1 09:32:34 EDT 2004
Thank you for your answer,
my sasl server is working , I can authenticate my users into ldap
but if I understand well, the mailboxes.db define user on the imap server.
but when I authenticate through sasl , I do a connection to ldap , that
is working :)
I must create a user into my mailboxes.db and after that , I must create
the user into ldap? , isn't it ?
Christopher Baron wrote:
>
>
> Patrice wrote:
>
>> Hi,
>>
>> I need to migrate to cyrus-imap.
>> actually , I have all my users in an ldap database
>
>
> As do I
>
>>
>> cyrus-imap uses mailboxes.db to store users
>>
>> if all my users are in ldap , I must use mailboxes.db ?
>
>
> mailboxes.db is a list of all the mailboxes on the server, as well as
> some other things. it is not just for authentication, it is also for
> authorization.
>
>
>
>>
>> and if true, I have to extract all my user id from ldap , to insert
>> them into mailboxes.db ?
>>
> what you should do is check out the Cyrus SASL project (which is
> necessary anyway) and, specifically, saslauthd. You can use saslauthd
> to authenticate imap/pop logins against an LDAP directory server.
>
> I have used the University of Athens's patch to cyrus to autocreate
> mailboxes when a message is delivered, relying on the MTA (Postfix) to
> verify the address is legitimate.
> I had a few problems with case, but after some interesting debugging
> things I've managed to get a fairly decent system going.
>
> Check out http://email.uoa.gr/projects/cyrus/autocreate/
>
> I also strongly suggest that you download both the Cyrus SASL and
> Cyrus IMAP distributions and run throught he documentation with a fine
> tooted comb.
>
> ftp://ftp.andrew.cmu.edu/pub/cyrus-mail/
>
> There is also gobs of useful information at the Cyrus WIKI.
> http://acs-wiki.andrew.cmu.edu/twiki/bin/view/Cyrus/WebHome
>
>
> I hope this helps...
>
> Chris
>
---
Cyrus Home Page: http://asg.web.cmu.edu/cyrus
Cyrus Wiki/FAQ: http://cyruswiki.andrew.cmu.edu
List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html
More information about the Info-cyrus
mailing list