Re: [Postfixadmin-devel] Quota not working ?
Brought to you by:
christian_boltz,
gingerdog
From: Michiel v. B. <pos...@va...> - 2008-11-11 22:17:16
|
On 23:14, Tue 11 Nov 08, Marko Weber wrote: > Hello Michiel, > > seems postfix is not able to handle quota. > u got to patch it. but the patch is still not as stable in the packages. > so , i leave it this way without quota.................... > and wait for the day that postfix can do quota............ > > marko Yeah, now I remember. That's one of the reasons I started looking at maildrop. Now I use maildrop for delivery. It handles my quotas and my serverside filters. Very nice. So if you cant wait I can advise it. > > > > Michiel van Baak schrieb: > > On 20:28, Thu 06 Nov 08, Marko Weber wrote: > > > >> 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 ? > >> > > > > I now see/remember that I'm using maildrop as LDA. > > So in my setup maildrop is handling the quota stuff. > > > > I started to document my setup some time ago, and I need to finish it. > > To read tho stuff I already wrote down go here: > > http://michiel.vanbaak.info/postfixamavismysql.htm > > > > Good luck > > > > > >> 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 > >>>>>> > >>>>>> <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. > >>>>> > >>>>> > >>>>> > >>>> ------------------------------------------------------------------------- > >>>> 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 > >>>> Pos...@li... > >>>> https://lists.sourceforge.net/lists/listinfo/postfixadmin-devel > >>>> > >>>> > >>> > >>> > >> ------------------------------------------------------------------------- > >> 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 > >> Pos...@li... > >> https://lists.sourceforge.net/lists/listinfo/postfixadmin-devel > >> > > > > > > ------------------------------------------------------------------------- > 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 > Pos...@li... > https://lists.sourceforge.net/lists/listinfo/postfixadmin-devel -- Michiel van Baak mi...@va... http://michiel.vanbaak.eu GnuPG key: http://pgp.mit.edu:11371/pks/lookup?op=get&search=0x71C946BD "Why is it drug addicts and computer aficionados are both called users?" |