[Dovecot] ldap quota dovecot

Mathieu BALCERAK mathieu.balcerak at 4dconcept.fr
Wed Sep 30 11:01:02 EEST 2009



Timo Sirainen a écrit :
> On Mon, 2009-09-28 at 23:20 +0200, Mathieu BALCERAK wrote:
>   
>> Timo Sirainen a écrit :
>>     
>>> On Sun, 2009-09-27 at 16:26 +0200, Mathieu BALCERAK wrote:
>>>   
>>>       
>>>> I have the same issue, when i upgrade to 1.2.5
>>>> the quota per user work only if i remove the directive 
>>>> quota_rule=*:storage=2G
>>>> I set this rules as default for all my users except for 3 users.
>>>> The imap_quota report perfectly the quota but dovecot lda take the 
>>>> quota_rule, per user quota
>>>> not apply.
>>>>     
>>>>         
>>> How are you calling deliver?
>>>
>>>   
>>>       
>> I call the deliver in postfix :
>> mailbox_command = /usr/lib/dovecot/deliver
>>     
>
> That's the problem.
>
>   
>> I've tested with
>> mailbox_command = /usr/lib/dovecot/deliver -d  "$USER"
>>     
>
> This will solve your problem.
>
>   
>> but i have this error :
>>
>> deliver($USER): Error: userdb lookup: 
>> connect(/var/run/dovecot/auth-master) failed: Permission denied
>>     
>
> Change the permissions so that it does have access. You can specify the
> auth-master permissions in dovecot.conf. I guess you'll have to use
> mode=0666.
>   
Thank you for your answer, I will test this later




More information about the dovecot mailing list