12 messages in net.sourceforge.lists.courier-maildropRe: [maildropl] Maildrop & LDAP
FromSent OnAttachments
Daniel L. MillerMar 25, 2007 5:25 pm 
Sam VarshavchikMar 25, 2007 5:50 pm 
Daniel L. MillerMar 27, 2007 1:20 pm 
Sam VarshavchikMar 27, 2007 3:32 pm 
Daniel L. MillerMar 28, 2007 3:13 am 
Sam VarshavchikMar 28, 2007 4:09 am 
Daniel L. MillerMar 28, 2007 10:30 pm 
Tony EarnshawMar 29, 2007 12:23 am 
Daniel L. MillerMar 29, 2007 8:17 am 
Tony EarnshawMar 29, 2007 8:38 am 
Daniel L. MillerMar 29, 2007 9:58 am 
Tony EarnshawMar 29, 2007 10:40 am 
Actions with this message:
Paste this link in email or IM:
Paste this link in email or IM:
Atom feed for this thread
Paste this URL into your reader:
Subject:Re: [maildropl] Maildrop & LDAPActions...
From:Sam Varshavchik (mrs@courier-mta.com)
Date:Mar 27, 2007 3:32:39 pm
List:net.sourceforge.lists.courier-maildrop

Daniel L. Miller writes:

Sam Varshavchik wrote:

Daniel L. Miller writes:

In Postfix, I can define the mail root as /var/mail, and I can use the LDAP filter to return a result of "/<domain>/<user>/" by just processing the mail field of "user@domain". So, at least for Postfix, I don't have to actually store each user's mail folder in the LDAP database - it gets generated from the mail address and the defined root folder.

Can I do this using Maildrop? If it makes any difference, I am running on an Ubuntu/Debian server.

In authldaprc, LDAP_MAILROOT can be set to a fixed prefix that gets prepended to LDAP_HOMEDIR, however this defines the account's home directory, not maildir. maildrop expects to deliver to $HOME/Maildir by default, but you should be able to manually override it by following the instructions in maildrop's INSTALL.

I don't see any way to perform string manipulations or specify constant values in authldaprc - it looks like everything is just LDAP=Authlib

LDAP_MAILROOT is a fixed string that gets prepended to the LDAP_HOMEDIR LDAP attribute's value.