[Dovecot] One LDAP attribute for many variables
Hi
Using Dovecot 1.1.2 with LDAP. If i have this:
user_attrs = uid=home=/var/vmail/%$,mailuserquota=quota_rule=*:storage=%$,=mail=maildir:/var/vmail/%n/Maildir
OK. But if i have this:
user_attrs = uid=home=/var/vmail/%$,mailuserquota=quota_rule=*:storage=%$,uid=mail=maildir:/var/vmail/%$/Maildir
I get this error:
deliver(usuario1): Jul 25 12:59:08 Error: Per-user script path is unknown. See http://wiki.dovecot.org/LDA/Sieve#location
The only difference is that I use the uid LDAP attribute twice. Why does this happen?
On Jul 25, 2008, at 2:04 PM, Juan Asensio Sánchez wrote:
Hi
Using Dovecot 1.1.2 with LDAP. If i have this:
user_attrs = uid=home=/var/vmail/% $,mailuserquota=quota_rule=*:storage=%$,=mail=maildir:/var/vmail/%n/ Maildir
OK. But if i have this:
user_attrs = uid=home=/var/vmail/% $,mailuserquota=quota_rule=*:storage=%$,uid=mail=maildir:/var/vmail/% $/Maildir
I get this error:
deliver(usuario1): Jul 25 12:59:08 Error: Per-user script path is unknown. See http://wiki.dovecot.org/LDA/Sieve#location
The only difference is that I use the uid LDAP attribute twice. Why does this happen?
Because internally the "uid" is requested only once, and the later one
overrides the first one.. I hadn't thought that someone would like to
this kind of lookups. I'll add to my TODO list, but this won't get
fixed anytime soon.
participants (2)
-
Juan Asensio Sánchez
-
Timo Sirainen