[Dovecot] LDAP + mail_location: Get "%d" from customfield

Denny Schierz linuxmail at 4lin.net
Mon Aug 2 11:08:12 EEST 2010


hi,

Am Freitag, den 30.07.2010, 15:24 +0100 schrieb Timo Sirainen:

> pass_attrs = .., postAddress=domain
> 
> Assuming v1.1+. This changes the username to user at domain everywhere.

thanks for helping :-) But, it doesn't work:

ldap.conf:

user_attrs = postalAddress=domain,homeDirectory=/imap/spool/%d/%1n/%n
user_filter = (&(objectClass=posixAccount)(uid=%n))
pass_attrs = postalAddress=domain, uid=user, userPassword=password
pass_filter = (&(objectClass=posixAccount)(uid=%n))


After login, DoveCot creates the directory /imap/spool/f/foo, instead
of /imap/spool/subdomain.domain.bla/f/foo

Log (anonymized) :

http://pastebin.com/RZfpZkyc

so I assume, that %d isn't filled ...

any suggestions?
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: Dies ist ein digital signierter Nachrichtenteil
Url : http://dovecot.org/pipermail/dovecot/attachments/20100802/f11d2235/attachment.bin 


More information about the dovecot mailing list