[vchkpw] Quotas over NFS

2004-02-02 Thread Systems Administrator
Will vpopmail quotas ever work with a domains dir mounted as nfs ?





[vchkpw] Quotas over NFS

2004-01-28 Thread Systems Administrator

Ok.. Vpopmail uses maildir++

I have an NFS export to store /home/vpopmail/domains

If I do a vuserinfo on a user it shows something like 92%
If I du -sh inside ~vpopmail/domains/domainname/theirhomedir

I'm only getting like 164Kb.

The quota isn't either being reset or lowered according to what is really in
the user's homedir.
Its like the quota is built up in maildirsize, but never lowered or checked
for new quota after mail is checked or removed from Maildir/new or
Maildir/cur


Is there any kind of fix for this or any suggestions?


Thanks


Daniel Corrigan
Cebridge Connections



Re: [vchkpw] Quotas

2003-03-17 Thread Cory Wright
On Mon, Mar 17, 2003 at 02:37:16PM -0700, Tom Collins wrote:
 Where can I get 5.3.19?

  http://shupp.org/

Cory

--
Cory Wright
Stand Blue Technology
http://www.standblue.net/



Re: [vchkpw] quotas

2003-03-16 Thread Jonas Pasche
Hi Payal,

 Now I added 2 domains test1 and test2? Do these domains have a default
 quota?

No.

 If no, how do I add that?

You don't have a thing like a domain quota with the current stable
version, only quota values on every single account.

 Also can I have domain test1 with say 40Mb quota and domain test2 with
 70Mb quota? How to achieve that?

For now, give each domain a different system user (vadddomain -u ...),
and give that user a quota.

For later, watch the development; domain quota support is coming (but
not stable yet).

Jonas




Re: [vchkpw] quotas

2003-03-16 Thread Payal Rathod
* Jonas Pasche [EMAIL PROTECTED] [2003-03-16 23:28]:
Hi,
  Now I added 2 domains test1 and test2? Do these domains have a default
  quota?
 
 No.

Silly question, then I need to reconfigure again. Do I just go the
directory where tar ball is extracted and type make clean?

  Also can I have domain test1 with say 40Mb quota and domain test2 with
  70Mb quota? How to achieve that?
 
 For now, give each domain a different system user (vadddomain -u ...),
 and give that user a quota.

A question here. These users will also be having their account on the
machine in /home/user and for mails I have to keep their mails on,
/home/vpopmail/domains/user
Any way I can use their own home directory and give them system quotas
so they can think themselves how much space they want to devote to mails
and how much to their programs, webpages etc.

Thanks a lot and bye.
Regards,
-Payal

-- 
Visit GNU/Linux Success Stories
www.geocities.com/rpayal99
Guest-Book Section Updated.



Re: [vchkpw] quotas

2003-03-16 Thread Manish Jain
Hi Payal,

There is no any solution for domain quotas in vpopmail.
If you want to impliment domain quota as per ur requirement u have to
use the system quota and the add the domain under the specified user for
that domain.

I am using the same technique and most of the qmail users who needed
this type of requirement are using the same...

For any further query mail me...

Manish Jain
Sys Admin
CDAC, Noida


On Sat, 2003-03-15 at 15:27, Payal Rathod wrote:
 Hi,
 I have installed vpopmail-5.2.1 with just enable-roaming-users=y option.
 After that I did make and make install.
 
 Now I added 2 domains test1 and test2? Do these domains have a default
 quota?
 
 If no, how do I add that? If I am going to use ./configure again what
 care must I take? Do i use make install clean or something like that?
 
 Also can I have domain test1 with say 40Mb quota and domain test2 with
 70Mb quota? How to achieve that?
 I read README.quotas, INSTALL and FAQ but still I am unable to figure a
 proper solution for different quotas for different domains.
 
 Can someone tell?
 
 With regards,
 -Payal
 
 -- 
 Visit GNU/Linux Success Stories
 www.geocities.com/rpayal99
 Guest-Book Section Updated.





