[Dovecot] ldap and mail_location

2010-01-21 Thread spamvoll
hi.. im running dovecot 1.2.9 and checking against an openldap. i defined in dovecot.conf mail_location = maildir:/mail/%u and now all mails are stored under /mail/my.e...@mydomain.com how can i store them in /mail/ldapuid ? these userdb and passdb settings drive me crazy.. looks like ldap is

Re: [Dovecot] ldap and mail_location

2010-01-21 Thread spamvoll
hi again.. user_filter = ((objectClass=gosaMailAccount)(|(mail=%u)(gosaMailAlternateAddress=%u))) this works to check if the account is valid but i cant figure out how to set the maillocation i think this is done in user_attrs but no idea how to use the uid. i tryed user_attrs =

Re: [Dovecot] ldap and mail_location

2010-01-21 Thread spamvoll
ok.. sry for spam.. figured it out.. user_attrs = homeDirectory=home,uid=mail=maildir:/mail/%$ 2010/1/21 spamv...@googlemail.com: hi again.. user_filter = ((objectClass=gosaMailAccount)(|(mail=%u)(gosaMailAlternateAddress=%u))) this works to check if the account is valid but i cant