On 25.11.2005, at 20:30, Brian T Glenn wrote:
> I am using qmail-ldap to provide virtual users to my system, but I also
> have some shell users on the system as well.
>
> Virtual users go into /home/vmail/mailstore/$username/
> System users go into /home/$username/Maildir
>
> How can I have both of these available as inboxes in dovecot using ldap
> logins?
>
> Do I need to use namespaces or am i missing something with
> default_mail_env?
It would be much easier if virtual users also went to
/home/vmail/mailstore/$user/Maildir. Then you could simply have:
default_mail_env = maildir:%h/Maildir
But if you really don't want the Maildir there, then you'll have to
make LDAP return "mail" environment separately for each user. Modify
user_attrs in dovecot-ldap.conf and add the field in LDAP.
The LDAP code probably should be changed so that you could set default
values for some fields. Then this would also have been easier.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: PGP.sig
Type: application/pgp-signature
Size: 186 bytes
Desc: This is a digitally signed message part
URL:
<http://dovecot.org/pipermail/dovecot/attachments/20051202/480537cc/attachment.bin>