Re: [Postfixadmin-devel] Quota not working ?
Brought to you by:
christian_boltz,
gingerdog
From: Marko W. <mar...@sa...> - 2008-11-06 16:20:35
|
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 ? 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 >> >> <xx...@xx...>: 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. > |