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


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



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