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
> > 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.
> > 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
> ./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
> 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.



Reply via email to