UPDATE:
Hi Mark,
You are right about mbx format -- not a good way to go. The mailbox files are
part binary part text so grep is hopeless. And converting from mbx to any
other is a no go. So I scrapped the Uw-imapd and installed Courier-imapd with
Exim delivering to Maildir. This works very well. I also compiled in LDAP
support in both so I will be working on that using the info you sent below.
Craig
On Wednesday 30 July 2003 11:47 am, Mark A. Hershberger wrote:
> Craig Jackson <craig.jackson@wild.net> writes:
> > Yes, I agree with you but am having a heck of a time setting up the
> > exim+courier+ldap beast. I have read a few how tos but do not see
> > exactly how this is done.
>
> First: How is your directory set up?
>
> Do you have exim delivering messages?
>
> > I think this would make an excellent two or three part
> > presentation.
>
> Part 1. Directory Structure for Email server with Virtual Domains.
> Part 2. Exim Configuration for Delivering Email to Virtual
> Domains Using an LDAP back end.
> Part 3. Courier Configuration, Webmail
> Part 4. Server Side Filtering with Preferences in LDAP.
> Part 5. Administration tools for managing virtual domains.
>
> (I don't have part 4 complete yet. Haven't really gotten past cli
> tools for part 5 yet -- but I have a good idea for an Emacs LDAP admin
> interface.)
>
> > The first error I get is a courier: login NO Error using plain port
> > 143 login. Can't get past that.
>
> So, I assume you have delivery working, right? For LDAP, Courier
> really needs authdaemon. For the record, I'm using Debian's 0.39.1-1
> package for this.
>
> Relevent line from authdaemonrc is
>
> authmodulelist="authldap"
>
> authldaprc has this:
>
> LDAP_SERVER = name
> LDAP_PORT = 389
> LDAP_BASEDN = o=top # You almost certainly need to change this
> LDAP_AUTHBIND = 1 # So it authenticates by binding as the user
> LDAP_MAIL = mail
> LDAP_DOMAIN = everybody.org # Change this
> LDAP_HOMEDIR = homeDirectory
> LDAP_MAILDIR = mailMessageStore
> LDAP_UID = uidNumber
> LDAP_GID = gidNumber
> LDAP_TLS = 1
>
>
> Note, that for this to work, you have to have anonymous browsing
> enabled at least for the mail attribute. That is,
>
> $ ldapsearch -x mail=test@example.com dn
>
> should return the dn of the object containing the
> mail=test@example.com. Authldap will use the dn to rebind with the dn
> and password. Of course, this means that you have to have simple
> (non-SASL) authentication enabled as well. (That's why I use TLS
> there.)
>
> Let me know how I can help,
>
> Mark.
-- Craig Jackson __________________________ Wildnet Group LLC 103 North Park, Suite 110 Covington, Lousiana 70433 Office 985-875-9453 __________________________ ___________________ Nolug mailing list nolug@nolug.orgReceived on 08/08/03
This archive was generated by hypermail 2.2.0 : 12/19/08 EST