[vchkpw] Domain limits

2007-09-03 Thread Quey

Hi,
Yes I know they are  Broken,  however... I saw a recent post (I think 
on this list) claiming it works to 2G, is this the case?


In other words, If I wanted to introduce a low cost  Email only plan, 
that allows them to have unlimited email accounts and aliases but cant 
occupy more than 2G of disk space, will this in fact actually work?


Is this the only thing that it is broken with, not being able to exceed 2G ?

Thanks
Q



RE: [vchkpw] Domain limits

2007-09-03 Thread Tren Blackburn
Hey;

 -Original Message-
 From: Quey [mailto:[EMAIL PROTECTED]
 Sent: Monday, September 03, 2007 2:57 PM
 To: vpopmail-list
 Subject: [vchkpw] Domain limits
 
 Hi,
 Yes I know they are  Broken,  however... I saw a recent post (I
think
 on this list) claiming it works to 2G, is this the case?
 
 In other words, If I wanted to introduce a low cost  Email only plan,
 that allows them to have unlimited email accounts and aliases but cant
 occupy more than 2G of disk space, will this in fact actually work?
 
 Is this the only thing that it is broken with, not being able to
exceed
 2G ?
 

I actually used domain limits for about a year.  This was on a fairly
busy set of servers, and I couldn't figure out why the load was always
so high on the servers and there was so much network traffic.  Domain
limits are horrible.  On every message that goes through the system,
vpopmail adds up the size of all the messages in all the mailboxes.  I'm
still not sure why it's even a configuration option still...

If you want to provide a domain wide limit, use the kernels quota tools
and create the domain with a unique user ID.  It's pretty well
documented in the archives of the list.

HTH,

Tren



Re: [vchkpw] Domain limits

2007-09-03 Thread Quey


Hi Tren,

Tren Blackburn wrote:

Hey;

  

-Original Message-
From: Quey [mailto:[EMAIL PROTECTED]
Sent: Monday, September 03, 2007 2:57 PM
To: vpopmail-list
Subject: [vchkpw] Domain limits

Hi,
Yes I know they are  Broken,  however... I saw a recent post (I


think
  

on this list) claiming it works to 2G, is this the case?

In other words, If I wanted to introduce a low cost  Email only plan,
that allows them to have unlimited email accounts and aliases but cant
occupy more than 2G of disk space, will this in fact actually work?

Is this the only thing that it is broken with, not being able to


exceed
  

2G ?




I actually used domain limits for about a year.  This was on a fairly
busy set of servers, and I couldn't figure out why the load was always
so high on the servers and there was so much network traffic.  Domain
limits are horrible.  On every message that goes through the system,
vpopmail adds up the size of all the messages in all the mailboxes.  I'm
still not sure why it's even a configuration option still...

  


Ahhh bugger, thanks, it makes sense

Cheers
Q



If you want to provide a domain wide limit, use the kernels quota tools
and create the domain with a unique user ID.  It's pretty well
documented in the archives of the list.

HTH,

Tren


  




Re: [vchkpw] Domain limits

2007-09-03 Thread Rick Widmer



Tren Blackburn wrote:

Hey;


-Original Message-
From: Quey [mailto:[EMAIL PROTECTED]
Sent: Monday, September 03, 2007 2:57 PM
To: vpopmail-list
Subject: [vchkpw] Domain limits

Hi,
Yes I know they are  Broken,  however... I saw a recent post (I

think

on this list) claiming it works to 2G, is this the case?

In other words, If I wanted to introduce a low cost  Email only plan,
that allows them to have unlimited email accounts and aliases but cant
occupy more than 2G of disk space, will this in fact actually work?

Is this the only thing that it is broken with, not being able to

exceed

2G ?



I actually used domain limits for about a year.  This was on a fairly
busy set of servers, and I couldn't figure out why the load was always
so high on the servers and there was so much network traffic.  Domain
limits are horrible.  On every message that goes through the system,
vpopmail adds up the size of all the messages in all the mailboxes.  I'm
still not sure why it's even a configuration option still...


Changelog

5.4.12 - released 4-Jul-04

Tom Collins
- configure: remove enable-domainquotas option until the domain
quota code is fixed.

If you can show me it is back, I'll delete it again.  I don't see it in 
./configure --help for 5.4.20 though...


Don't hold your breath on a fix.  Someone has to figure out how to stop 
the system hogging effect of enabling domain quotas on an existing 
machine that does not already use it.  This problem shows up as a 
self-inflicted DOS attack on your server when every message received 
results in the file usage of its domain.  I would have expected it to 
level out once it finally had totals in place for all maildirs, but 
Tren's experience seems to show that is false.


I think we can safely say that domain quotas within vpopmail are dead, 
and if you need them follow Tren's advice below...




If you want to provide a domain wide limit, use the kernels quota tools
and create the domain with a unique user ID.  It's pretty well
documented in the archives of the list.




RE: [vchkpw] Domain limits

2007-09-03 Thread Tren Blackburn
Hey Rick;

 -Original Message-
 From: Rick Widmer [mailto:[EMAIL PROTECTED]
 Sent: Monday, September 03, 2007 6:02 PM
 To: vchkpw@inter7.com
 Subject: Re: [vchkpw] Domain limits
 
 
 
 Tren Blackburn wrote:
  Hey;
 
  -Original Message-
  From: Quey [mailto:[EMAIL PROTECTED]
  Sent: Monday, September 03, 2007 2:57 PM
  To: vpopmail-list
  Subject: [vchkpw] Domain limits
 
  Hi,
  Yes I know they are  Broken,  however... I saw a recent post (I
  think
  on this list) claiming it works to 2G, is this the case?
 
  In other words, If I wanted to introduce a low cost  Email only
 plan,
  that allows them to have unlimited email accounts and aliases but
 cant
  occupy more than 2G of disk space, will this in fact actually work?
 
  Is this the only thing that it is broken with, not being able to
  exceed
  2G ?
 
 
  I actually used domain limits for about a year.  This was on a
fairly
  busy set of servers, and I couldn't figure out why the load was
 always
  so high on the servers and there was so much network traffic.
Domain
  limits are horrible.  On every message that goes through the system,
  vpopmail adds up the size of all the messages in all the mailboxes.
 I'm
  still not sure why it's even a configuration option still...
 
 Changelog
 
 5.4.12 - released 4-Jul-04
 
   Tom Collins
   - configure: remove enable-domainquotas option until the domain
  quota code is fixed.
 
 If you can show me it is back, I'll delete it again.  I don't see it
in
 ./configure --help for 5.4.20 though...

Good to see...I assumed that since someone was asking about them, it was
still an option.  My bad.

 
 Don't hold your breath on a fix.  Someone has to figure out how to
stop
 the system hogging effect of enabling domain quotas on an existing
 machine that does not already use it.  This problem shows up as a
 self-inflicted DOS attack on your server when every message received
 results in the file usage of its domain.  I would have expected it to
 level out once it finally had totals in place for all maildirs, but
 Tren's experience seems to show that is false.

There isn't any way, unless you decided to only do the counts at certain
intervals or times of day...one of the domains had about 500 users, and
a bunch of them had 1GB+ mailboxes.  We had delivery times of up to 15
minutes.  I tell ya I kicked myself when I finally tracked it down.
Disk space is cheap now so quota isn't quite as big an issue as it used
to be.  It can be more hassle to enforce quota then to just buy another
disk array.

 
 I think we can safely say that domain quotas within vpopmail are dead,
 and if you need them follow Tren's advice below...
 
 
  If you want to provide a domain wide limit, use the kernels quota
 tools
  and create the domain with a unique user ID.  It's pretty well
  documented in the archives of the list.

Thanks for the correction Rick, I'll sleep better knowing domain quotas
won't haunt anyone else.

Regards,

Tren


[vchkpw] Domain limits

2005-08-05 Thread Bastiaan van der Put

Hi,

I have been using vpopmail with user quota's for some time now.

I want to move to domainlimits, is it possible to set the user quota to -1
and domainquota to say 500 MB on a domain.

If the 500 MB is reached for the domain will the emails be bounced or does 
vpopmail

accept it because the user limit has -1?

Regards, Bas



Re: [vchkpw] Domain limits

2005-08-05 Thread Rick Macdougall

Bastiaan van der Put wrote:


Hi,

I have been using vpopmail with user quota's for some time now.

I want to move to domainlimits, is it possible to set the user quota 
to -1

and domainquota to say 500 MB on a domain.

If the 500 MB is reached for the domain will the emails be bounced or 
does vpopmail

accept it because the user limit has -1?


Hi,

Domain quotas do not work.

The only available option is to use system quotas and create a new user 
for each domain.


Regards,

Rick



Re: [vchkpw] Domain limits

2005-08-05 Thread Rainer Duffner

Bastiaan van der Put wrote:


Hi,

I have been using vpopmail with user quota's for some time now.

I want to move to domainlimits, is it possible to set the user quota 
to -1

and domainquota to say 500 MB on a domain.

If the 500 MB is reached for the domain will the emails be bounced or 
does vpopmail

accept it because the user limit has -1?





Domainquotas don't work.
See the README or changelog.


You could use OS-quotas, which should result in the message being 
deferred for some time in your queue and then bounced (I presume - 
someone correct me if I'm wrong)
I haven't done this, but I had the impression that you would need to 
create a new group for each domain and then use group-quotas, because 
the directory still have to be owned by the vpopmail-user.




cheers,
Rainer


Re: [vchkpw] Domain limits

2005-08-05 Thread Bastiaan van der Put

Thanks for the quick reply.

I will turn it back off, I noticed it didn't work as I expected.

Bas
At 18:00 8/5/2005, you wrote:

Bastiaan van der Put wrote:


Hi,

I have been using vpopmail with user quota's for some time now.

I want to move to domainlimits, is it possible to set the user quota to -1
and domainquota to say 500 MB on a domain.

If the 500 MB is reached for the domain will the emails be bounced or 
does vpopmail

accept it because the user limit has -1?


Hi,

Domain quotas do not work.

The only available option is to use system quotas and create a new user 
for each domain.


Regards,

Rick





Re: [vchkpw] Domain limits

2005-08-05 Thread Bastiaan van der Put

Hmm I noticed I didnt compile with domainquota's the first time.

After compiling with the support,  I do get a bounce msg now the user is 
overquota??


user limit = -1
Domainquota = 16 MB(just to test)

What exact is broken about it?

Bas
At 18:00 8/5/2005, you wrote:

Bastiaan van der Put wrote:


Hi,

I have been using vpopmail with user quota's for some time now.

I want to move to domainlimits, is it possible to set the user quota to -1
and domainquota to say 500 MB on a domain.

If the 500 MB is reached for the domain will the emails be bounced or 
does vpopmail

accept it because the user limit has -1?


Hi,

Domain quotas do not work.

The only available option is to use system quotas and create a new user 
for each domain.


Regards,

Rick




Re: [vchkpw] Domain limits

2005-08-05 Thread Bastiaan van der Put

What exact is broken about it?

Seems it only bounces emails with attachments.

Bas
At 18:00 8/5/2005, you wrote:

Bastiaan van der Put wrote:


Hi,

I have been using vpopmail with user quota's for some time now.

I want to move to domainlimits, is it possible to set the user quota to -1
and domainquota to say 500 MB on a domain.

If the 500 MB is reached for the domain will the emails be bounced or 
does vpopmail

accept it because the user limit has -1?


Hi,

Domain quotas do not work.

The only available option is to use system quotas and create a new user 
for each domain.


Regards,

Rick




Re: [vchkpw] Domain limits

2005-08-05 Thread Rick Macdougall

Bastiaan van der Put wrote:


Hmm I noticed I didnt compile with domainquota's the first time.

After compiling with the support,  I do get a bounce msg now the user 
is overquota??


user limit = -1
Domainquota = 16 MB(just to test)

What exact is broken about it?


Hi,

Everything about it is broken.  It plain doesn't work and if you get any 
number of users in that domain, mail delivery might take 5 or 6 minutes 
as it tries to re-calculate the domain quota.  I think Tom took the code 
out of the 5.4.12 release completely.


Regards,

Rick



[vchkpw] domain limits not applying to users

2003-08-28 Thread Tom Collins
On Thursday, August 28, 2003, at 07:47  AM, Steven Job wrote:
I am able to set the qmailadmin limits (using the mysql version) but it
doesn't seem to work the way I thought.
I have set the disable_pop to 1 and the disable_webmail to 1 and the
disable_relay to 1 and I don't see any difference in how it acts.
The users in that domain can still receive pop mail, use webmail, and
relay.
Proper support for domain limits are still under development.  The code  
exists in vpopmail 5.3.25 and 5.3.26 but has been temporarily disabled  
due to the following problem:

If vpopmail applies domain limits onto the user's limits, and then you  
make any change to the user (even changing the password), the user will  
inherit the current domain limits.

So, for example, if you temporarily add a domain limit of  
disable_webmail for some reason, and one of the users in the domain  
changes their password, they'll still have disable_webmail set even if  
you clear it for the domain.

We're working on a solution, but we're not sure of the exact  
implementation.  We either have to change all bits of code that check  
whether a user has access to do something, or change all bits of code  
that could modify a user's account information.

My guess is that we need to change the pwd structure to have a user  
limits and effective limits fields, then go through an update  
everything that checks limits to use the effective limits field.

Take a look at  
http://sourceforge.net/tracker/ 
index.php?func=detailaid=795688group_id=85937atid=577798 for  
continued discussion of this issue.

--
Tom Collins
[EMAIL PROTECTED]
http://sniffter.com/ - info on the Sniffter hand-held Network Tester



[vchkpw] Domain Limits

2003-07-29 Thread Clayton Milos
I am running a mail serer and i enabled domain quotas. I would like to know
how to set the quotas for each domain.

This is what i get in my maillogs currently

Jul 29 11:02:03 server qmail: 1059469323.287333 delivery 972: success:
vmysql:_can't_find_limits_for_domain_'theinnovationfactory.co.za',_using_def
aults./address:_/usr/local/vpopmail/domains/theinnovationfactory.co.za/clay/
Maildir//quota:_1073741824/did_0+0+1/


Thanks guys

Clay




Re: [vchkpw] Domain Limits

2003-07-29 Thread John Simpson
On Tuesday 29 July 2003 05:11, Clayton Milos wrote:
 I am running a mail serer and i enabled domain quotas. I would like to
 know how to set the quotas for each domain.

it never fails to amaze me how many people don't bother to read the 
documentation that comes with the software...

first read http://catb.org/~esr/faqs/smart-questions.html

then read the file README.quotas in the source.

-- 
---
| John Simpson - KG4ZOW - Programmer At Large |
| http://www.jms1.net/[EMAIL PROTECTED] |
---


pgp0.pgp
Description: signature