[Dovecot] Questions about migration Sun Messaging -> Dovecot+Postfix+Ldap

Javier de Miguel Rodríguez javierdemiguel at us.es
Mon Jun 7 22:39:09 EEST 2010


El 07/06/10 19:00, Timo Sirainen escribió:
> On su, 2010-06-06 at 14:38 +0200, Javier de Miguel Rodríguez wrote:
>
>    
>>       1) We are unable to make dbox work with quota, but we have no
>> problem with maildir. Quota is stored in a ldap attibute called "mailQuota"
>>      
> I don't really recommend using dbox in v1.2. It has much better
> performance and stability in v2.0. Anyway, with dbox you'll have to use
> dict quota instead of maildir quota.
>
>    

Thank you




>>       4)  Some users could have their mailboxes "disabled". We use the
>> following line: user_filter =
>> (&(objectClass=inetorgperson)(uid=%n)(mailUserStatus=active)) but it
>> does NOT work as expected. Any idea)
>>      
> You should do it also for pass_filter. But other than that, I'd guess it
> should work.
>
>    

Thank you.

>>       7) When we set vacation messages they work but we see this error in
>> the log:   dovecot: deliver(jorgelp):
>> file_dotlock_create(~/.dovecot.lda-dupes) failed: No such file or directory
>>      
> Your userdb doesn't return a home directory for users.
> http://wiki.dovecot.org/VirtualUsers/Home
>
>    
Thank you.

>>       8) When a user log in she uses his username "mary" (without @us.es
>> or @alum.us.es) . Our dovecot search in all the ldap tree until it finds
>> that uid. But we would like to store in our mail_location /buzones/us.es
>> or /buzones/alum.us.es. How can we accomplish this? We should use the
>> "upper branch name" as part of the mail_location.
>>      
> pass_attrs = .., someField=domain, ..
>
> where someField contains the us.es or alum.us.es. If there's no such
> field, I guess there's no way to do it.
>
>    

Thank you.

>> auth default_with_listener:
>>     mechanisms: plain login
>>     passdb:
>>       driver: ldap
>>       args: /etc/dovecot-ldap.conf
>>     userdb:
>>       driver: ldap
>>       args: /etc/dovecot-ldap-userdb.conf
>> auth default:
>>     mechanisms: plain login
>>     passdb:
>>       driver: ldap
>>       args: /etc/dovecot-ldap.conf
>>     userdb:
>>       driver: ldap
>>       args: /etc/dovecot-ldap.conf
>>      
> Don't add more than one auth block, now it's sometimes (more or less
> randomly) using dovecot-ldap-userdb.conf and other times
> dovecot-ldap.conf for userdb lookups.
>
>    
They are a simbolink link to the same file, anyway...


Thank you Timo. If you ever come to Seville (Spain) you will have as 
much as free beer you can drink :)




More information about the dovecot mailing list