On Wed, Aug 15, 2001 at 01:37:37PM +0200, Graham Leggett wrote:
> Henning Brauer wrote:
> > Why the heck make things such confusing?
> Because it's confusing now.

I beg to differ. The simplest way is to change qmail-ldap.h, redifine
homedirectory to some nonexistant attribute (your argument about uogrades
doesn't count. You need to change the at least the Makefile for each patch
anyway, and qmail-ldap.h can usually just be copied over. Just _document_
what you've done for future reference). Than it's ldapmessagestore .
MailMessageStore . DefaultDelivery. Quite easy. (ldapmessagestore of course
only if MailMessagestore doesn't start with a /).

> > It is simple, the absolute path to
> > the Maildir is
> > (~/control/ldapmessagestore|"") . (mailMessageStore|HomeDirectory) .
> > DefaultDelivery
> The above implies that a "mailmessagestore" directory or a
> "homedirectory" is tacked onto the end of "~/control/ldapmessagestore"
> (if it exists), 

I was in mistake a bit: it only counts for MailMessageStore. I don't use
HomeDirectory for qmail-ldap at all, and this eases things a _lot_.
btw, my second error: homedirectory has precedence over MailMessageStore. 
To make things easier I _really_ suggest not to use HomeDirectory at all for
qmail-ldap by changing qmail-ldap.h.
btw, ldapmessagestore is only prefixed if MailMessageStore doesn't start
with a /.

> with mailmessagestore taking preference over
> homedirectory.
> This is different to the explanation that comes with the new patch.

sorry, i was a bit in error. 

> > Why confusing things? Which requirement you have could not be reached this
> > way?
> My first requirement is that whatever qmail-ldap does can also be
> supported at the same time by courier-imap without too many headaches.
> Both of these packages support the homedirectory and mailmessagestore
> attributes in different ways.

Do they? explain. In my environment courier doesn't do a single ldap lookup
itself, I'm using courier-imap under tcpserver and auth_imap. 


-- 
* Henning Brauer, [EMAIL PROTECTED], http://www.bsws.de *
* Roedingsmarkt 14, 20459 Hamburg, Germany               *
Unix is very simple, but it takes a genius to understand the simplicity.
(Dennis Ritchie)

Reply via email to