Re: [vchkpw] quotas

2003-03-15 Thread Brian Kolaci

You need vpopmail-5.3.19 for domain quotas.
It may be found at http://shupp.org

Brian


On Sat, 15 Mar 2003, Payal Rathod wrote:

 Hi,
 I have installed vpopmail-5.2.1 with just enable-roaming-users=y option.
 After that I did make and make install.
 
 Now I added 2 domains test1 and test2? Do these domains have a default
 quota?
 
 If no, how do I add that? If I am going to use ./configure again what
 care must I take? Do i use make install clean or something like that?
 
 Also can I have domain test1 with say 40Mb quota and domain test2 with
 70Mb quota? How to achieve that?
 I read README.quotas, INSTALL and FAQ but still I am unable to figure a
 proper solution for different quotas for different domains.
 
 Can someone tell?
 
 With regards,
 -Payal
 
 -- 
 Visit GNU/Linux Success Stories
 www.geocities.com/rpayal99
 Guest-Book Section Updated.
 
 




Re: [vchkpw] Quotas

2003-03-05 Thread tonix (Antonio Nati)


Referring to previous e-mail, I suggest to integrate the code in a
self-correcting way, like:
diff -u qmailadmin-1.0.10/util.c qmailadmin-1.0.10-pooled2/util.c
--- qmailadmin-1.0.10/util.cFri
Jan 24 23:25:31 2003
+++
qmailadmin-1.0.10-pooled2/util.cTue
Feb 18 18:37:55 2003
@@ -272,7 +272,10 @@
 if (quota == NULL) { return 1; }
 if (tmp = atol(quota)) { tmp *= 1048576; }
 else { return 1; }
- sprintf(returnval, %-2.2lf, tmp);
+ if (tmp  0) { return 0; }
+ sprintf(returnval, %-2.0lf, tmp);
 return 0;
}

This should make an automatic auto-correction when quota is less
than zero.
Tonino
At 04/03/03 04/03/03 +0100, tonix (Antonio Nati) wrote:
Hi Rick,
it's a small bug in the quota patch of last official
qmailadmin versions(I did not suppose Inter7 integrate patches without
trying them, but that happens sometimes).

diff -u qmailadmin-1.0.10/util.c qmailadmin-1.0.10-pooled2/util.c
--- qmailadmin-1.0.10/util.cFri
Jan 24 23:25:31 2003
+++
qmailadmin-1.0.10-pooled2/util.cTue
Feb 18 18:37:55 2003
@@ -272,7 +272,10 @@
 if (quota == NULL) { return 1; }
 if (tmp = atol(quota)) { tmp *= 1048576; }
 else { return 1; }
- sprintf(returnval, %-2.2lf, tmp);
+ sprintf(returnval, %-2.0lf, tmp);
 return 0;
}


This should solve it.
Tonino
At 03/03/03 03/03/03 -0600, Rick Romero
wrote:On Mon, 2003-03-03 at 09:52,
Rick Romero wrote:
 I wanted to mention that when using qmailadmin-1.12 and
vpopmail-5.3.18,
 if I set the quota from qmailadmin to 100MB, the quota is set
to
 100483292.00 (I'm just guessing on the bytes, but you get the
idea).
 
 For some reason, I belive the .00 makes vdelivermail bounce email
saying
 the user is over quota. Using vsetuserquota to set the actual
# of
 bytes works fine though.
