[Dovecot] [Postfixadmin-devel] Quota not working ?

Marko Weber marko.weber at salondigital.de
Thu Nov 6 19:39:39 EET 2008


Hello Michiel,
i sent 2 further mails with 4mb attachement
no quota warning, mails was delivered to user.

is the "multiplier" in the postfixadmin the wrong one ?
or is there a setting that MUST be in main.cf of postfix ?

marko




Michiel van Baak schrieb:
> On 17:20, Thu 06 Nov 08, Marko Weber wrote:
>   
>> Hi Michiel,
>> i tried your hints.
>> but seems not to go with quota.
>>
>> i send an 11mb mp3 to user and after that an 6mb mp3
>> the quota is set in postfixadmin to 15mb, so it should send a mail  that 
>> quota is reached or not ?
>>     
>
> I think it will send the email on the next mail.
> 11 mb != quota reached. 6mb = one email so I think it will go through.
> Can you test by sending yet another email now that the user is over
> quota?
>
>   
>> do i have to set any special on  postfixadmin config ?
>> maybe its the quota multiplier ?
>>
>>
>> in the postfixadmin config for quota is this =
>>
>> // Default Domain Values
>> // Specify your default values below. Quota in MB.
>> $CONF['aliases'] = '15';
>> $CONF['mailboxes'] = '15';
>> $CONF['maxquota'] = '15';
>>
>> // Quota
>> // When you want to enforce quota for your mailbox users set this to 'YES'.
>> $CONF['quota'] = 'YES';
>> // You can either use '1024000' or '1048576'
>> $CONF['quota_multiplier'] = '1024000';
>>
>> 10240000  is also in the mysql db as "quota"  in the quota field for the 
>> mail where i send the mp3?s
>>
>> any ideas ?
>>
>> marko
>>
>>
>>
>>
>>
>> Michiel van Baak schrieb:
>>     
>>> On 00:58, Wed 05 Nov 08, Marko Weber wrote:
>>>   
>>>       
>>>> I set this in the  postfixadmin config.file =
>>>>
>>>> // Default Domain Values
>>>> // Specify your default values below. Quota in MB.
>>>> $CONF['aliases'] = '15';
>>>> $CONF['mailboxes'] = '15';
>>>> $CONF['maxquota'] = '15';
>>>>
>>>> // Quota
>>>> // When you want to enforce quota for your mailbox users set this to 'YES'.
>>>> $CONF['quota'] = 'YES';
>>>> // You can either use '1024000' or '1048576'
>>>> $CONF['quota_multiplier'] = '15728640';
>>>>
>>>>
>>>> i gave on postfix admin backend   the domain  =
>>>>
>>>> domain settings
>>>> ---------
>>>> aliase = -1
>>>> mailbox = 12
>>>> max quota 15
>>>>
>>>>
>>>>
>>>> i created a mailbox for this domain and set for this mailbox 15mb quota
>>>>
>>>> i send an 11mb mp3 to this box and get this =
>>>>
>>>> This is the mail system at host xxxxxxxx.de.
>>>>
>>>> I'm sorry to have to inform you that your message could not
>>>> be delivered to one or more recipients. It's attached below.
>>>>
>>>> For further assistance, please send mail to postmaster.
>>>>
>>>> If you do so, please include this problem report. You can
>>>> delete your own text from the attached returned message.
>>>>
>>>>                    The mail system
>>>>
>>>> <xxxx at xxxx.de>: message size 15075956 exceeds size limit 10240000 of
>>>>     server xxxxxxx.de[xxx.xxx.243.37]
>>>>
>>>> Any ideas why i get size limit  10240000 ????
>>>>     
>>>>         
>>> In the main postfix configuration you can set the maximum message size.
>>> As you can see, the default is 10MB per message.
>>>
>>> To remove all size limits and let the quota actually apply try setting
>>> this in your main.cf and reload postfix:
>>>
>>> mailbox_size_limit = 0
>>> message_size_limit = 0
>>> virtual_mailbox_limit = 0
>>>
>>> Good luck.
>>>   
>>>       
>> -------------------------------------------------------------------------
>> This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
>> Build the coolest Linux based applications with Moblin SDK & win great prizes
>> Grand prize is a trip for two to an Open Source event anywhere in the world
>> http://moblin-contest.org/redirect.php?banner_id=100&url=/
>> _______________________________________________
>> Postfixadmin-devel mailing list
>> Postfixadmin-devel at lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/postfixadmin-devel
>>     
>
>   


More information about the dovecot mailing list