[Dovecot] Mixing LDAP and static

Timo Sirainen tss at iki.fi
Thu Apr 24 16:35:41 EEST 2008


On Fri, 2008-04-18 at 20:07 +0200, Anders wrote:
> Timo Sirainen wrote:
> > On Sat, 2008-04-12 at 22:37 +0200, Anders wrote:
> 
> >>   user_attrs = 
> >> uid=home=/var/mail/vhosts/%d/%n,gosaMailQuota=quota_rule=*:bytes=%$M
> >>
> > 
> > Just drop the "uid", like: =home=/var/mail/..
> 
> Hi.
> 
> This is not documented, I think?

I've been a bit lazy updating the LDAP wiki page with new v1.1 features.
Added it there now. Although I think the entire page is a bit too
complex and could use a split into multiple subpages..

> Anyway, it does not really work, I guess it might be a bug. When I drop 
> the attribute, the variables in the template are not interpolated, so I 
> end up with home literally being "/var/mail/vhosts/%d/%n" for all lookups.

This should fix it: http://hg.dovecot.org/dovecot-1.1/rev/0dbf10f4493a

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : http://dovecot.org/pipermail/dovecot/attachments/20080424/49cc41ce/attachment.bin 


More information about the dovecot mailing list