[Dovecot] One LDAP attribute for many variables

Timo Sirainen tss at iki.fi
Thu Jul 31 19:54:02 EEST 2008


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.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: PGP.sig
Type: application/pgp-signature
Size: 194 bytes
Desc: This is a digitally signed message part
Url : http://dovecot.org/pipermail/dovecot/attachments/20080731/76421e35/attachment.bin 


More information about the dovecot mailing list