[vchkpw] different per user quotas on a single domain
Hi All, Is it possible to implement per user level per domain based quotas with vpopmail. Suppose I have a virtual domain using vpopmail and want some users to have 2 MB quotas, some to have 5 MB quotas and some say, 10 MB quotas. What do I do. I have searched the Mailing List Archives, Google extensively but was unable to come up triumphs. I would be really grateful if somebody could send me some pointers on this. With Warm Regards, Animesh
Re: [vchkpw] different per user quotas on a single domain
Hi All, Is it possible to implement per user level per domain based quotas with vpopmail. Suppose I have a virtual domain using vpopmail and want some users to have 2 MB quotas, some to have 5 MB quotas and some say, 10 MB quotas. What do I do. Just use the vmoduser command to alter the quota for any given user You can also nominate a quota to allocate a user when running the vadduser command Michael.
Re: [vchkpw] different per user quotas on a single domain
On Saturday 11 October 2003 13:47, Animesh Bansriyar wrote: Hi All, Is it possible to implement per user level per domain based quotas with vpopmail. Suppose I have a virtual domain using vpopmail and want some users to have 2 MB quotas, some to have 5 MB quotas and some say, 10 MB quotas. What do I do. I have searched the Mailing List Archives, Google extensively but was unable to come up triumphs. I would be really grateful if somebody could send me some pointers on this. With Warm Regards, Animesh domain quotas need vlimits, so you have to use the -devel branch. --enable-domainquotas=y is the config switch. then it should be fine. user quotas get checked first, domain quotas afterwards (so you can even do things like: user1 2mb, user2 10mb and domain 10mb = when user1 has reached his quota, user2 can only use 8mb.. -- Mit internetten Grüßen / Best Regards --- Justin Heesemannionium Technologies [EMAIL PROTECTED]www.ionium.org
Re: [vchkpw] different per user quotas on a single domain
Quoting Justin Heesemann [EMAIL PROTECTED]: On Saturday 11 October 2003 13:47, Animesh Bansriyar wrote: Hi All, Is it possible to implement per user level per domain based quotas with vpopmail. Suppose I have a virtual domain using vpopmail and want some users to have 2 MB quotas, some to have 5 MB quotas and some say, 10 MB quotas. What do I do. I have searched the Mailing List Archives, Google extensively but was unable to come up triumphs. I would be really grateful if somebody could send me some pointers on this. With Warm Regards, Animesh domain quotas need vlimits, so you have to use the -devel branch. --enable-domainquotas=y is the config switch. then it should be fine. user quotas get checked first, domain quotas afterwards (so you can even do things like: user1 2mb, user2 10mb and domain 10mb = when user1 has reached his quota, user2 can only use 8mb.. -- Mit internetten Grüßen / Best Regards --- Justin Heesemannionium Technologies [EMAIL PROTECTED]www.ionium.org I don't believe thats entirely what he's asking. I wanted to implement a similar system I believe Justin is trying to describe: Say, during setup of vpopmail initially, I setup a default quota of 10m. I use the latest vpopmail/qmailadmin and don't allow domain postmasters to change quotas (must be done through commandline only). Now, let's say I add 3 domains: domain1.com, domain2.com, and domain3.com. domain1.com is to have all their subsequent users to have 10m quotas - no big deal. Everytime their postmaster logs in and creats a new user, it gets assigned a 10m quota. Now, I want all the users of domain2.com to have a 20m quota. Is there a way to automate this? Initially, when [EMAIL PROTECTED] is created it is automatically assigned a 10m quota and I would have to change that myself. NOTE: I am not talking about domain quotas (since that is always the response I get)! I'm talking about per user domain quotas aside from the set quota during initial configuration. So with that in mind, I want domain2.com's users to EACH have a 20m quota now. Since I am not the one adding the users (their postmaster is through qmailadmin and he doesn't have the ability to modify quotas...as how can you trust that he'll put 20m each time, heh? Does this make sense? I believe this is what Justin was trying to describe and what I've been trying to find an answer to for months now. If this currently isn't possible, does anyone else think this would be a great feature to add? Take care all, :Patrick Lahni [EMAIL PROTECTED] - This mail sent through IMP: http://horde.org/imp/
Re: [vchkpw] different per user quotas on a single domain
[EMAIL PROTECTED] wrote: Say, during setup of vpopmail initially, I setup a default quota of 10m. I use the latest vpopmail/qmailadmin and don't allow domain postmasters to change quotas (must be done through commandline only). Now, let's say I add 3 domains: domain1.com, domain2.com, and domain3.com. domain1.com is to have all their subsequent users to have 10m quotas - no big deal. Everytime their postmaster logs in and creats a new user, it gets assigned a 10m quota. Now, I want all the users of domain2.com to have a 20m quota. Is there a way to automate this? Initially, when [EMAIL PROTECTED] is created it is automatically assigned a 10m quota and I would have to change that myself. NOTE: I am not talking about domain quotas (since that is always the response I get)! I'm talking about per user domain quotas aside from the set quota during initial configuration. So with that in mind, I want domain2.com's users to EACH have a 20m quota now. Since I am not the one adding the users (their postmaster is through qmailadmin and he doesn't have the ability to modify quotas...as how can you trust that he'll put 20m each time, heh? Does this make sense? I believe this is what Justin was trying to describe and what I've been trying to find an answer to for months now. If this currently isn't possible, does anyone else think this would be a great feature to add? Unless I'm not getting this right, vmoddomlimits should be exactly what you need: vmoddomlimits: usage: [options] domain options: -v ( display the vpopmail version number ) -S ( show current settings ) -Q quota ( set domain quota ) -q quota ( set default user quota ) So a one-time vmoddomlimits -q 20971520 domain2.com, together with a vmoduser -q 20971520 [EMAIL PROTECTED] for the postmaster account, and you're done. Regards Jochen
Re: [vchkpw] different per user quotas on a single domain
Hi, I am traying to get quota work for my installation og vpopmail stable (5.2.1) Unless I'm not getting this right, vmoddomlimits should be exactly what you need: vmoddomlimits: usage: [options] domain options: -v ( display the vpopmail version number ) -S ( show current settings ) -Q quota ( set domain quota ) -q quota ( set default user quota ) So a one-time vmoddomlimits -q 20971520 domain2.com, together with a vmoduser -q 20971520 [EMAIL PROTECTED] for the postmaster account, and you're done. I do not have the command /home/vpopmail/bin/vmoddomlimits. Is this a feature of the develment versions of vpopmail? Greeting Alex
Re: [vchkpw] different per user quotas on a single domain
Alexander Bruns wrote: I am traying to get quota work for my installation og vpopmail stable (5.2.1) I don't know how reliable the quota support in vpopmail-5.2.1 is, in the developement branch it's working pretty good. One big improvement is the per-domain quota, and not just on a per-user basis (I don't want my users to create 100 accounts per domain that take up 20 megs each). I tried to reproduce the behaviour you mentioned in your other mail, but I have vpopmail compiled with a default quota size, so the maildirsize file is created automatically when I add a user. Unless I'm not getting this right, vmoddomlimits should be exactly what you need: vmoddomlimits: usage: [options] domain options: -v ( display the vpopmail version number ) -S ( show current settings ) -Q quota ( set domain quota ) -q quota ( set default user quota ) So a one-time vmoddomlimits -q 20971520 domain2.com, together with a vmoduser -q 20971520 [EMAIL PROTECTED] for the postmaster account, and you're done. I do not have the command /home/vpopmail/bin/vmoddomlimits. Is this a feature of the develment versions of vpopmail? Yes, it is indeed. I'm currently running 5.3.27. Regards Jochen
Re: [vchkpw] different per user quotas on a single domain
Quoting Jochen Schug [EMAIL PROTECTED]: Alexander Bruns wrote: I am traying to get quota work for my installation og vpopmail stable (5.2.1) I don't know how reliable the quota support in vpopmail-5.2.1 is, in the developement branch it's working pretty good. One big improvement is the per-domain quota, and not just on a per-user basis (I don't want my users to create 100 accounts per domain that take up 20 megs each). I tried to reproduce the behaviour you mentioned in your other mail, but I have vpopmail compiled with a default quota size, so the maildirsize file is created automatically when I add a user. Unless I'm not getting this right, vmoddomlimits should be exactly what you need: vmoddomlimits: usage: [options] domain options: -v ( display the vpopmail version number ) -S ( show current settings ) -Q quota ( set domain quota ) -q quota ( set default user quota ) So a one-time vmoddomlimits -q 20971520 domain2.com, together with a vmoduser -q 20971520 [EMAIL PROTECTED] for the postmaster account, and you're done. I do not have the command /home/vpopmail/bin/vmoddomlimits. Is this a feature of the develment versions of vpopmail? Yes, it is indeed. I'm currently running 5.3.27. Regards Jochen If I understand vmoddomlimits correctly, that sets a TOTAL quota on the domain. Say I set the domain quota for domain2.com to 20m, that means that the entire domain can only use 20m to be split between all their users. So for domain2.com, I need a way to set vmoduser for each user created under domain2. However, you must remember that this needs to be entirely automated for that domain. The admins cannot constantly be overlooking that domain to vmoduser that account manually. Perhaps the authors of vpopmail could add another column to mysql for per-domain USER quota. domain1 - each user created gets a 10m quota domain2 - each user created gets a 15m quota etc etc Does this seem to clarify at all? :Patrick Lahni [EMAIL PROTECTED] - This mail sent through IMP: http://horde.org/imp/
Re: [vchkpw] different per user quotas on a single domain
On Saturday, October 11, 2003, at 10:32 AM, [EMAIL PROTECTED] wrote: Perhaps the authors of vpopmail could add another column to mysql for per-domain USER quota. domain1 - each user created gets a 10m quota domain2 - each user created gets a 15m quota etc etc Does this seem to clarify at all? This already exists, at least in the development tree. Take a look at the -q option (not to be confused with -Q) of vmoddomlimits. -- Tom Collins - [EMAIL PROTECTED] Note: The Tom Logic offices will be closed October 23 to November 18. QmailAdmin: http://qmailadmin.sf.net/ Vpopmail: http://vpopmail.sf.net/ Info on the Sniffter hand-held Network Tester: http://sniffter.com/