[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] Vpopmail-5.4.20 and Courier-imap/authlib

2007-09-03 Thread Len Burns

Good day list,

I am new to vpopmail, although no newcomer to qmail and courier-imap.
I am bringing up a new mail server under NetBSD-3.1-i386
and thus far I have vpopmail-5.4.20
playing nicely with maildrop/SpamAssassin, and now am on to seting up
courier-imap.  I took a look at the faq wish pointed me to a version
of courier-imap on inter7 that I do not seem to be locating.  So I
turned my attentions to compiling courier-authlib with authvchkpw.
With a little fiddling about I got it to compile with the following
warning:
*** Warning: linker path does not have real file for library
-lvpopmail.
*** I have the capability to make that library automatically link in
when
*** you link to this library.  But I can only do this if you have a
*** shared version of the library, which you do not appear to have
*** because I did check the linker path looking for a file starting
*** with libvpopmail and none of the candidates passed a file format
test
*** using a regex pattern. Last file checked: /usr/lib//libvpopmail.a

*** Warning: libtool could not satisfy all declared inter-library
*** dependencies of module libauthvchkpw.  Therefore, libtool will
create
*** a static module, that should work as long as the dlopening
*** application is linked with the -dlopen flag.

The build did complete and install, and it did build a static module
but it is not able to load it:
Sep  3 19:33:37 ScrewLoose authdaemond: Shared object libauthvchkpw.a not 
found

So, after some poking about on the web I decided to post here and
benefit from some wisdom as to the best path to making peace with all
this.  TIA for any direction you can give.

-Len
[EMAIL PROTECTED]