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  :
> 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 =
> home=maildir:/mail/%uid" but that did not work.
> i tryed also to add a (&..(uid=%uid)) to the user_filter but no luck..
>
> any hinds or tips
>
>
>
>
> 2010/1/21  :
>> 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 a bigger thing then i thougt :)
>>
>> thx
>>
>


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 =
home=maildir:/mail/%uid" but that did not work.
i tryed also to add a (&..(uid=%uid)) to the user_filter but no luck..

any hinds or tips




2010/1/21  :
> 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 a bigger thing then i thougt :)
>
> thx
>


[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 a bigger thing then i thougt :)

thx