> "This is the best solution when the default Maildir is located in each
> account's home directory. This solution will NOT work if Maildirs are
> stored elsewhere, or if you have a large virtual domain setup where a
> single userid is used to hold many individual Maildirs, one for each
> virtual user. "

Hmm, very interesting.. So, my email system is not working for more than
two years :) Because I am using a large virtual domain setup where a
single userid is used to hold many individual Maildirs, one for each
virtual user.

An entry for a user in ldap is configured:
-mailMessageStore: /home/vmail/Fernando/Maildir/
-uid: Fernando

And I configured qmail not to use homedir, changing the qmail-ldap.h
directive below to not look for the homeDirectory attribute:

#define LDAP_HOMEDIR            "noHomeDirectory"

So far, so good. Compile, install and configure files. Create a user
called vmail, group vmail. Create its home dir in /home/vmail. Start
qmail-ldap and be happy :)

These are rough lines, but you may get the picture. When qmail receives
a mail for Fernando, it looks for attribute noHomeDirectory in the ldap,
and it does not exists. So, qmail looks for attribute mailMessageStore,
which is pointing to a different directory from home :)

As for courier-imap, I am using 3.0.2, which is good and runs smoothly
with my setup. IIRC, you were advised by Claudio Jeker to use it instead
of release 4.x, at least for now, and I agree. Config for 3.0.2 is easy
and I can help if you ask.

-- 
Bye,
Fernando Maciel Souto Maior
[EMAIL PROTECTED]
http://www.araujo.com.br
+55+31 3270-5886
LPIC/1 # 31908

AVISO-------------------------------------------------------------
Esta mensagem pode conter informacao confidencial ou privilegiada.
Se voce nao for o destinatario ou a pessoa autorizada a receber
esta mensagem, nao pode usar, copiar ou divulgar as informacoes
nela contidas ou tomar qualquer acao baseada nessas informacoes.
Se voce recebeu esta mensagem por engano, favor avisar o remetente
imediatamente, respondendo o e-mail e em seguida apagando-o.
Obrigado pela cooperacao.

DISCLAIMER--------------------------------------------------------
This message may contain confidential and/or privileged information.
If you are not the addressee or authorized to receive this for the
addressee, you must not use, copy, disclose or take any action based
on any information herein. If you have received this message in
error, please advise the sender immediately by replying to this
e-mail and delete this message. Thank you for your cooperation.

------------------------------------------------------------------
This email was sent using SquirrelMail - http://squirrelmail.org

Reply via email to