Ok, so here's the code in vpopmail.c (right at the end):
char *format_maildirquota(const char *q) {
int i;
int per_user_limit;
static char tempquota[500];
 /* translate the quota to a number, or leave it
*/
 i = strlen(q) - 1;
 tempquota[0] = '\0'; /* make sure tempquota is 0
length */
 if(strstr(q, ,) == NULL  q[i] !=
'S') {
 per_user_limit = 
atol(q);
 for(i=0;q[i]!=0;++i) {
 if (
q[i] == 'k' || q[i] == 'K' ) {

per_user_limit = per_user_limit * 1024;

snprintf(tempquota, 500, %dS, per_user_limit);

break;
 
}
 if (
q[i] == 'm' || q[i] == 'M' ) {

per_user_limit = per_user_limit * 1048576;

sprintf(tempquota, %dS, per_user_limit);

break;
 
}
 }

Maybe this isn't the problem... but if per_user_int is initialized as
an
int, should atol be atoi? 
Though, supposedly atol() should stop 'converting' at the period
anyways.. Maybe it's crashing?


 Rick
 



[EMAIL PROTECTED]
Interazioni di Antonio Nati 

http://www.interazioni.it

[EMAIL PROTECTED]






[EMAIL PROTECTED]
Interazioni di Antonio Nati 

http://www.interazioni.it
[EMAIL PROTECTED]






Re: [vchkpw] Quotas

2003-03-04 Thread tonix (Antonio Nati)


Hi Rick,
it's a small bug in the quota patch of last official
qmailadmin versions(I did not suppose Inter7 integrate patches without
trying them, but that happens sometimes).
diff -u qmailadmin-1.0.10/util.c qmailadmin-1.0.10-pooled2/util.c
--- qmailadmin-1.0.10/util.cFri
Jan 24 23:25:31 2003
+++
qmailadmin-1.0.10-pooled2/util.cTue
Feb 18 18:37:55 2003
@@ -272,7 +272,10 @@
 if (quota == NULL) { return 1; }
 if (tmp = atol(quota)) { tmp *= 1048576; }
 else { return 1; }
- sprintf(returnval, %-2.2lf, tmp);
+ sprintf(returnval, %-2.0lf, tmp);
 return 0;
}

This should solve it.
Tonino
At 03/03/03 03/03/03 -0600, Rick Romero wrote:
On Mon, 2003-03-03 at 09:52, Rick
Romero wrote:
 I wanted to mention that when using qmailadmin-1.12 and
vpopmail-5.3.18,
 if I set the quota from qmailadmin to 100MB, the quota is set
to
 100483292.00 (I'm just guessing on the bytes, but you get the
idea).
 
 For some reason, I belive the .00 makes vdelivermail bounce email
saying
 the user is over quota. Using vsetuserquota to set the actual
# of
 bytes works fine though.
Ok, so here's the code in vpopmail.c (right at the end):
char *format_maildirquota(const char *q) {
int i;
int per_user_limit;
static char tempquota[500];
 /* translate the quota to a number, or leave it
*/
 i = strlen(q) - 1;
 tempquota[0] = '\0'; /* make sure tempquota is 0
length */
 if(strstr(q, ,) == NULL  q[i] !=
'S') {
 per_user_limit = 
atol(q);
 for(i=0;q[i]!=0;++i) {
 if (
q[i] == 'k' || q[i] == 'K' ) {

per_user_limit = per_user_limit * 1024;

snprintf(tempquota, 500, %dS, per_user_limit);

break;
 
}
 if (
q[i] == 'm' || q[i] == 'M' ) {

per_user_limit = per_user_limit * 1048576;

sprintf(tempquota, %dS, per_user_limit);

break;
 
}
 }

Maybe this isn't the problem... but if per_user_int is initialized as
an
int, should atol be atoi? 
Though, supposedly atol() should stop 'converting' at the period
anyways.. Maybe it's crashing?


 Rick
 





[EMAIL PROTECTED]
Interazioni di Antonio Nati 

http://www.interazioni.it
[EMAIL PROTECTED]






[vchkpw] Quotas

2003-03-03 Thread Rick Romero

I wanted to mention that when using qmailadmin-1.12 and vpopmail-5.3.18,
if I set the quota from qmailadmin to 100MB, the quota is set to
100483292.00  (I'm just guessing on the bytes, but you get the idea).

For some reason, I belive the .00 makes vdelivermail bounce email saying
the user is over quota.  Using vsetuserquota to set the actual # of
bytes works fine though.

Rick





Re: [vchkpw] Quotas

2003-03-03 Thread Rick Romero
On Mon, 2003-03-03 at 09:52, Rick Romero wrote:
 I wanted to mention that when using qmailadmin-1.12 and vpopmail-5.3.18,
 if I set the quota from qmailadmin to 100MB, the quota is set to
 100483292.00  (I'm just guessing on the bytes, but you get the idea).
 
 For some reason, I belive the .00 makes vdelivermail bounce email saying
 the user is over quota.  Using vsetuserquota to set the actual # of
 bytes works fine though.

Ok, so here's the code in vpopmail.c (right at the end):

char *format_maildirquota(const char *q) {
int i;
int per_user_limit;
static chartempquota[500];

/* translate the quota to a number, or leave it */
i = strlen(q) - 1;
tempquota[0] = '\0'; /* make sure tempquota is 0 length */
if(strstr(q, ,) == NULL  q[i] != 'S') {
per_user_limit = atol(q);
for(i=0;q[i]!=0;++i) {
if ( q[i] == 'k' || q[i] == 'K' ) {
per_user_limit = per_user_limit * 1024;
snprintf(tempquota, 500, %dS, per_user_limit);
break;
}
if ( q[i] == 'm' || q[i] == 'M' ) {
per_user_limit = per_user_limit * 1048576;
sprintf(tempquota, %dS, per_user_limit);
break;
}
}



Maybe this isn't the problem... but if per_user_int is initialized as an
int, should atol be atoi?  
Though, supposedly atol() should stop 'converting' at the period
anyways..  Maybe it's crashing?




 Rick
 





[vchkpw] Quotas Problems

2003-01-29 Thread buffalo
Greetings,

I've been looking through the archives, but haven't found anything that 
seems to cover this.

After rebuilding vpopmail (make clean; configure; etc.) with a default
quota, domains created via ~vpopmail/bin/vadddomain are created as
expected with a postmaster account that has the correct quota.

However, when I use qmailadmin or vqadmin to create accounts, or vqadmin
to create an additional virtual domain, the default quota doesn't get set
in limit files for users or the domain itself either in:

~vpopmail/domains/domain.com 

or in:

~vpopmail/domains/domain.com/username/Maildir.

I rebuilt both qmailadmin and vqadmin after rebuilding vpopmail to include
the default quota; If I manually set the default quota for a virtual
domain in vqadmin, it shows up as expected in a limits file in:

~vpopmail/domains/domain.com

Is there something I'm missing here?

TIA,

--Duncan





RE: [vchkpw] Quotas Problems

2003-01-29 Thread Clayton Weise
Anytime you recompile vpopmail with different options you'll need to also
recompile any of the programs that use it.  Like qmailadmin and vqadmin.

-Clayton

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] 
Sent: Wednesday, January 29, 2003 5:49 AM
To: vpopmail list
Subject: [vchkpw] Quotas Problems


Greetings,

I've been looking through the archives, but haven't found anything that 
seems to cover this.

After rebuilding vpopmail (make clean; configure; etc.) with a default
quota, domains created via ~vpopmail/bin/vadddomain are created as
expected with a postmaster account that has the correct quota.

However, when I use qmailadmin or vqadmin to create accounts, or vqadmin to
create an additional virtual domain, the default quota doesn't get set in
limit files for users or the domain itself either in:

~vpopmail/domains/domain.com 

or in:

~vpopmail/domains/domain.com/username/Maildir.

I rebuilt both qmailadmin and vqadmin after rebuilding vpopmail to include
the default quota; If I manually set the default quota for a virtual domain
in vqadmin, it shows up as expected in a limits file in:

~vpopmail/domains/domain.com

Is there something I'm missing here?

TIA,

--Duncan










RE: [vchkpw] Quotas Problems

2003-01-29 Thread buffalo
On Wed, 29 Jan 2003, Clayton Weise wrote:

Clayton,

 Anytime you recompile vpopmail with different options you'll need to also
 recompile any of the programs that use it.  Like qmailadmin and vqadmin.

Thanks for your reply. If you check the end of my original post:

 I rebuilt both qmailadmin and vqadmin after rebuilding vpopmail to include
 the default quota; If I manually set the default quota for a virtual domain
 in vqadmin, it shows up as expected in a limits file in:

I had recompiled qmailadmin and vqadmin right after recompliling 
vpopmail...

--Duncan






Re: [vchkpw] quotas

2002-11-12 Thread Bill Shupp
On Tuesday, November 12, 2002, at 09:08  AM, Marco wrote:


I'm sure you are all tired of hearing about quotas and how they won't 
decrease once file has been deleted.
 
I understand there are some issues with quota support in 
qmail+vpopmail.  I just joined this mailing list, so if this was 
answered recently, I apologize.  I think I am a little confused 
because vpopmail claims to support maildir quotas for qmail-pop3d, 
however there seem to be issues with it.
 
The Problem:
 
The problem seems well documented, the solution however doesn't. 
 
Email is sent, the maildirsize file grows, it approaches the quota 
size (90%) and emails the quotawarn.msg.  However when the emails are 
removed, the maildirsize file is the same.
 
The Patch:
 
I don't smoke, but I did use the patch.  I used `patch -p0 
maildir-quota.patch` .  I'm assuming it worked, there were no errors.  
I'm not too familiar with the patch command, but after some research, 
I think I found the right syntax to use. 

There is no patch called maildir-quota.patch that is supported by 
vpopmail.  I don't think you have it patched correctly.

The only included in the stable release is 
qmail-pop3d-maildirquota.patch.gz, and is located in the contrib 
directory.  There is a newer version, that is available with the 
development versions of vpopmail, and it's filename is 
qmail-maildir++.patch.  I recommend this one.  Both are available on my 
site, www.shupp.org.  Re-patch qmail with one of these, and that should 
solve your problems.  i.e.:

cd qmail-1.03
lynx --source http://www.shupp.org/patches/qmail-maildir++.patch | 
patch -p0
make
qmailctl stop
make setup check
qmailctl start

Regards,

Bill Shupp



Re: [vchkpw] quotas and imap

2002-11-08 Thread Bill Shupp
On Thursday, November 7, 2002, at 10:27  PM, Vladimir Kabanov wrote:


yes, it works,
but you should add word QUOTA to imap capability list


This is correct.  As a PHP example, you might check out my SquirrelMail
plugin that does the same thing:

http://squirrelmail.org/plugin_view.php?id=59

It's really simple, but might be helpful in getting started writing
something similar for IMP.

Regards,

Bill Shupp





Re: [vchkpw] quotas and imap

2002-11-08 Thread Iain
Hi,

On Sat, 9 Nov 2002 04:25, Bill Shupp wrote:
 On Thursday, November 7, 2002, at 10:27  PM, Vladimir Kabanov wrote:
  yes, it works,
  but you should add word QUOTA to imap capability list


I'm not sure what you mean by this. 

 This is correct.  As a PHP example, you might check out my SquirrelMail
 plugin that does the same thing:

 http://squirrelmail.org/plugin_view.php?id=59

Great thanks for that. Is there are a reason you didn't use the imap_getquota 
function in PHP? Also do you have to use GETQUOTAROOT or would GETQUOTA work 
too.

thanks, Iain.


 It's really simple, but might be helpful in getting started writing
 something similar for IMP.

 Regards,

 Bill Shupp





Re: [vchkpw] quotas and imap

2002-11-08 Thread Bill Shupp
On Friday, November 8, 2002, at 01:56  PM, Iain wrote:


Hi,

On Sat, 9 Nov 2002 04:25, Bill Shupp wrote:

On Thursday, November 7, 2002, at 10:27  PM, Vladimir Kabanov wrote:

yes, it works,
but you should add word QUOTA to imap capability list




I'm not sure what you mean by this.


The QUOTA extension in courier-imap is considered experimental.  
Therefore, it's not listed as a capability in the capability string be 
default in the imapd config file.  You need to manually add it.  See 
the FAQ in my SM plugin.

This is correct.  As a PHP example, you might check out my 
SquirrelMail
plugin that does the same thing:

http://squirrelmail.org/plugin_view.php?id=59

Great thanks for that. Is there are a reason you didn't use the 
imap_getquota
function in PHP?

SquirrelMail doesn't use the c-client library from the UW-IMAP server, 
it uses its own IMAP functions.

Also do you have to use GETQUOTAROOT or would GETQUOTA work
too.


Check out the rfc here: ftp://ftp.rfc-editor.org/in-notes/rfc2087.txt

You can use either, but GETQUOTAROOT accounts for multiple roots.

Bill





Re: [vchkpw] quotas and imap

2002-11-08 Thread Bill Shupp
On Friday, November 8, 2002, at 02:55  PM, Vladimir Kabanov wrote:


Bill, that functionality already implemented in IMP, and it works for 
me, at
least
so everything even more simple :)

Really?  Why are we having this discussion then?  I don't use IMP 
anymore.  : |

Bill




Re: [vchkpw] quotas and imap

2002-11-08 Thread T.J. Drennan

Iain said:
 Hi,

 On Sat, 9 Nov 2002 04:25, Bill Shupp wrote:
 On Thursday, November 7, 2002, at 10:27  PM, Vladimir Kabanov wrote:
  yes, it works,
  but you should add word QUOTA to imap capability list


 I'm not sure what you mean by this.

 This is correct.  As a PHP example, you might check out my SquirrelMail plugin that
 does the same thing:

 http://squirrelmail.org/plugin_view.php?id=59

 Great thanks for that. Is there are a reason you didn't use the imap_getquota
 function in PHP? Also do you have to use GETQUOTAROOT or would GETQUOTA work  too.


Squirrelmail doesn't use the standard php imap functions (they wrote their own). Not
sure about the QUOTA stuff.

 thanks, Iain.


 It's really simple, but might be helpful in getting started writing something
 similar for IMP.

 Regards,

 Bill Shupp




-- 
*
T.J. Drennan
Software Engineer, Wireless Systems
   Spectrum Signal Processing
[EMAIL PROTECTED]
*






Re: [vchkpw] quotas and imap

2002-11-08 Thread Vladimir Kabanov
yes,
but there only one small problem, for quota-less users,
so additional check has to be done.

 On Friday, November 8, 2002, at 02:55  PM, Vladimir Kabanov wrote:
 
  Bill, that functionality already implemented in IMP, and it works for 
  me, at
  least
  so everything even more simple :)
 
 Really?  Why are we having this discussion then?  I don't use IMP 
 anymore.  : |





[vchkpw] quotas and imap

2002-11-07 Thread Iain
Hi,

I was wondering if vpopmail quotas are visible in IMAP. I.e. will the imap get 
quota calls return the quota as set by vpopmail?

In particular I would like the show quota function in IMP 3.1 to work when 
using courier-imap.

cheers, Iain.




Re: [vchkpw] quotas and imap

2002-11-07 Thread Vladimir Kabanov
yes, it works,
but you should add word QUOTA to imap capability list

- Original Message -
From: Iain [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Friday, November 08, 2002 3:45 PM
Subject: [vchkpw] quotas and imap


Hi,

I was wondering if vpopmail quotas are visible in IMAP. I.e. will the imap
get
quota calls return the quota as set by vpopmail?

In particular I would like the show quota function in IMP 3.1 to work when
using courier-imap.

cheers, Iain.







[vchkpw] Quotas: Strange Behaviors

2002-10-05 Thread Dorneles Treméa

Hi,

I'm in trouble with quotas... Who isn't? :-)

I'm usign qmail 1.03, vpopmail 5.3.8, qmailadmin 1.0.6,
vqadmin 2.3.2, Courrier-IMAP 1.4.4 and a few goodies...

I have applied qmail-maildir++ patch to enable POP support
and it's working perfectly, except for these problems:

a) When quota size in account properties is changed using
vqadmin (or vsetuserquota), file maildirsize isn't updated.
So, I need to manually delete this file, once it will be
automatically created with correct size on next mail.

b) When quota usage is higher 90%, a file named quotawarn
(0 byte) is created in Maildir root and a mail (warning)
is sent to the correspondent account. That's ok, but after
purging messages, this file isn't removed, and I will
nevermore receive that warning again, even if I delete it.

c) Automatically 15 minutes updates mentioned in doc
http://inter7.com/courierimap/README.maildirquota.html
doesn't work. It is implemented?

Well, here goes my question: all these behaviors are normal?

Thanks.

[]'s

-- 

Dorneles Treméa
Caxias do Sul - RS - Brasil
+55 54 9114 9312 - UIN: 2413568
X3ng Web Technology http://www.x3ng.com.br

-BEGIN GEEK CODE BLOCK-
Version: 3.12
GCS/IT d- s:-: a23 C+++ UBL$ P--- L++ E-- W+++
N++ o? K? w+ O M+ V-- PS+ PE- Y-- PGP++ t+ 5 X++ R+
tv+ b(++) DI+ D++ G e++ h r+++ y+++**
--END GEEK CODE BLOCK--




msg09103/pgp0.pgp
Description: PGP signature


[vchkpw] quotas exceeded problem

2002-09-05 Thread Paul James

Hi,
I am noticing a problem with quota's. For instance, vqadmin shows that I
have 1000 for quota. However, there are only about 200 messages from
lists such as this one. 

On another email account I have, I deleted all mesgs, waited for about
20 to show up from email lists, tried to mv the messages into folders
and get the '[ALERT] You exceeded your mail quota'.

The setup for vpopmail was:


--enable-defaultquota=200

I had thought that meant a 'default' which could be overridden on a
per-user basis.

How can I fix this up.

Thanks for your help.

Paul




Re: [vchkpw] Quotas and upgrades

2002-08-27 Thread Phil Dibowitz

Rick Macdougall wrote:

 Hi,
 
 vmoduser -q 1000S @somedomain.com
 

Rick,

This doesn't seem to work.

If I do:
vmoduser -q 5000S @somedomain.com

I get the error:
no such user @somedomain.com

If I do:
vmoduser -q 5000S somedomain.com

I get the error:
Error: null pointer

I've recompiled and isntalled vpopmail with the '--default-quota=5000S' set.

-- 
Phil Dibowitz [EMAIL PROTECTED]
Freeware and Technical Pages  Insanity Palace of Metallica
http://home.earthlink.net/~jaymzh666/ http://www.ipom.com/

They that can give up essential liberty to obtain a little temporary
safety deserve neither liberty nor safety.
  - Benjamin Franklin, 1759




Re: [vchkpw] Quotas and upgrades

2002-08-27 Thread Phil Dibowitz

Phil Dibowitz wrote:

 I've recompiled and isntalled vpopmail with the 
 '--default-quota=5000S' set.
 

Errr I meant to say:

--enable-defaultquota=5000S

My bad.


-- 
Phil Dibowitz [EMAIL PROTECTED]
Freeware and Technical Pages  Insanity Palace of Metallica
http://home.earthlink.net/~jaymzh666/ http://www.ipom.com/

They that can give up essential liberty to obtain a little temporary
safety deserve neither liberty nor safety.
  - Benjamin Franklin, 1759




Re: [vchkpw] Quotas and upgrades

2002-08-27 Thread Rick Macdougall

Hi,

Funky,

I get Segementation fault myself with 5.3.8.  What version are you using?

I know it used to work because I used to use it.

Developers?  Anyone?

Regards,

Rick

- Original Message -
From: Phil Dibowitz [EMAIL PROTECTED]
To: Rick Macdougall [EMAIL PROTECTED]
Cc: vchkpw [EMAIL PROTECTED]
Sent: Tuesday, August 27, 2002 8:20 PM
Subject: Re: [vchkpw] Quotas and upgrades


 Rick Macdougall wrote:

  Hi,
 
  vmoduser -q 1000S @somedomain.com
 

 Rick,

 This doesn't seem to work.

 If I do:
 vmoduser -q 5000S @somedomain.com

 I get the error:
 no such user @somedomain.com

 If I do:
 vmoduser -q 5000S somedomain.com

 I get the error:
 Error: null pointer

 I've recompiled and isntalled vpopmail with the
'--default-quota=5000S' set.




Re: [vchkpw] Quotas and upgrades

2002-08-27 Thread Phil Dibowitz

Rick Macdougall wrote:

 Hi,
 
 Funky,
 
 I get Segementation fault myself with 5.3.8.  What version are you using?
 
 I know it used to work because I used to use it.
 
 Developers?  Anyone?
 

5.2.1.

But I just did this to solve my problem:


#!/bin/sh

cd /home/vpopmail/domains
for i in *; do
  cd $i;
  for n in *; do
   /home/vpopmail/bin/vmoduser -q 5000S ${n}@${i}
  done
  cd ..
done


You'll get errors for email domain saying there is no user [EMAIL PROTECTED] 
and [EMAIL PROTECTED], but no biggie.

Thanks for your help though.

-- 
Phil Dibowitz [EMAIL PROTECTED]
Freeware and Technical Pages  Insanity Palace of Metallica
http://home.earthlink.net/~jaymzh666/ http://www.ipom.com/

They that can give up essential liberty to obtain a little temporary
safety deserve neither liberty nor safety.
  - Benjamin Franklin, 1759




[vchkpw] Quotas and upgrades

2002-08-26 Thread Phil Dibowitz

One regrettable thing about my installation was I didn't enable a default quota.

So I'm going to go back and recompile so as to add that. But from what I've 
read fromt he docs, the only thing this will do is ensure that in the FUTURE 
new boxes made have a default quota.

So my question is: Is there an easy way to give every user (or just all the 
users in a single domain would be sufficient) a quota at the same time? I 
don't want to have to use vsetuserquota on all of our users...

Thanks,
-- 
Phil Dibowitz [EMAIL PROTECTED]
Freeware and Technical Pages  Insanity Palace of Metallica
http://home.earthlink.net/~jaymzh666/ http://www.ipom.com/

They that can give up essential liberty to obtain a little temporary
safety deserve neither liberty nor safety.
  - Benjamin Franklin, 1759




Re: [vchkpw] Quotas and upgrades

2002-08-26 Thread Rick Macdougall

Hi,

vmoduser -q 1000S @somedomain.com

Regards,

Rick

- Original Message -
From: Phil Dibowitz [EMAIL PROTECTED]
To: vchkpw [EMAIL PROTECTED]
Sent: Monday, August 26, 2002 6:50 PM
Subject: [vchkpw] Quotas and upgrades


 One regrettable thing about my installation was I didn't enable a default
quota.

 So I'm going to go back and recompile so as to add that. But from what
I've
 read fromt he docs, the only thing this will do is ensure that in the
FUTURE
 new boxes made have a default quota.

 So my question is: Is there an easy way to give every user (or just all
the
 users in a single domain would be sufficient) a quota at the same time? I
 don't want to have to use vsetuserquota on all of our users...

 Thanks,
 --
 Phil Dibowitz [EMAIL PROTECTED]
 Freeware and Technical Pages  Insanity Palace of Metallica
 http://home.earthlink.net/~jaymzh666/ http://www.ipom.com/

 They that can give up essential liberty to obtain a little temporary
 safety deserve neither liberty nor safety.
   - Benjamin Franklin, 1759