[vchkpw] quota problem

2010-10-04 Thread Abd El Aziz Rehan
Dear
 when i add check_quota package for qmail web access
 and add it in the configuration as a plug in  it not appear on squirrel 
mail web access .. please advice me what can do to make display user 
quota at he log in to your account  



  

!DSPAM:4ca9b21832711530990926!


Re: [vchkpw] quota limit upto 2gb

2009-07-17 Thread Tom Collins

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Jul 14, 2009, at 12:33 PM, Matt Brookings wrote:
The 5.5 branch uses 64bit integers for storing and comparing  
quotas, so yes,

5.5 can set quotas above 2gb.

Furthermore, the latest development version looking to go stable,  
5.4.28, has
changes to use these same 64bit integers and has support for the  
vpopmail usage

daemon.


So it's not using Maildir++ anymore, right?  Will we need to do  
anything to qmail-smtpd and the various POP/IMAP servers to remove  
Maildir++ support so they don't waste time updating the maildirsize  
file?


- -Tom



-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.7 (Darwin)

iD8DBQFKYKh3ve7eT9VwhJURApBfAJ9uNxSnOYhvh50ybPqrMNMEDLzB+gCeOYog
0vJ1/ryKsxvgQZgVtoK4iAQ=
=0Lpz
-END PGP SIGNATURE-

!DSPAM:4a60a88232714233911252!



Re: [vchkpw] quota limit upto 2gb

2009-07-17 Thread Matt Brookings
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Tom Collins wrote:
 So it's not using Maildir++ anymore, right?  Will we need to do anything

vusaged uses parts of Maildir++, namely the flags in the filenames, unless
configured not to do so.

 to qmail-smtpd and the various POP/IMAP servers to remove Maildir++
 support so they don't waste time updating the maildirsize file?

If you want to make changes to not update this file, that's is fine, but
I hope to at some point get the vusage daemon occasionally dropping this
file since it contains all the prerequisites to write this file in memory.

Basically, vusaged should be providing maildirsize readers with the information
they need by accessing vusaged.  If they don't do that, or can't be updated
to do this, the case with most existing packages, it shouldn't be stated 
anywhere
they shouldn't or can't write this file.
- --
/*
Matt Brookings m...@inter7.com   GnuPG Key FAE0672C
Software developer Systems technician
Inter7 Internet Technologies, Inc. (815)776-9465
*/
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAkpgx8AACgkQIwet2/rgZyz4fgCeK4qzYNjju15aUagYya61VTUq
UY4An2wQD1dtksuq/PtVNkxwDhWFViR6
=id9v
-END PGP SIGNATURE-


Re: [vchkpw] quota limit upto 2gb

2009-07-14 Thread Karpaha Vinayaham
Hi   Matt 

Thanks for your suggestion, i have tried to update vpopmail , im not 
successful. Im running qmailtoaster, on their site stable version is not the 
updated one.

   Can u suggest me how to update the vpopmail on a qmailtoaster server..



--- On Mon, 6/7/09, Matt Brookings m...@inter7.com wrote:

From: Matt Brookings m...@inter7.com
Subject: Re: [vchkpw] quota limit upto 2gb
To: vchkpw@inter7.com
Date: Monday, 6 July, 2009, 7:36 PM

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Karpaha Vinayaham wrote:
  Dear All
 
    Im using qmailtoaster for 2 years, its running smoothly there is no
 problem. When i implemented quota to all my users, it is found there is
 a limit of 2GB quota.

Upgrade to the latest development version on SourceForge.
- --
/*
    Matt Brookings m...@inter7.com       GnuPG Key FAE0672C
    Software developer                     Systems technician
    Inter7 Internet Technologies, Inc.     (815)776-9465
*/
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAkpSBPQACgkQIwet2/rgZywHygCfffWhTEPUH4Gy5UbHNF+OtN5b
L9QAniMiFWF6U1jdGOSAKF25PKPBxa4c
=V90Y
-END PGP SIGNATURE-



  Love Cricket? Check out live scores, photos, video highlights and more. 
Click here http://cricket.yahoo.com

!DSPAM:4a5c5a1832711209854143!


Re: [vchkpw] quota limit upto 2gb

2009-07-14 Thread Matt Brookings
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Karpaha Vinayaham wrote:
  Hi   Matt
 
 Thanks for your suggestion, i have tried to update vpopmail , im not
 successful. Im running qmailtoaster, on their site stable version is not
 the updated one.
 
Can u suggest me how to update the vpopmail on a qmailtoaster server.

Back up your ~vpopmail/lib, bin, etc, and include directories.  Then install
vpopmail from source over the existing vpopmail installation.
- --
/*
Matt Brookings m...@inter7.com   GnuPG Key FAE0672C
Software developer Systems technician
Inter7 Internet Technologies, Inc. (815)776-9465
*/
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAkpcjYwACgkQIwet2/rgZyxEDACfQran9br0RQ7H6a2Tr9rFkOZ3
TVEAn0yLTP1GMkpW2nWRVlv/KscpR/xj
=I9Hb
-END PGP SIGNATURE-


Re: [vchkpw] quota limit upto 2gb

2009-07-14 Thread Wouter van der Schagt
I'm sorry guys, I missed the first part of the thread, but based on the 
subject, it may be relevant to me. Is the limit of 2 GB per mailbox removed 
in the 5.5 branch?


Sincerely,
- Wouter van der Schagt

--
From: Matt Brookings m...@inter7.com
Sent: Tuesday, July 14, 2009 9:52 PM
To: vchkpw@inter7.com
Subject: Re: [vchkpw] quota limit upto 2gb


-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Karpaha Vinayaham wrote:

 Hi   Matt

Thanks for your suggestion, i have tried to update vpopmail , im not
successful. Im running qmailtoaster, on their site stable version is not
the updated one.

   Can u suggest me how to update the vpopmail on a qmailtoaster server.


Back up your ~vpopmail/lib, bin, etc, and include directories.  Then 
install

vpopmail from source over the existing vpopmail installation.
- --




!DSPAM:4a5cac9b32711045513127!



Re: [vchkpw] quota limit upto 2gb

2009-07-14 Thread Matt Brookings
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Wouter van der Schagt wrote:
 I'm sorry guys, I missed the first part of the thread, but based on the
 subject, it may be relevant to me. Is the limit of 2 GB per mailbox
 removed in the 5.5 branch?

The 5.5 branch uses 64bit integers for storing and comparing quotas, so yes,
5.5 can set quotas above 2gb.

Furthermore, the latest development version looking to go stable, 5.4.28, has
changes to use these same 64bit integers and has support for the vpopmail usage
daemon.
- --
/*
Matt Brookings m...@inter7.com   GnuPG Key FAE0672C
Software developer Systems technician
Inter7 Internet Technologies, Inc. (815)776-9465
*/
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAkpc3ZwACgkQIwet2/rgZyyaKgCfXv6/ADAt7PgsKFnBwPWBSFz7
McUAoIBvkyVULBUVxOa30eMdjQzaOLBM
=OiI5
-END PGP SIGNATURE-


[vchkpw] quota limit upto 2gb

2009-07-06 Thread Karpaha Vinayaham
Dear All

   Im using qmailtoaster for 2 years, its running smoothly there is no problem. 
When i implemented quota to all my users, it is found there is a limit of 2GB 
quota.

  Im not using qmailadmin, im using only console - no web interface.

If any one faced this problem, kindly help me .


With Regards
    Vinay




  Love Cricket? Check out live scores, photos, video highlights and more. 
Click here http://cricket.yahoo.com

!DSPAM:4a51d2a932711032619425!


Re: [vchkpw] quota limit upto 2gb

2009-07-06 Thread Matt Brookings
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Karpaha Vinayaham wrote:
  Dear All
 
Im using qmailtoaster for 2 years, its running smoothly there is no
 problem. When i implemented quota to all my users, it is found there is
 a limit of 2GB quota.

Upgrade to the latest development version on SourceForge.
- --
/*
Matt Brookings m...@inter7.com   GnuPG Key FAE0672C
Software developer Systems technician
Inter7 Internet Technologies, Inc. (815)776-9465
*/
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAkpSBPQACgkQIwet2/rgZywHygCfffWhTEPUH4Gy5UbHNF+OtN5b
L9QAniMiFWF6U1jdGOSAKF25PKPBxa4c
=V90Y
-END PGP SIGNATURE-


[vchkpw] quota

2009-06-18 Thread Lampa
Hello,

want to know how about %subject% in version 5.5 (or later), if is
usable for real production.

Need solve problem, that must be some user notification (via email)
that user is over quota, or is near quota (90%, 95%)

Is vpopmail capable of this or should look somewhere else.

Thank you

-- 
Lampa

!DSPAM:4a3a2dff32672013915293!



[vchkpw] Quota Warning - Not working with maildrop

2008-11-18 Thread Polgas
Hi All,

I use maildrop for filtering in our vpopmail setup, my intention is to
autmatically move spam messages to .Spam folder, without losing the
ability of vpopmail to send out quota warning messages.

Here is my .qmail file

[EMAIL PROTECTED] test]# cat .qmail
|preline /usr/local/bin/maildrop /usr/local/etc/mailfilter

I'm using maildrop-2.0.4, compiled with --enable-maildirquota. This works
when a mailbox is overquota, But never sends out a quota warning when
mailbox is at 90% capacity.

Please advise what else I can try.

Pol


!DSPAM:4923a8d932318341789360!



[vchkpw] quota warn message is broken in vpopmail with maildrop support enable

2008-10-13 Thread Alessio Cecchi
Hi,

I'm made many test before write this e-mail, but I think that when I enable 
maildrop support in vpopmail (--enable-maildrop) and I place 
an /etc/maildroprc (like src/vpopmail-5.4.26/maildrop/maildroprc.v2) the 
warning about quota warn message not working.

I'm working in a test environment configured as follow:

shupp.org's toaster

vpopmail 5.4.26 build with this options:
./configure --enable-mysql-limits 
--enable-auth-module=mysql 
--enable-logging=v 
--enable-maildrop

/etc/maildroprc is this 
http://vpopmail.cvs.sourceforge.net/viewvc/vpopmail/vpopmail/maildrop/maildroprc.v2?revision=1.3view=markup
but I also tried with others without success.

When a mailbox reach 90% or more the message ~vpopmail/domains/.quotawarn.msg 
is copied only if maildrop for these user is disable (vmoduser -x 
[EMAIL PROTECTED]), when maildrop support is enable the messagge is not copied 
to 
the user mailbox.

Yes, I delete the file quotawarn in the user Maildir every time.

Can be easily corrected this problem?

Maybe just enough to anticipate the process that check the quota, and copy the 
file, and after running maildrop with maildroprc, but I do not know if I'm 
making a wrong assumption.

Thanks
-- 
Alessio Cecchi is:
@ ILS - http://www.linux.it/~alessice/
Assistenza Sistemi GNU/Linux - http://www.cecchi.biz/
@ PLUG - ex-Presidente, adesso senatore a vita, http://www.prato.linux.it
@ LOLUG - neo-Socio http://www.lolug.net

!DSPAM:48f333e832312229217102!



Re: [vchkpw] quota warn message is broken in vpopmail with maildrop support enable

2008-10-13 Thread Alessio Cecchi
Il Monday 13 October 2008 13:50:27 Jukka Kurkela ha scritto:
 From README.quotas:

     MAILDROP

     If you use maildrop for filtering, compile it with maildirquota support
     if you want to use it with vpopmail 5.1.1 and above with quotas.

 did you compile maildrop with maildirquota supporta?

Yes, in fact over quota works:

It was created by maildrop configure 2.0.4, which was
generated by GNU Autoconf 2.59.  Invocation command line was

  $ ./configure --enable-syslog=1 --enable-maildirquota --prefix=/usr

Ciao
-- 
Alessio Cecchi is:
@ ILS - http://www.linux.it/~alessice/
Assistenza Sistemi GNU/Linux - http://www.cecchi.biz/
@ PLUG - ex-Presidente, adesso senatore a vita, http://www.prato.linux.it
@ LOLUG - neo-Socio http://www.lolug.net

!DSPAM:48f33f1732319257115799!



Re: [vchkpw] quota warn message is broken in vpopmail with maildrop support enable

2008-10-13 Thread Jukka Kurkela
On Mon, 13 Oct 2008 13:41:25 +0200, Alessio Cecchi [EMAIL PROTECTED] wrote:
 Hi,
 
 I'm made many test before write this e-mail, but I think that when I
enable
 
 maildrop support in vpopmail (--enable-maildrop) and I place 
 an /etc/maildroprc (like src/vpopmail-5.4.26/maildrop/maildroprc.v2) the 
 warning about quota warn message not working.
 
 I'm working in a test environment configured as follow:
 
 shupp.org's toaster
 
 vpopmail 5.4.26 build with this options:
 ./configure --enable-mysql-limits 
 --enable-auth-module=mysql 
 --enable-logging=v 
 --enable-maildrop
 
 /etc/maildroprc is this 

http://vpopmail.cvs.sourceforge.net/viewvc/vpopmail/vpopmail/maildrop/maildroprc.v2?revision=1.3view=markup
 but I also tried with others without success.
 
 When a mailbox reach 90% or more the message
 ~vpopmail/domains/.quotawarn.msg 
 is copied only if maildrop for these user is disable (vmoduser -x 
 [EMAIL PROTECTED]), when maildrop support is enable the messagge is not
copied
 to 
 the user mailbox.
 
 Yes, I delete the file quotawarn in the user Maildir every time.
 
 Can be easily corrected this problem?
 
 Maybe just enough to anticipate the process that check the quota, and
copy
 the 
 file, and after running maildrop with maildroprc, but I do not know if
I'm 
 making a wrong assumption.
 
 Thanks


From README.quotas:

MAILDROP

If you use maildrop for filtering, compile it with maildirquota support
if you want to use it with vpopmail 5.1.1 and above with quotas.

did you compile maildrop with maildirquota supporta?

regards,
Jukka Kurkela

!DSPAM:48f335ef32311761212767!



[vchkpw] Quota problem at forwarded email addres

2008-09-27 Thread Bulend Kolay

Hello

I use vpopmail5.4.x on qmail.

Vpopmail's quota option works at normal conditions. But when I add a 
forwarded email account with qmailadmin or manually, quota doesn't work that 
mail account properly.

That email account uses more than its quota amount.

How can I correct that case ?

Thanks 



!DSPAM:48de27b832311806977270!



Re: [vchkpw] Quota Excess Notification

2007-10-26 Thread Kenny Lee

Hi Dhaval,

i have created a file called .quotawarn.msg inside the folder 
/home/vpopmail/domains/ ...

and i also set the permission to vpopmail.vchkpw
-rw-r--r--  1 vpopmail vchkpw  467 Oct 26 13:08 .quotawarn.msg

==Content of the file==
From: Mail Delivery System [EMAIL PROTECTED]
Reply-To: [EMAIL PROTECTED]
To: User:;
Subject: Mail quota warning
Mime-Version: 1.0
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: 7bit

Dear  Mail User,

Your mailbox on the server  is now more than 90% full. So that if you still
want your mailbox able to receive mail, you need to remove some messages
from your mailbox (Delete  Purge messages ).

Thank you

Regards,
System Administrator
== End of Content==

after i have setup all of the things, i tried to push in the mail to hit 90% 
quota, i still unable to get the msg ...


i have read the README.quotas and found that we need to modify the 
vdelivermail.c and re-compile. Do i need to modify the file? i have checked 
the file and below is one of the part related to QUOTA_WARN_PERCENT


===part of the file vdeivermail.c==
if (QUOTA_WARN_PERCENT = 0 
   vmaildir_readquota(address, format_maildirquota(quota))
   = QUOTA_WARN_PERCENT) {
   deliver_quota_warning(address, format_maildirquota(quota));
=

do i need to change the if (QUOTA_WARN_PERCENT = 0  to if 
(QUOTA_WARN_PERCENT = 90 , then re-compile the vpopmail?


THank you

Regards,
Kenny


- Original Message - 
From: Dhaval Thakar [EMAIL PROTECTED]

To: vchkpw@inter7.com
Sent: Friday, October 26, 2007 12:53 PM
Subject: Re: [vchkpw] Quota Excess Notification





Kenny Lee wrote:

Hi Dhaval,

i just need to create the msg file? how about the configuration for 
vpopmail, which to call this msg to send?


dear

just you need to copy this file  set proper permissions,
now try filling up storage of test email account, it should work.

for reference, vpopmail source/README.quotas





Re: [vchkpw] Quota Excess Notification

2007-10-26 Thread Dhaval Thakar






Kenny Lee wrote:
Hi
Dhaval,
  
  
i have created a file called ".quotawarn.msg" inside the folder
"/home/vpopmail/domains/" ...
  
and i also set the permission to vpopmail.vchkpw
  
-rw-r--r-- 1 vpopmail vchkpw 467 Oct 26 13:08 .quotawarn.msg
  
  
==Content of the file==
  
From: Mail Delivery System [EMAIL PROTECTED]
  
Reply-To: [EMAIL PROTECTED]
  
To: User:;
  
Subject: Mail quota warning
  
Mime-Version: 1.0
  
Content-Type: text/plain; charset=iso-8859-1
  
Content-Transfer-Encoding: 7bit
  
  
Dear Mail User,
  
  
Your mailbox on the server is now more than 90% full. So that if you
still
  
want your mailbox able to receive mail, you need to remove some
messages
  
from your mailbox (Delete  Purge messages ).
  
  
Thank you
  
  
Regards,
  
System Administrator
  
== End of Content==
  
  
after i have setup all of the things, i tried to push in the mail to
hit 90% quota, i still unable to get the msg ...
  
  
i have read the README.quotas and found that we need to modify the
vdelivermail.c and re-compile. Do i need to modify the file? i have
checked the file and below is one of the part related to
QUOTA_WARN_PERCENT
  
  
===part of the file "vdeivermail.c"==
  
if (QUOTA_WARN_PERCENT = 0 
  
 vmaildir_readquota(address, format_maildirquota(quota))
  
 = QUOTA_WARN_PERCENT) {
  
 deliver_quota_warning(address,
format_maildirquota(quota));
  
=
  
  
do i need to change the "if (QUOTA_WARN_PERCENT = 0 " to
"if (QUOTA_WARN_PERCENT = 90 ", then re-compile the
vpopmail?
  
  

this should work, this is all i have done in my server. the only diff
is From: Mail Delivery System lt;[EMAIL PROTECTED] in
my file, which should not make any impact

check readme, 
it says
 To change the percentage to something other than
90, edit
 QUOTA_WARN_PERCENT in vdelivermail.c and recompile.









[vchkpw] Quota Excess Notification

2007-10-25 Thread Kenny Lee

Hi all,

i am using qmail + courier imap + vpopmail + qmailadmin for my email server
for my email users, they are using Outlook Express to check the mails from 
my email server (with IMAP) and i have set a email quota for each user.
ok, the question is ... how user can be notified, once they are going to hit 
the max. of quota? can system automatic send an email to user?


Please advise ...

Thank you

Regards,
Kenny 



Re: [vchkpw] Quota Excess Notification

2007-10-25 Thread Dhaval Thakar



Kenny Lee wrote:

Hi all,

i am using qmail + courier imap + vpopmail + qmailadmin for my email 
server
for my email users, they are using Outlook Express to check the mails 
from my email server (with IMAP) and i have set a email quota for each 
user.
ok, the question is ... how user can be notified, once they are going 
to hit the max. of quota? can system automatic send an email to user?


Please advise ...

Thank you

Regards,
Kenny



following is what i use at my end.
save following as /home/vpopmail/domains/..quotawarn.msg  with 
permission vpopmail:vchkpw


From: Mail Delivery System lt;[EMAIL PROTECTED]
Reply-To: [EMAIL PROTECTED]
To: Diskhog User:;
Subject: Mail quota warning
Mime-Version: 1.0
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: 7bit

Dear  Mail User,

Your mailbox on the server  is now more than 90% full. So that you can
continue to receive mail you need to remove some messages from your
mailbox (Delete messages from inbox, sent etc..).

To delete Mails Kindly logon to http://

Regards,






Re: [vchkpw] Quota Excess Notification

2007-10-25 Thread Kenny Lee

Hi Dhaval,

i just need to create the msg file? how about the configuration for 
vpopmail, which to call this msg to send?


thank you

Regards,
Kenny

- Original Message - 
From: Dhaval Thakar [EMAIL PROTECTED]

To: vchkpw@inter7.com
Sent: Friday, October 26, 2007 12:24 PM
Subject: Re: [vchkpw] Quota Excess Notification





Kenny Lee wrote:

Hi all,

i am using qmail + courier imap + vpopmail + qmailadmin for my email 
server
for my email users, they are using Outlook Express to check the mails 
from my email server (with IMAP) and i have set a email quota for each 
user.
ok, the question is ... how user can be notified, once they are going to 
hit the max. of quota? can system automatic send an email to user?


Please advise ...

Thank you

Regards,
Kenny



following is what i use at my end.
save following as /home/vpopmail/domains/..quotawarn.msg  with permission 
vpopmail:vchkpw


From: Mail Delivery System lt;[EMAIL PROTECTED]
Reply-To: [EMAIL PROTECTED]
To: Diskhog User:;
Subject: Mail quota warning
Mime-Version: 1.0
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: 7bit

Dear  Mail User,

Your mailbox on the server  is now more than 90% full. So that you can
continue to receive mail you need to remove some messages from your
mailbox (Delete messages from inbox, sent etc..).

To delete Mails Kindly logon to http://

Regards,









Re: [vchkpw] Quota Excess Notification

2007-10-25 Thread Rick Widmer



Kenny Lee wrote:

Hi Dhaval,

i just need to create the msg file? how about the configuration for 
vpopmail, which to call this msg to send?


README.quotas lines 46-56


Re: [vchkpw] Quota Excess Notification

2007-10-25 Thread Dhaval Thakar



Kenny Lee wrote:

Hi Dhaval,

i just need to create the msg file? how about the configuration for 
vpopmail, which to call this msg to send?


dear

just you need to copy this file  set proper permissions,
now try filling up storage of test email account, it should work.

for reference, vpopmail source/README.quotas


Re: [vchkpw] quota for a domain

2007-06-11 Thread Rakesh Sharma
Hi,

You can give the command for update user quota...

/home/vpopmail/bin/vsetuserquota [EMAIL PROTECTED] 2000m

If you want the same using vadmin then write NOQUOTA (unlimited) in quota 
column.


Regards,

Rakesh Sharma



On Wednesday 06 June 2007 15:36, Franck wrote:
 Hi

 i've a problem with quota support in vpopmail and vqadmin (vqadmin 2.3.6
 and vpopmail 5.4.13)
 Vpopmail config is in MysQl database in limits table.

 I've a domain with 200 account and quota 2000M
 But i can't update quota more than 2000M with vqadmin or directly in the
 limits table (diskquota and defaultquota  int12) :(

 What's the solution ?
 If i put 0 in quota, is 0 like no limit ?

 Regards

 Franck

-- 
__
Rakesh Sharma
Server Admin
IndiaMART InterMESH Limited
(Global Gateway to Indian Market Place)
B-1, Sector 8, Noida, UP - 201301, India
EPABX : +91-120-2424943, +91-9891940069
Ext: 205
Fax: +91-120-2424945
http://www.indiamart.com
http://www.intermesh.net
 


[vchkpw] quota for a domain

2007-06-06 Thread Franck
Hi

i've a problem with quota support in vpopmail and vqadmin (vqadmin 2.3.6
and vpopmail 5.4.13)
Vpopmail config is in MysQl database in limits table.

I've a domain with 200 account and quota 2000M
But i can't update quota more than 2000M with vqadmin or directly in the
limits table (diskquota and defaultquota  int12) :(

What's the solution ?
If i put 0 in quota, is 0 like no limit ?

Regards

Franck
-- 
http://www.linuxpourtous.com



Re: [vchkpw] quota for a domain

2007-06-06 Thread Franck
Hi,

 Hi

 i've a problem with quota support in vpopmail and vqadmin (vqadmin 2.3.6
 and vpopmail 5.4.13)
 Vpopmail config is in MysQl database in limits table.

 I've a domain with 200 account and quota 2000M
 But i can't update quota more than 2000M with vqadmin or directly in the
 limits table (diskquota and defaultquota  int12) :(

 What's the solution ?
 If i put 0 in quota, is 0 like no limit ?

perhaps, i've found ...
Int(12) = -2147483648 - 2147483647
and 2Gb in octet near 20

Can i changed int by bigint in table schema for diskquota and defaultquota ?
Will vpopmail, vqadmin and qmailadmin always work ?

Franck
-- 
http://www.linuxpourtous.com



Re: [vchkpw] quota for a domain

2007-06-06 Thread Michael Johnson
Franck wrote:
 Hi,
 
 Hi

 i've a problem with quota support in vpopmail and vqadmin (vqadmin 2.3.6
 and vpopmail 5.4.13)
 Vpopmail config is in MysQl database in limits table.

 I've a domain with 200 account and quota 2000M
 But i can't update quota more than 2000M with vqadmin or directly in the
 limits table (diskquota and defaultquota  int12) :(

 What's the solution ?
 If i put 0 in quota, is 0 like no limit ?
 
 perhaps, i've found ...
 Int(12) = -2147483648 - 2147483647
 and 2Gb in octet near 20
 
 Can i changed int by bigint in table schema for diskquota and defaultquota ?
 Will vpopmail, vqadmin and qmailadmin always work ?
 
 Franck

It isn't just a database thing, the actual code in the maildir++ patch
and in vpopmail needs to be changed.

From a while back on the list:

** snip **

From: Tom Collins
Date: Mon, 15 Jan 2007 15:32:35 -0800
Subject: Re: [vchkpw] vpopmail max quota of 2GB

On Jan 15, 2007, at 9:29 AM, Iulian Liviu Ionescu wrote:
 It seems that there's a limit in quota at 2GB. What are the options
 available to have mail accounts with more than 4 GB quota?

One options: rewrite the Maildir++ patches for qmail and POP/IMAP
servers, along with vpopmail's quota support code to use a larger
variable type to store the sizes (long long?).  It might be possible
to work around it with a hack of storing message sizes in bytes, but
the total of the sizes (and the user's quota) in KB.  This would get
you up to 2TB quotas.

foreach message_size do {
   bytes += message_size;
   kbytes += bytes / 1024;
   bytes = bytes % 1024;
}

I'm sure that at the time it was written, 2GB seemed like an insane
quota for a mailbox.  Unfortunately it's now a realistic number.

Keep in mind that if you've got 2GB mailboxes, it probably requires
lots of resources to recalculate disk usage.  Consider running a
nightly cronjob that calculates disk usage for all email users and
warns the ones who are over quota.  If they stay over for a certain
period, bill them or turn their account off.

Not a pretty solution, but I'm afraid there's no easy way to support
quotas over 2GB.

** snip **

___
Michael Johnson
System Administrator  [EMAIL PROTECTED]
PhD Computing  http://www.phdcomputing.net/



[vchkpw] Quota Warning message not sent

2007-03-13 Thread Sandeep Agarwal

hello list,

I am having qmr setup, with vpopmail version 5.4.9 (i know its too old
but new versions do not have valias support for pgsql) using pgsql as
the backend. quota warning messages are not sent to the user when he
is at 90% usage nor the message in over-quota is there in the failure
delivery.

my vpopmail compile options are:
./configure --disable-roaming-users --enable-logging=p
--disable-ip-alias-domains --disable-passwd --enable-clear-passwd
--disable-domainquotas --enable-auth-module=pgsql
--disable-many-domains --enable-auth-logging --enable-sql-logging
--enable-valias

have created files .quotawarn.msg and .over-quota.msg in
~vpopmail/domains, the permission are shown below
# ls -l .quotawarn.msg .over-quota.msg
-rw-r--r--1 vpopmail vhckpw   80 Jan 24  2005 .over-quota.msg
-rw-r--r--1 vpopmail vhckpw  621 Aug 10  2005 .quotawarn.msg

.qmail file for every user is
# cat .qmail
|preline /usr/local/bin/maildrop /etc/mailfilter
#

permission for /etc/mailfilter

# ls -l /etc/mailfilter
-rw---1 vpopmail postdrop 6232 Mar 13 12:47 /etc/mailfilter

my /etc/mailfilter script is

--script begins---
SHELL=/bin/sh
import EXT
import HOST
VHOME=`pwd`
TIMESTAMP=`date +%b %d %H:%M:%S`
`test -r $VHOME/.mailfilter`
if( $RETURNCODE == 0 )
{
   exception {
   include $VHOME/.mailfilter
   }
}
`test -e $VHOME/Maildir/maildirsize`
if( $RETURNCODE == 1)
{
   `test -x /home/vpopmail/bin/vuserinfo`
   if ( $RETURNCODE == 0)
   {
   `/home/vpopmail/bin/vuserinfo -Q [EMAIL PROTECTED]
   `test -s $VHOME/Maildir/maildirsize`
   if ( $RETURNCODE == 0 )
   {
   `/usr/sbin/chown vpopmail:vchkpw $VHOME/Maildir/maildirsize`
   `/bin/chmod 640 $VHOME/Maildir/maildirsize`
   }
   }
   else
   {
   }
}
`test -e $VHOME/Maildir/maildirsize`
if( $RETURNCODE == 0)
{
   MAILDIRQUOTA=`/usr/bin/head -n1 $VHOME/Maildir/maildirsize`
}
if ( /^X-Spam-Status: Yes, hits=![0-9]+\.[0-9]+! /:h)
{
   `test -d $VHOME/Maildir/.Spam`
   if( $RETURNCODE == 1 )
   {
   `/usr/local/bin/maildirmake -f Spam $VHOME/Maildir`
   `echo INBOX.Spam  $VHOME/Maildir/courierimapsubscribed`
   }
   `test -x /usr/local/bin/deliverquota`
   if ( $RETURNCODE == 1 )
   {
   exception {
   to $VHOME/Maildir/.Spam
   }
   }
   else
   {
   exception {
   xfilter /usr/local/bin/deliverquota -w 90
$VHOME/Maildir/.Spam
   }
   if ( $RETURNCODE == 0 )
   {
   EXITCODE=0
   exit
   }
   else
   {
   if( $RETURNCODE == 77)
   {
   to |/var/qmail/bin/bouncesaying
'[EMAIL PROTECTED] is over quota'
   }
   else
   {
   to $VHOME/Maildir/.Spam
   }
   }
   }
}
if ( /^X-Spam-Status: No, hits=![\-]*[0-9]+\.[0-9]+! /:h)
{
}
`test -r $VHOME/Maildir/.mailfilter`
if( $RETURNCODE == 0 )
{
   exception {
   include $VHOME/Maildir/.mailfilter
   }
}
`test -x /usr/local/bin/deliverquota`
if ( $RETURNCODE == 1 )
{
   exception {
   to $VHOME/Maildir
   }
}
else
{
   exception {
   xfilter /usr/local/bin/deliverquota -w 90 $VHOME/Maildir
   }
   if( $RETURNCODE == 77)
   {
   to |/var/qmail/bin/bouncesaying '[EMAIL PROTECTED] is over 
quota'
   }
   else
   {
   EXITCODE=0
   exit
   }
}
script ends 


let me know if i am missing something,

Sandeep

!DSPAM:45f66296129296948215338!



Re: [vchkpw] Quota Checking

2005-12-05 Thread tonix (Antonio Nati)


At 05.10 05/12/2005, you wrote:
I have installed
the latest version of the toaster. It works wonderfully, I have
also installed Matts mysql relay patch. However I cannot seem to
get chkuser to actually deny mail based upon Quota checking. I
believe that I need to define a variable in the run script, can anyone
give me any more info on how I might get this to work.

In your chkuser_settings.h you have a line like:
#define CHKUSER_MBXQUOTA_VARIABLE CHKUSER_MBXQUOTA
This line tells you the name of the variable to be used.
Now you can put in your running command an explicit set of the
variable
CHKUSER_MBXQUOTA=95
or put it inside tcp.smtp
:allow,CHKUSER_MBXQUOTA=95
where 95 means 95% of the quota (change it as you
like).
Tonino


Damien





[vchkpw] Quota Checking

2005-12-04 Thread Damien Croarken








I have installed the latest version of the toaster. It
works wonderfully, I have also installed Matts mysql relay patch. However I
cannot seem to get chkuser to actually deny mail based upon Quota checking. I
believe that I need to define a variable in the run script, can anyone give me
any more info on how I might get this to work.



Damien










[vchkpw] Quota Checking

2005-12-04 Thread Damien Croarken








I have installed the latest version of the toaster. It
works wonderfully, I have also installed Matts mysql relay patch. However
I cannot seem to get chkuser to actually deny mail based upon Quota
checking. I believe that I need to define a variable in the run script,
can anyone give me any more info on how I might get this to work.



Damien










Re: [vchkpw] quota problem

2005-08-23 Thread Toshihiko Kyoda

On Mon, 22 Aug 2005 08:49:26 -0700
Tom Collins [EMAIL PROTECTED] wrote:

 On Aug 22, 2005, at 6:58 AM, Riccardo Bini wrote:
  ok.. with 5.4.12 works but not as I would want 8-)
  I mean when vdelivermail deliver the email and the user is over system 
  quota
  vdeliver return a deferral: system_error/.
  vdelivermail would have to return user is over quota with an
  'deliver_quota_warning'. Instead the email keep in queue like an error
  message.
 
 Well, there's a good chance it won't be able to deliver the over quota 
 message if the user has hit their system quota.
 
 I'll take a look at the code, and see if we can catch the system quota 
 error and do an overquota bounce instead of a deferral.


I think that it is a problem of i-node excess when 
a new email file opened.
When a new email file is opened, it is necessary to check EDQUOT.



--- vdelivermail.c.orig Wed Mar 23 15:18:11 2005
+++ vdelivermail.c  Tue Aug 23 23:32:43 2005
@@ -429,6 +429,9 @@

 /* open the new email file */
 if ((write_fd=open(local_file_tmp, O_CREAT|O_RDWR, S_IRUSR|S_IWUSR)) == 
-1) {
+if ( errno == EDQUOT ) {
+return -1;
+}
 printf(can not open new email file errno=%d file=%s\n,
 errno, local_file_tmp);
 return(-2);




Best regards,

-- 
Toshihiko Kyoda [EMAIL PROTECTED]



Re: [vchkpw] quota problem

2005-08-22 Thread Riccardo Bini
Alle 08:33, giovedì 11 agosto 2005, Tom Collins ha scritto:
 On Aug 5, 2005, at 12:14 PM, Riccardo Bini wrote:
  I have vpopmail 5.4.10, /home dir in nfs and quota enabled
  Each virtual domain has a user (vadddomain -u user domain.com) and the
  users
  has a system quota (filesystem quota).
  Well, when a user is over quota the emails are delivered with size 0.
  It's possible to have vdelivermail check system quota for the user and
  bounce
  the email with warnmessage?

 Please test with vpopmail 5.4.12 and let me know if you continue to
 have problems.  I tried to address some issues like that in the
 vdelivermail rewrite, but I may have missed a few cases.

 I'll hold on to your message and try to review the vdelivermail code
 the next time I have an opportunity to work on it.

ok.. with 5.4.12 works but not as I would want 8-)
I mean when vdelivermail deliver the email and the user is over system quota 
vdeliver return a deferral: system_error/.
vdelivermail would have to return user is over quota with an 
'deliver_quota_warning'. Instead the email keep in queue like an error 
message.

Ciao
Rick


Re: [vchkpw] quota problem

2005-08-22 Thread Rick Macdougall

Riccardo Bini wrote:


Alle 08:33, giovedì 11 agosto 2005, Tom Collins ha scritto:
 


On Aug 5, 2005, at 12:14 PM, Riccardo Bini wrote:
   


I have vpopmail 5.4.10, /home dir in nfs and quota enabled
Each virtual domain has a user (vadddomain -u user domain.com) and the
users
has a system quota (filesystem quota).
Well, when a user is over quota the emails are delivered with size 0.
It's possible to have vdelivermail check system quota for the user and
bounce
the email with warnmessage?
 


Please test with vpopmail 5.4.12 and let me know if you continue to
have problems.  I tried to address some issues like that in the
vdelivermail rewrite, but I may have missed a few cases.

I'll hold on to your message and try to review the vdelivermail code
the next time I have an opportunity to work on it.
   



ok.. with 5.4.12 works but not as I would want 8-)
I mean when vdelivermail deliver the email and the user is over system quota 
vdeliver return a deferral: system_error/.
vdelivermail would have to return user is over quota with an 
'deliver_quota_warning'. Instead the email keep in queue like an error 
message.
 


Hi,

Vpopmail currently does not support system quotas.  Something would have 
to be written and added to vpopmail to support that.


Regards,

Rick



Re: [vchkpw] quota problem

2005-08-22 Thread Tom Collins

On Aug 22, 2005, at 6:58 AM, Riccardo Bini wrote:

ok.. with 5.4.12 works but not as I would want 8-)
I mean when vdelivermail deliver the email and the user is over system 
quota

vdeliver return a deferral: system_error/.
vdelivermail would have to return user is over quota with an
'deliver_quota_warning'. Instead the email keep in queue like an error
message.


Well, there's a good chance it won't be able to deliver the over quota 
message if the user has hit their system quota.


I'll take a look at the code, and see if we can catch the system quota 
error and do an overquota bounce instead of a deferral.


--
Tom Collins  -  [EMAIL PROTECTED]
QmailAdmin: http://qmailadmin.sf.net/  Vpopmail: http://vpopmail.sf.net/
You don't need a laptop to troubleshoot high-speed Internet: 
sniffter.com




Re: [vchkpw] quota problem

2005-08-22 Thread Riccardo Bini
Alle 17:49, lunedì 22 agosto 2005, Tom Collins ha scritto:
 On Aug 22, 2005, at 6:58 AM, Riccardo Bini wrote:
  ok.. with 5.4.12 works but not as I would want 8-)
  I mean when vdelivermail deliver the email and the user is over system
  quota
  vdeliver return a deferral: system_error/.
  vdelivermail would have to return user is over quota with an
  'deliver_quota_warning'. Instead the email keep in queue like an error
  message.

 Well, there's a good chance it won't be able to deliver the over quota
 message if the user has hit their system quota.

 I'll take a look at the code, and see if we can catch the system quota
 error and do an overquota bounce instead of a deferral.


Well, if the user is in overquota, generate a overquota bounce but it's 
impossible (I think) to deliver the quota warn message.. but if he is in 
grace time, it's possible to send the quota warn message??

BWT: there is a bug in vdelivermail.c:
the 'domains' dir is incorrect.

I attach the patch. (5.4.12)

Thx
Rick
--- vdelivermail.c.orig 2005-08-22 18:25:41.0 +0200
+++ vdelivermail.c  2005-08-22 18:22:48.0 +0200
@@ -550,7 +550,7 @@
 sprintf(tmp_file, %s/.over-quota.msg,TheDomainDir);
 if ( (fs=fopen(tmp_file, r)) == NULL ) {
 /* if no domain over quota then check in vpopmail dir */
-sprintf(tmp_file, %s/domains/.over-quota.msg,VPOPMAILDIR);
+sprintf(tmp_file, %s/%s/.over-quota.msg,VPOPMAILDIR,DOMAINS_DIR);
 fs=fopen(tmp_file, r);
 }

@@ -580,7 +580,7 @@
 sprintf(tmp_file, %s/.over-quota.msg,TheDomainDir);
 if ( (fs=fopen(tmp_file, r)) == NULL ) {
 /* if no domain over quota then check in vpopmail dir */
-sprintf(tmp_file, %s/domains/.over-quota.msg,VPOPMAILDIR);
+sprintf(tmp_file, %s/%s/.over-quota.msg,VPOPMAILDIR,DOMAINS_DIR);
 fs=fopen(tmp_file, r);
 }

@@ -946,7 +946,7 @@
 sprintf(tmp_file, %s/.no-user.msg,TheDomainDir);
 if ( (fs=fopen(tmp_file, r)) == NULL ) {
 /* if no domain no user then check in vpopmail dir */
-sprintf(tmp_file, %s/domains/.no-user.msg,VPOPMAILDIR);
+sprintf(tmp_file, %s/%s/.no-user.msg,VPOPMAILDIR,DOMAINS_DIR);
 fs=fopen(tmp_file, r);
 }
 if ( fs == NULL ) {
@@ -1016,7 +1016,7 @@
(stat(quotawarnmsg, sb) != 0)) {

 /* if that fails look in vpopmail dir */
-sprintf(quotawarnmsg, %s/domains/.quotawarn.msg, VPOPMAILDIR);
+sprintf(quotawarnmsg, %s/%s/.quotawarn.msg, VPOPMAILDIR, DOMAINS_DIR);
 if ( ((read_fd = open(quotawarnmsg, O_RDONLY))  0) ||
   (stat(quotawarnmsg, sb) != 0)) {
 return 0;



Re: [vchkpw] quota problem

2005-08-11 Thread Tom Collins

On Aug 5, 2005, at 12:14 PM, Riccardo Bini wrote:

I have vpopmail 5.4.10, /home dir in nfs and quota enabled
Each virtual domain has a user (vadddomain -u user domain.com) and the 
users

has a system quota (filesystem quota).
Well, when a user is over quota the emails are delivered with size 0.
It's possible to have vdelivermail check system quota for the user and 
bounce

the email with warnmessage?


Please test with vpopmail 5.4.12 and let me know if you continue to 
have problems.  I tried to address some issues like that in the 
vdelivermail rewrite, but I may have missed a few cases.


I'll hold on to your message and try to review the vdelivermail code 
the next time I have an opportunity to work on it.


--
Tom Collins  -  [EMAIL PROTECTED]
QmailAdmin: http://qmailadmin.sf.net/  Vpopmail: http://vpopmail.sf.net/
You don't need a laptop to troubleshoot high-speed Internet: 
sniffter.com




Re: [vchkpw] quota problem

2005-08-06 Thread Riccardo Bini
Alle 21:44, venerdì 5 agosto 2005, Rick Macdougall ha scritto:
 Riccardo Bini wrote:
 I have vpopmail 5.4.10, /home dir in nfs and quota enabled
 Each virtual domain has a user (vadddomain -u user domain.com) and the
  users has a system quota (filesystem quota).
 Well, when a user is over quota the emails are delivered with size 0.
 It's possible to have vdelivermail check system quota for the user and
  bounce the email with warnmessage?

 Hi,

 Are the actually delivered or do they hang around in the local queue and
 re-try delivery ?  If they are actually being delivered with a 0 file
 size there is a bug in vdelivermail or quota over nfs.

The first. 
Quota over nfs works beacause i tried to create a file with the user over the 
quota and the system denied the operation.

Bye
Rick


[vchkpw] quota problem

2005-08-05 Thread Riccardo Bini
I have vpopmail 5.4.10, /home dir in nfs and quota enabled
Each virtual domain has a user (vadddomain -u user domain.com) and the users 
has a system quota (filesystem quota).
Well, when a user is over quota the emails are delivered with size 0.
It's possible to have vdelivermail check system quota for the user and bounce 
the email with warnmessage?

Bye
Rick



Re: [vchkpw] quota problem

2005-08-05 Thread Rick Macdougall

Riccardo Bini wrote:


I have vpopmail 5.4.10, /home dir in nfs and quota enabled
Each virtual domain has a user (vadddomain -u user domain.com) and the users 
has a system quota (filesystem quota).

Well, when a user is over quota the emails are delivered with size 0.
It's possible to have vdelivermail check system quota for the user and bounce 
the email with warnmessage?
 


Hi,

Are the actually delivered or do they hang around in the local queue and 
re-try delivery ?  If they are actually being delivered with a 0 file 
size there is a bug in vdelivermail or quota over nfs.


Regards,

Rick



[vchkpw] Quota problem

2005-06-08 Thread Marcos Dutra




Hi people,

I have a problem with quota in my server. I put 
50Mb for an users, but the quota don't block the new messages. In qmailadmin, I 
see users with 20Mb usage but in the server with du command I see more than 
70Mb.
Is very strange, the .trash folder dont't enters in 
quota limit, why?
I use Debian 3.1 sarge release with qmailadmin 
1.2.3 and vpopmail 5.4.10

Thanks

Marcos


Re: [vchkpw] Quota Question

2005-03-23 Thread Rick van Vliet
MacConnect Home Office wrote:
Is there a command in vpopmail that I can use to set quota limits on 
every domain on my system?  I don't want to set per account quotas, but 
rather a per domain disk limit.  Is there an easy way to do this, other 
than by modifying each domains' .qmailadmin-limits file?
Thanks



OK, I'm out on a limb here. Would this entry from the quick install 
guide at inter7 make sense?
vsetuserquota( char *user, char *domain, char *quota)
user = user name to change quota for
domain = virtual domain
char = quota in bytes. M/m and K/k abbrieviations apply. 5M 5m and 
500 all equal 5 million bytes hard quota

http://www.inter7.com/vpopmail/vpopmail.html
You can also set a system-wide databyte limit for qmail using the 
/control/databytes file (that you create),
OR
setting the environment variable in tcp.smtp
something like this:
[EMAIL PROTECTED] Maildir]# vi /etc/tcp.smtp
127.0.0.:allow,RELAYCLIENT=,DATABYTES=1000
(restarting qmail to put changes into effect.)

The environment variable overrides the /control/databytes setting if it 
exists.

HTH,
rick



Re: [vchkpw] Quota Question

2005-03-23 Thread Tom Collins
On Mar 23, 2005, at 7:47 AM, Rick van Vliet wrote:
MacConnect Home Office wrote:
Is there a command in vpopmail that I can use to set quota limits on 
every domain on my system?  I don't want to set per account quotas, 
but rather a per domain disk limit.  Is there an easy way to do this, 
other than by modifying each domains' .qmailadmin-limits file?
Thanks
Vpopmail does have domain limits, but AFAIK, they are broken in the 
current release of vpopmail.  I haven't had much time for vpopmail 
development recently, and domain quotas haven't been a high priority 
for me.

--
Tom Collins  -  [EMAIL PROTECTED]
QmailAdmin: http://qmailadmin.sf.net/  Vpopmail: http://vpopmail.sf.net/
You don't need a laptop to troubleshoot high-speed Internet: 
sniffter.com



Re: [vchkpw] Quota Question

2005-03-23 Thread MacConnect Home Office
So is there a way to use vsetuserquota to set quotas on all accounts on 
the system, regardless of their domain?

Also, is there a way to configure vpopmail so that all new accounts 
created have the same quota figure?

Thanks
On Mar 23, 2005, at 8:57 AM, Tom Collins wrote:
On Mar 23, 2005, at 7:47 AM, Rick van Vliet wrote:
MacConnect Home Office wrote:
Is there a command in vpopmail that I can use to set quota limits on 
every domain on my system?  I don't want to set per account quotas, 
but rather a per domain disk limit.  Is there an easy way to do 
this, other than by modifying each domains' .qmailadmin-limits file?
Thanks
Vpopmail does have domain limits, but AFAIK, they are broken in the 
current release of vpopmail.  I haven't had much time for vpopmail 
development recently, and domain quotas haven't been a high priority 
for me.

--
Tom Collins  -  [EMAIL PROTECTED]
QmailAdmin: http://qmailadmin.sf.net/  Vpopmail: 
http://vpopmail.sf.net/
You don't need a laptop to troubleshoot high-speed Internet: 
sniffter.com





Re: [vchkpw] Quota Question

2005-03-23 Thread Tom Collins
On Mar 23, 2005, at 8:11 AM, MacConnect Home Office wrote:
So is there a way to use vsetuserquota to set quotas on all accounts 
on the system, regardless of their domain?
Get a list of domains with `vdominfo -n` and then call vsetuserquota 
with the domain name to update quota for all users in the domain.

Also, is there a way to configure vpopmail so that all new accounts 
created have the same quota figure?
vmoddomlimits -d -q 50M
If you use qmailadmin, you will want to configure it with 
--disable-modify-quota (actually, just make sure you don't modify it), 
otherwise postmasters will be able to change user quotas.

--
Tom Collins  -  [EMAIL PROTECTED]
QmailAdmin: http://qmailadmin.sf.net/  Vpopmail: http://vpopmail.sf.net/
You don't need a laptop to troubleshoot high-speed Internet: 
sniffter.com



Re: [vchkpw] Quota Question

2005-03-23 Thread Tom Collins
On Mar 23, 2005, at 8:30 AM, MacConnect Home Office wrote:
One last question.how can I tell whether qmailadmin is configured 
with the -disable-modify-quota option?
Log in as a postmaster, modify a user and see if it lets you modify the 
quota.

--
Tom Collins  -  [EMAIL PROTECTED]
QmailAdmin: http://qmailadmin.sf.net/  Vpopmail: http://vpopmail.sf.net/
You don't need a laptop to troubleshoot high-speed Internet: 
sniffter.com



Re: [vchkpw] Quota Question

2005-03-23 Thread MacConnect Home Office
It doesn't let me modify the quota, but when I create a new user in 
that domain, it has NOQUOTA.

On Mar 23, 2005, at 12:08 PM, Tom Collins wrote:
On Mar 23, 2005, at 8:30 AM, MacConnect Home Office wrote:
One last question.how can I tell whether qmailadmin is configured 
with the -disable-modify-quota option?
Log in as a postmaster, modify a user and see if it lets you modify 
the quota.

--
Tom Collins  -  [EMAIL PROTECTED]
QmailAdmin: http://qmailadmin.sf.net/  Vpopmail: 
http://vpopmail.sf.net/
You don't need a laptop to troubleshoot high-speed Internet: 
sniffter.com





Re: [vchkpw] Quota Question

2005-03-23 Thread Tom Collins
Then that must be the default for the domain.
On Mar 23, 2005, at 12:46 PM, MacConnect Home Office wrote:
It doesn't let me modify the quota, but when I create a new user in 
that domain, it has NOQUOTA.
--
Tom Collins  -  [EMAIL PROTECTED]
QmailAdmin: http://qmailadmin.sf.net/  Vpopmail: http://vpopmail.sf.net/
You don't need a laptop to troubleshoot high-speed Internet: 
sniffter.com



[vchkpw] Quota issue on automatic move

2004-12-15 Thread Brad Pinkston



I'm a newbie, so I appreciate the responses if 
this is an easy fix. A few clients(college students)are using 
filters in squirrelmail to automatically move spam tagged messages from INBOX to 
a SPAM folder on login. These users will wait for their quota to be 95% 
before cleaning anything out, and if they have this auto move set up when they 
try to login Courier won't allow the move. I apologize if this should be 
addresses on a Courier board, but I was wondering if I could get a quick opinion 
on a fix.
Brad 
PinkstonFirewall/Network AdministratorCheckpoint CCSACentenary 
College of LA(318) 869-5721[EMAIL PROTECTED]


[vchkpw] Quota

2004-09-24 Thread Edward Neville
Hello all,

I am currently using a qmail/vpopmail setup and the vqadmin control panel. I
would like to know a bit more about how the quota system works. I currently
set the 'quota size' to 50,000,000 bytes.

How can I limit the domain's quota to X bytes rather than limiting a user's
disk as I would prefer to have our customers set up a large number of mail
boxes but not letting the domain go over a given size.

--
Regards,
Ed. 


Re: [vchkpw] Quota

2004-09-24 Thread Tom Collins
On Sep 24, 2004, at 6:02 AM, Edward Neville wrote:
How can I limit the domain's quota to X bytes rather than limiting a 
user's
disk as I would prefer to have our customers set up a large number of 
mail
boxes but not letting the domain go over a given size.
Vpopmail has domain quotas, but they're broken.  Even if/when they do 
work, they add a lot of load since vdelivermail has to calculate the 
domain's disk usage every time a message is delivered.

I didn't write the original implementation, I don't use them myself, 
and I'm not particularly interested in finding the problem and fixing 
it.

--
Tom Collins  -  [EMAIL PROTECTED]
QmailAdmin: http://qmailadmin.sf.net/  Vpopmail: http://vpopmail.sf.net/
Info on the Sniffter hand-held Network Tester: http://sniffter.com/


RE: [vchkpw] Quota

2004-09-24 Thread Edward Neville
 -Original Message-
 From: Tom Collins [mailto:[EMAIL PROTECTED] 
 Sent: 24 September 2004 15:02
 To: [EMAIL PROTECTED]
 Subject: Re: [vchkpw] Quota
 
 Vpopmail has domain quotas, but they're broken.  Even if/when they do 
 work, they add a lot of load since vdelivermail has to calculate the 
 domain's disk usage every time a message is delivered.
 
 I didn't write the original implementation, I don't use them myself, 
 and I'm not particularly interested in finding the problem and fixing 
 it.

Ok! I have a large number of domains to administer (6000 ish). I Just
stumbled upon the high disk usage that one domain had through having many
accounts of 50meg mailboxes.

Would a quota filesystem be a big overhead? If not, can you suggest a
implementation for locking a domain to a quota?

If you have any questions or queries please let me know.

--
Regards,
Ed. 


RE: [vchkpw] Quota

2004-09-24 Thread Rainer Duffner
Am Fr, den 24.09.2004 schrieb Edward Neville um 17:34:
  -Original Message-
  From: Tom Collins [mailto:[EMAIL PROTECTED] 
  Sent: 24 September 2004 15:02
  To: [EMAIL PROTECTED]
  Subject: Re: [vchkpw] Quota
  
  Vpopmail has domain quotas, but they're broken.  Even if/when they do 
  work, they add a lot of load since vdelivermail has to calculate the 
  domain's disk usage every time a message is delivered.
  
  I didn't write the original implementation, I don't use them myself, 
  and I'm not particularly interested in finding the problem and fixing 
  it.
 
 Ok! I have a large number of domains to administer (6000 ish). I Just
 stumbled upon the high disk usage that one domain had through having many
 accounts of 50meg mailboxes.

Hehe. I've now created a little script:

[EMAIL PROTECTED] cat /root/bin/top50.sh
#!/bin/sh
/root/bin/space.sh |sort -u|xargs du -d 0|sort -n -r |head -n 50

where space.sh contains:

#!/bin/sh
 for i in  `~vpopmail/bin/vdominfo -n | egrep -v ^$`
  do
 ~vpopmail/bin/vuserinfo -d -D $i
  done

That should at least match the topX accounts.
I don't know how well it scales, though. 

 Would a quota filesystem be a big overhead? If not, can you suggest a
 implementation for locking a domain to a quota?

OS Quotas is the only way to go, I'm told. 

 If you have any questions or queries please let me know.


I think you must create am OS-group and add the new domain with -g
GID_of_the_new_group.
Then you can use group-quotas to limit the disk-usage of the files of
this particular group.

 
I still have to try this myself- the problem is, there's no GUI to do
that, vqadmin doesn't handle GIDs. 



Rainer
-- 
===
~ Rainer Duffner - [EMAIL PROTECTED] ~
~   Freising - Munich - Germany   ~
~Unix - Linux - BSD - OpenSource - Security   ~
~  http://www.ultra-secure.de/~rainer/pubkey.pgp  ~
===



[vchkpw] Quota Question

2004-09-09 Thread Matthew Walker
I just converted my vpopmail install to use MySQL in preparation for
setting up a nice admin screen for my users, and noticed something.

Some of my users have a rather odd quota setting, while others have
what looks right.

Normal: 1
Odd: 3000,1000C

What's up with the second one? I can't find any documentation about
that syntax anywhere. Is it valid? And if so, what does it mean.

Thanks!


Re: [vchkpw] Quota Question

2004-09-09 Thread Tom Collins
On Sep 9, 2004, at 8:42 AM, Matthew Walker wrote:
Some of my users have a rather odd quota setting, while others have
what looks right.
Normal: 1
Odd: 3000,1000C
What's up with the second one? I can't find any documentation about
that syntax anywhere. Is it valid? And if so, what does it mean.
The second one should be 3000S,1000C.  S=size, C=count.  So the 
limit is 30,000,000 bytes or 1000 messages, whichever comes first.

--
Tom Collins  -  [EMAIL PROTECTED]
QmailAdmin: http://qmailadmin.sf.net/  Vpopmail: http://vpopmail.sf.net/
Info on the Sniffter hand-held Network Tester: http://sniffter.com/


Re: [vchkpw] Quota Question

2004-09-09 Thread Matthew Walker
Ahha. Thanks for filling me in on that. I would guess it probably
assumes a number is 'S' if it isn't specified, so that syntax would
still be valid.

At least now I know I'm not going crazy. ;)

On Thu, 9 Sep 2004 09:18:14 -0700, Tom Collins [EMAIL PROTECTED] wrote:
 On Sep 9, 2004, at 8:42 AM, Matthew Walker wrote:
  Some of my users have a rather odd quota setting, while others have
  what looks right.
 
  Normal: 1
  Odd: 3000,1000C
 
  What's up with the second one? I can't find any documentation about
  that syntax anywhere. Is it valid? And if so, what does it mean.
 
 The second one should be 3000S,1000C.  S=size, C=count.  So the
 limit is 30,000,000 bytes or 1000 messages, whichever comes first.
 
 --
 Tom Collins  -  [EMAIL PROTECTED]
 QmailAdmin: http://qmailadmin.sf.net/  Vpopmail: http://vpopmail.sf.net/
 Info on the Sniffter hand-held Network Tester: http://sniffter.com/
 



Re: [vchkpw] Quota Question

2004-09-09 Thread Rainer Duffner
Am Do, den 09.09.2004 schrieb Tom Collins um 18:18:
 On Sep 9, 2004, at 8:42 AM, Matthew Walker wrote:
  Some of my users have a rather odd quota setting, while others have
  what looks right.
 
  Normal: 1
  Odd: 3000,1000C
 
  What's up with the second one? I can't find any documentation about
  that syntax anywhere. Is it valid? And if so, what does it mean.
 
 The second one should be 3000S,1000C.  S=size, C=count.  So the 
 limit is 30,000,000 bytes or 1000 messages, whichever comes first.

Hm. BTW: how do I set these in qmailadmin ?


Rainer
-- 
===
~ Rainer Duffner - [EMAIL PROTECTED] ~
~   Freising - Munich - Germany   ~
~Unix - Linux - BSD - OpenSource - Security   ~
~  http://www.ultra-secure.de/~rainer/pubkey.pgp  ~
===



Re: [vchkpw] Quota Question

2004-09-09 Thread Matthew Walker
QmailAdmin doesn't seem to handle Message Count quotas. At least, my
version doesn't, and I'm pretty sure it's got everything turned on. ;)

I did have one more question.

Does vpopmail+mysql properly support per-domain quotas?


On Thu, 09 Sep 2004 19:01:34 +0200, Rainer Duffner
[EMAIL PROTECTED] wrote:
 Am Do, den 09.09.2004 schrieb Tom Collins um 18:18:
  On Sep 9, 2004, at 8:42 AM, Matthew Walker wrote:
   Some of my users have a rather odd quota setting, while others have
   what looks right.
  
   Normal: 1
   Odd: 3000,1000C
  
   What's up with the second one? I can't find any documentation about
   that syntax anywhere. Is it valid? And if so, what does it mean.
 
  The second one should be 3000S,1000C.  S=size, C=count.  So the
  limit is 30,000,000 bytes or 1000 messages, whichever comes first.
 
 Hm. BTW: how do I set these in qmailadmin ?
 
 Rainer
 --
 ===
 ~ Rainer Duffner - [EMAIL PROTECTED] ~
 ~   Freising - Munich - Germany   ~
 ~Unix - Linux - BSD - OpenSource - Security   ~
 ~  http://www.ultra-secure.de/~rainer/pubkey.pgp  ~
 ===
 



Re: [vchkpw] Quota Question

2004-09-09 Thread Tom Collins
On Sep 9, 2004, at 10:42 AM, Matthew Walker wrote:
QmailAdmin doesn't seem to handle Message Count quotas. At least, my
version doesn't, and I'm pretty sure it's got everything turned on. ;)
Correct.  You might be able to enter 100S,1000C in the quota field 
and have it processed correctly, but there isn't any native support.

I did have one more question.
Does vpopmail+mysql properly support per-domain quotas?
No, it's broken.  It used to cause crashes, now it just doesn't work.
--
Tom Collins  -  [EMAIL PROTECTED]
QmailAdmin: http://qmailadmin.sf.net/  Vpopmail: http://vpopmail.sf.net/
Info on the Sniffter hand-held Network Tester: http://sniffter.com/


Re: [vchkpw] Quota Question

2004-09-09 Thread Matthew Walker
Darn. Any chance of it being supported in the future, or has it just
been decided to let that be handled by OS quotas?


On Thu, 9 Sep 2004 17:40:47 -0700, Tom Collins [EMAIL PROTECTED] wrote:
 On Sep 9, 2004, at 10:42 AM, Matthew Walker wrote:
  QmailAdmin doesn't seem to handle Message Count quotas. At least, my
  version doesn't, and I'm pretty sure it's got everything turned on. ;)
 
 Correct.  You might be able to enter 100S,1000C in the quota field
 and have it processed correctly, but there isn't any native support.
 
  I did have one more question.
 
  Does vpopmail+mysql properly support per-domain quotas?
 
 No, it's broken.  It used to cause crashes, now it just doesn't work.
 
 
 
 --
 Tom Collins  -  [EMAIL PROTECTED]
 QmailAdmin: http://qmailadmin.sf.net/  Vpopmail: http://vpopmail.sf.net/
 Info on the Sniffter hand-held Network Tester: http://sniffter.com/
 



Re: [vchkpw] Quota Question

2004-09-09 Thread Tom Collins
On Sep 9, 2004, at 5:50 PM, Matthew Walker wrote:
Darn. Any chance of it being supported in the future, or has it just
been decided to let that be handled by OS quotas?
If you really want it, and can't code it yourself, you'll have to wait 
until someone else (who can code it) really wants it and has the time 
to code it.

Of, if you have a serious need for it, you could sponsor the feature's 
development.

--
Tom Collins  -  [EMAIL PROTECTED]
QmailAdmin: http://qmailadmin.sf.net/  Vpopmail: http://vpopmail.sf.net/
Info on the Sniffter hand-held Network Tester: http://sniffter.com/


[vchkpw] Quota problems

2004-08-02 Thread Dave Kettmann
Hello all,

I have looked thru the archiveof this list and tried to find a solution to my problem. 
I have tried what I could find and will go thru that, but have not been able to find a 
solution yet.

Im running qmail, vchkpw, and sqwebmail. I have a few domains that are not reporting 
mailsize properly. In looking thru the list, I found one solution to be deleteing the 
maildirsize file every night thru a cron job. I have tried this, but it still does not 
seem to work. I am using vpopmail v 5.2.1, and qmail 1.03. If any other information is 
needed, please let me know.

Thanks,

Dave Kettmann
NetLogic
636-561-0680


Re: [vchkpw] Quota problems

2004-08-02 Thread Dheeraj MS
Dave Kettmann wrote:
 I have a few domains that are not
 reporting mailsize properly. In looking thru the list, I found one
 solution to be deleteing the maildirsize file every night thru a cron job.
 I have tried this, but it still does not seem to work. I am using vpopmail
 v 5.2.1, and qmail 1.03. If any other information is needed, please let me
 know.

After deleting 'maildirsize' file, i guess you need to run 'maildirmake'.
For a particular user, if i come across quota shown uncorrectly, usually
never happens, i've seen it happen when i moved into the new mail server
and dumped his mails from old server to new server, then, i delete his
'maildirsize' file and run the following command from his directory and
allocate him 20 MB mailbox, for example.

maildirmake -q 2000S ./Maildir/

Your problem is not w.r.t. user but w.r.t. domains. Something similar to
above i feel. Have you set quota for those domains properly? You can set
quota using vQadmin also. quota support enabled and it is/was working
properly? FYI, am using vpopmail 5.5.0 and netqmail-1.05 with
qmailadmin-1.21.

Dheeraj.



NIE Mail Server authenticates that this mail has been sent from its own 
domain and is not spoofed by any mass mailing internet worm.
admin.AT.nie.ac.in



Re: [vchkpw] Quota is not working

2004-06-03 Thread X-Istence
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Joao Rechena wrote:
 Greetings,
 I have several accounts on one domain, every one with quota and working
 fine, but I have this mailbox that the quota is not working, it stayed
 on the 48% of usage and the mail keeps increasing, the quota is 50MB and
 it already goes on the 100MB
 Did anyone had this problem before ?
 Thank you for your help.

 Vpopmail version 5.2.2
 --
 Joao Rechena
 mailto:[EMAIL PROTECTED]
 http://ispower.org
 =
 Have no phear I is here

Try removing the quota file for the user, and then sending it a mail and
see if it is updated. If it is, then there you go, if not, then i have
no clue.

I do know for a fact though that quota has never really worked on any of
the servers i used it on, so instead i enforce file system quota's.
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.4 (FreeBSD)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFAv/mPJukONu5DUaQRAlJKAJ9nXX41TloQQ3OwA2OV0Lr7JA9AAACfapFE
bHKhnrI4tfNHvkeT2aqqKTQ=
=LdZv
-END PGP SIGNATURE-


[vchkpw] Quota is not working

2004-05-30 Thread Joao Rechena
Greetings,
I have several accounts on one domain, every one with quota and working 
fine, but I have this mailbox that the quota is not working, it stayed on 
the 48% of usage and the mail keeps increasing, the quota is 50MB and it 
already goes on the 100MB 

Did anyone had this problem before ? 

Thank you for your help. 

Vpopmail version 5.2.2 

--
Joao Rechena
mailto:[EMAIL PROTECTED]
http://ispower.org
=
Have no phear I is here 


[vchkpw] Quota

2004-02-20 Thread Raymond Luong
HiI'm using vpopmail 5.3.14, squirrelmail,
courier-imapI enable 20 meg quota for all account but it seem the
quota will not include the trash and sent folder. I will have account will
90 meg but the quota bar still show its within quota, and thats because
the inbox is within quota. Its all the trash mail. I set vpopmail
qmailadmin to purge the trash folder every 7 days. I would still like the
quota to include the trash and sent folder. Anyone know how i can set it
that way.Raymond


Re: [vchkpw] Quota question: (Qmail + Vpopmail + Courier-imap) with maildir quota.

2003-10-16 Thread Kuan Yik
Title: 



Hi Steven,

Thanks. Yes, you were rite. When I type 
thevuserinfo, it is re-calculate the whole directory. But, I have figure 
out something after this. 

As you know the vuserinfo will re-generate the 
maildirsize file once the maildirsize file not exits with the latest file size. 
So, let say if I have created a folder by using IMAP, then move the email 
message into the folder and it will append the negative into the maildirsize 
file. After that, if I delete or any other reason that the maildirsize deleted 
and run the vuserinfo again, the vuserinfo will actually regenerate the 
maildirsize again with the latest file size. Then, I delete the whole folder by 
using IMAPit won't append the negative into the maildirsize. So, I will 
get the wrong quota status. 

For example:

1. New message come into mail server. Appened the 
mail size into maildirsize file.

5242880S0 02536958 1

Do vuserinfo then give 48% used.

2. Create a folder and move the message into the 
folder by using IMAP.

5242880S0 02536958 
12536958 1-2536958 -1

Do vuserinfo then give 48% used. 

3. Delete the maildirsize file and run vuserinfo. 
Then it will re-generate the maildirsize file show below.

5242880S0 02536958 1

Do vuserinfo then give 48% used.

So, from step 1 to step 3 still provide the correct 
quota usage. But, after the the vuserinfo re-generate the maildirsize file and I 
delete the message by using IMAP it won't update 
the maildirsize. In the maildirsize still remain the same amount in step 
3.

5242880S0 02536958 1

Here, I do the vuserinfo again then it is still 
provide me the 48% used. In fact there is already no any message inside the 
maildir.

Is it a bug or the quota calculation not 
intelligent enough to re-calculate? That's mean the maildirsize file cannot been 
removed, else we will get the wrong quota usage?

Hope you can understand my poor 
explaination.

KY.

  - Original Message - 
  From: 
  steven 
  To: 'Kuan Yik' ; [EMAIL PROTECTED] 
  
  Sent: Thursday, October 16, 2003 12:47 
  PM
  Subject: RE: [vchkpw] Quota question: 
  (Qmail + Vpopmail + Courier-imap) with maildir quota.
  
  I dont 
  think it will happen. Check the function count_dir(char *dir_name) in source 
  file vqmaillocal.c. It walk around the maildir and sum all file size in this 
  dir.
  
  
   
  Steven Zhuang 
   
  
  Beijing Advantage Software Limited
  http://www.adyzsoftware.com 
  
   
  
  
  Room 3010 Deshengyuan Business 
  Center 
  Tel:86-10-62374916 
  No.11 Dongbinhe Road 
  Deshengmen 
  FAX:86-10-62374724 
  Xicheng 
  District 
  Mail:[EMAIL PROTECTED]
  Beijing 
  100011,PRC 
  
  
  


RE: [vchkpw] Quota question: (Qmail + Vpopmail + Courier-imap) with maildir quota.

2003-10-16 Thread steven
Title: 



Yes! You are 
quite right. But when new email coming vpopmail will recaculate the quota. So 
dont worry about it! No users can save their files or mail over quota. Its a 
harmless bug.


 
Steven Zhuang 
 

Beijing Advantage Software Limited
http://www.adyzsoftware.com 

 


Room 3010 Deshengyuan Business 
Center 
Tel:86-10-62374916 
No.11 Dongbinhe Road 
Deshengmen 
FAX:86-10-62374724 
Xicheng 
District 
Mail:[EMAIL PROTECTED]
Beijing 
100011,PRC 



 


  


Re: [vchkpw] Quota question: (Qmail + Vpopmail + Courier-imap) with maildir quota.

2003-10-16 Thread Kuan Yik
Title: 



Hi Steven,

I Just figure out another problem that cause the 
quota not correct. It is about the sub folder created by IMAP. By default for 
IMAP, it will have the INBOX. And I create a sub-folder call "testing" under 
INBOX. Then, I create another sub-folder again under the "testing" call 
"testing2"

So will be like this

INBOX
-testing
--tesing2
---testing3

Then, I move the email message to testing3. And I 
delete the sub-folder testing1. So, all the sub-folder will be 
removed.

But, after removed all the sub-folder I can still 
see ( .testing.testing1.testing2.testing3) in the maildir folder...it mean the 
imap did not successfully removed all the sub-folder. So, this will cause the 
quota calculation not corect too.

Is this a bug too? Or am I need to apply any 
patches?I am using Outlook express to create the sub-folder and delete 
folder.



  - Original Message - 
  From: 
  steven 
  To: 'Kuan Yik' ; [EMAIL PROTECTED] 
  
  Sent: Thursday, October 16, 2003 4:20 
  PM
  Subject: RE: [vchkpw] Quota question: 
  (Qmail + Vpopmail + Courier-imap) with maildir quota.
  
  Yes! You are 
  quite right. But when new email coming vpopmail will recaculate the quota. So 
  dont worry about it! No users can save their files or mail over quota. Its a 
  harmless bug.
  
  
   
  Steven Zhuang 
   
  
  Beijing Advantage Software Limited
  http://www.adyzsoftware.com 
  
   
  
  
  Room 3010 Deshengyuan Business 
  Center 
  Tel:86-10-62374916 
  No.11 Dongbinhe Road 
  Deshengmen 
  FAX:86-10-62374724 
  Xicheng 
  District 
  Mail:[EMAIL PROTECTED]
  Beijing 
  100011,PRC 
  
  
  
   
  
  



RE: [vchkpw] Quota question: (Qmail + Vpopmail + Courier-imap) with maildir quota.

2003-10-16 Thread steven
Title: 



Maybe this 
bugcome from imap. I replay your procedure and find the same problem. Try 
the newest version of couries-imapd, I have not learn its source code. 



[vchkpw] Quota question: (Qmail + Vpopmail + Courier-imap) with maildir quota.

2003-10-15 Thread Kuan Yik



Hi!

I am not sure am I posting to the rite mailing list 
to ask this question.

Currently, I am using only Qmail + Vpopmail + Mysql 
to provide pop3 and smtp. And, wat I understand that they are using the maildir 
to store email message in /home/vpopmail/domain/abc.com/user/Maildir/new cur tmp 
.And , the file maildirsize is use for the quota status. Everything work fine 
for me now.

Now I am interesting on the courier-imap is because 
I want to use some webmail that support imap. So, I have tried to configure my 
mail server to support courier-imap as well, and it is working fine so far. The 
only problem is the quota control. 

I deleteemail message by using imap 
isfine. It will update the maildirsize file.But, I notice that I am 
also ablet o create folder by using Imap into the mairdir. Ihave tried to 
createa test folder call"testing123" by using imap. Then, 
itwill create a directorycall ".testing123" in the Maidir/ which 
thisfolder donot update the maildirsize file. This is the major 
problem. Coz,user can create any folderand saved all the message 
into that folder andit will not update the maildirsize file mean the 
server will not count the quotacorrectly. 

Anyone have any idea how to solve this problem? Is 
possible to disable the create folder feature on the imap 
server?Orwhat else I can do that make the imap will update the 
maildirsize filewhen creating a newfolder. Orany 
alternativeway todo that to handle the quota by using 
imap?

Regards,
KY.


RE: [vchkpw] Quota question: (Qmail + Vpopmail + Courier-imap) with maildir quota.

2003-10-15 Thread steven
Title: 



I dont 
think it will happen. Check the function count_dir(char *dir_name) in source 
file vqmaillocal.c. It walk around the maildir and sum all file size in this 
dir.


 
Steven Zhuang 
 

Beijing Advantage Software Limited
http://www.adyzsoftware.com 

 


Room 3010 Deshengyuan Business 
Center 
Tel:86-10-62374916 
No.11 Dongbinhe Road 
Deshengmen 
FAX:86-10-62374724 
Xicheng 
District 
Mail:[EMAIL PROTECTED]
Beijing 
100011,PRC 





Re: [vchkpw] Quota problems

2003-10-13 Thread Franck
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

 `rm user/Maildir/maildirsize`

 after you have changed the quota.

 send that user an email, then check if the quota is fixed.

 If yes, then vqadmin is not deleting the old maildirsize file when changing
 quotas, which it should.

Works fine, thanks :)

Regards

  -BEGIN PGP SIGNED MESSAGE-
  Hash: SHA1
 
  Hello all,
 
  I have problem with quota on vqadmin 2.3.4 and vpopmail 5.3.9
 
  The domain name my_domain.com have 1 bytes (~100 Mo) for quota
  In this domain, i have 5 users who are 1 bytes too. I have
  updated all
  users from 10 Mo to 100 Mo.
 
  But, when i'm logging in sqwebmail with one of user account, sqwebmail
  tell me
  that's the account have 49%.
 
  df -h  ~vpopmail/domians/my_domain.com/my_user = 7.7 Mo :(
 
  What's the solution ?
 
  Regards
  - --
  Franck
 
  http://www.linuxpourtous.com
  -BEGIN PGP SIGNATURE-
  Version: GnuPG v1.2.3 (GNU/Linux)
 
  iD8DBQE/iZkK1zwfep5k9qERAr82AKCpWs11BzcqFnzXXZHl2uvEOv9pFwCfUOUc
  n/f+X6UmfZUdAkbRh1k0TMs=
  =DjZN
  -END PGP SIGNATURE-

- -- 
Franck

http://www.linuxpourtous.com
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.3 (GNU/Linux)

iD8DBQE/imD71zwfep5k9qERAu3jAJ42jY5JFZBX216Qhr/a8tJaulrIJgCgqJMh
PXGYpzl5+bhDO1F3rRGmxNI=
=7s1G
-END PGP SIGNATURE-




[vchkpw] Quota problems

2003-10-12 Thread Franck
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Hello all,

I have problem with quota on vqadmin 2.3.4 and vpopmail 5.3.9

The domain name my_domain.com have 1 bytes (~100 Mo) for quota
In this domain, i have 5 users who are 1 bytes too. I have updated all 
users from 10 Mo to 100 Mo.

But, when i'm logging in sqwebmail with one of user account, sqwebmail tell me 
that's the account have 49%.

df -h  ~vpopmail/domians/my_domain.com/my_user = 7.7 Mo :(

What's the solution ?

Regards
- -- 
Franck

http://www.linuxpourtous.com
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.3 (GNU/Linux)

iD8DBQE/iZkK1zwfep5k9qERAr82AKCpWs11BzcqFnzXXZHl2uvEOv9pFwCfUOUc
n/f+X6UmfZUdAkbRh1k0TMs=
=DjZN
-END PGP SIGNATURE-




Re: [vchkpw] Quota problems

2003-10-12 Thread Tim Hasson
`rm user/Maildir/maildirsize`

after you have changed the quota.

send that user an email, then check if the quota is fixed.

If yes, then vqadmin is not deleting the old maildirsize file when changing 
quotas, which it should.

Regards,
Tim


Quoting Franck [EMAIL PROTECTED]:

 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA1
 
 Hello all,
 
 I have problem with quota on vqadmin 2.3.4 and vpopmail 5.3.9
 
 The domain name my_domain.com have 1 bytes (~100 Mo) for quota
 In this domain, i have 5 users who are 1 bytes too. I have updated
 all 
 users from 10 Mo to 100 Mo.
 
 But, when i'm logging in sqwebmail with one of user account, sqwebmail tell
 me 
 that's the account have 49%.
 
 df -h  ~vpopmail/domians/my_domain.com/my_user = 7.7 Mo :(
 
 What's the solution ?
 
 Regards
 - -- 
 Franck
 
 http://www.linuxpourtous.com
 -BEGIN PGP SIGNATURE-
 Version: GnuPG v1.2.3 (GNU/Linux)
 
 iD8DBQE/iZkK1zwfep5k9qERAr82AKCpWs11BzcqFnzXXZHl2uvEOv9pFwCfUOUc
 n/f+X6UmfZUdAkbRh1k0TMs=
 =DjZN
 -END PGP SIGNATURE-
 
 

 



[vchkpw] Quota problem: negative values in Maildir/maildirsize

2003-09-09 Thread Tim Hasson
Hi,

I am using vpopmail-5.2.1, courier-imap-2.0, qmail-1.03. I use both courier-
imapd and courier-pop3d instead of qmail-pop3d.

A few days after I migrated my users from an old mail server to my new nfs 
server, users started getting weird quota reulsts on the webmail quota.
vuserinfo reported 0% for the usage although du -sh on the user's maildir 
reported about 3-4 megs. Looking at maildirsize, there was many lines with 
negative values.
telnetting to the imapserver 143, logging in as the user, and issuing a001 
getquota ROOT I get also negative USAGE value.

While googling for something related to this problem, I found only one post:
http://www.geocrawler.com/archives/3/3723/2002/2/350/7883526/

Mr Sam said:
-
This can happen if mail gets delivered to a mailbox by a delivery agent that 
does not update the quota tracker. 
Solution: use deliverquota or maildrop to deliver mail, and make sure that 
the quota is correctly specified.
-

This is not the problem for me however. The only programs that deliver to 
maildirs are vdelivermail, maildrop (both compiled with maildirquota support), 
and qmail-local. I know qmail-local doesn't support maildirquota++ but this 
never was a problem, and I confimed it's not the one causing the problem (read 
below).

So looking at the maildirsize file in the maildirs of users having the 
problem, they all had negative values. So I wrote a little shell script (see 
at the end of this message) that finds those mailboxes with bad maildirsize 
files, deletes them, runs /home/vpopmail/bin/vuserinfo -Q [EMAIL PROTECTED] on 
the accounts for which the maildirsize was deleted to recreate it, and then 
sets the proper permission (uid/gid vpopmail/vchkpw).

This solved the problem. Sending mail from local domain to another local 
domain, or from a remote domain to a local domain both seem to reflect the 
_correct_ size now, and instantaneously.
Therefore it's not qmail-local?

I am suspecting it could be that the file sizes changed slightly when moved 
over to the nfs server on a ext3 partition with a 4096 blocksize. The 
filesystem on the old mailserver was ext2 and default blocksize (redhat 6.2).

Could this possibly confuse courier-imap and cause it to put negatives in 
maildirsize? or is it vdelivermail that was confused?

Any thoughts, ideas?

Best Regards,
Tim Hasson


Here is the script I used to fix the maildirsize files:


#!/bin/sh

echo [*] Finding maildirsize files...
sizes=`find domains -name maildirsize`

echo [*] Finding bad maildirsize files and saving them in badmaildirsize.tmp

rm badmaildirsize.tmp

for i in $sizes; do
   if [ ! -z `grep - $i | head -1` ]; then
  echo $i  badmaildirsize.tmp
   fi
done

echo [*] Creating [EMAIL PROTECTED] list for whom we recreate maildirsize

rm mailboxdir.tmp

# get domain.com/user from domain/domain.com/user/Maildir/maildirsize
   sed s/domains.//g badmaildirsize.tmp | \
 sed s/.Maildir.maildirsize//g  mailboxdir.tmp

rm fixemail.tmp

#  change domain.com/user to [EMAIL PROTECTED]
mailboxlist=`cat mailboxdir.tmp`
for mailbox in $mailboxlist; do
   username=`echo $mailbox | sed s#.*/##`
   domainname=`echo $mailbox | sed s#/.*##`
   echo [EMAIL PROTECTED]  fixemail.tmp
done

rm mailboxdir.tmp # we dont need it anymore

echo [*] Deleting bad maildirsize files
deletelist=`cat badmaildirsize.tmp`
for maildirsize in $deletelist; do
   rm $maildirsize
done

echo [*] Recreating deleted maildirsize files
addresses=`cat fixemail.tmp`
for emailaddress in $addresses; do
   /home/vpopmail/bin/vuserinfo -Q $emailaddress
done

echo [*] Setting owner/group vpopmail/vchkpw on maildirsize files
newmaildirsizefiles=`cat badmaildirsize.tmp`
for newmaildirsize in $newmaildirsizefiles; do
   chown vpopmail:vchkpw $newmaildirsize
done




[vchkpw] Fwd: [ ABU1063161914072 ] [vchkpw] Quota problem: negative values in Maildir/maildirsize

2003-09-09 Thread Tim Hasson
I am getting weird messages from some of the subscribers on vchkpw list when I 
post to the list ([EMAIL PROTECTED])

Below are two examples.


- Forwarded message from Gail Davis [EMAIL PROTECTED] -
Date: Tue, 09 Sep 2003 19:47:51 -0700
From: Gail Davis [EMAIL PROTECTED]
Reply-To: [EMAIL PROTECTED]
 Subject: Re: [vchkpw] Quota problem: negative values in
Maildir/maildirsize (Relocating)
  To: [EMAIL PROTECTED]

Hi

My office space has been relocated. I will be in temporary office space until 
November 1, 2003. The temporary office space will not have phone lines or e-
mail access. I will be receiving phone calls on my cell phone (559) 908-5685. 
I will be checking my e-mail but my access to it will be intermittent. I'm 
sorry for any inconvenience this may cause. Thanks for your patience. 

Gail 

- End forwarded message -



Second message claiming I was reported for spamming:

- Forwarded message from Prodigy Abuse Department [EMAIL PROTECTED] --
---
Date: Tue, 9 Sep 2003 21:45:32 -0500 (CDT)
From: Prodigy Abuse Department [EMAIL PROTECTED]
Reply-To: Prodigy Abuse Department [EMAIL PROTECTED]
 Subject: [ ABU1063161914072 ] [vchkpw] Quota problem: negative values in 
Maildir/maildirsize
  To: Tim Hasson [EMAIL PROTECTED]


 Thank you for writing to SBC Internet Services Policy Group. 
We apologize for the inconvenience you have experienced. This is an auto-
generated response designed to let you know that we have received your report, 
which will be investigated personally by one of our Support Representatives 
within 48 hours. Your report is important to us and we will treat it 
accordingly. Please note that we can only take action with SBC Internet user's 
accounts (which have SBC Internet IP addresses), and not those with any other 
IP address.

You will not receive another message from us unless we need to request more 
information from you to further our investigation. Please do not respond to 
this e-mail, as any messages sent to this particular address by using 
the Reply button will not be read. We appreciate your understanding that due 
to our privacy policy, we will not report back to you about any action taken 
against SBC Internet users. However, we want to assure you that we will take 
appropriate action against SBC Internet users who have violated the SBC/Yahoo 
Terms of Service or the Acceptable Use Policy

In order for us to process your complaint, please check that you have 
submitted all of the following information for each type of incident:

Unsolicited Commercial/Bulk Email (Spam):
- FULL message headers
- Subject line exactly as it appears in the original message (i.e. 'Re: Make 
$$$!')
- Trimmed body.  Send only as much of the text as needed to show the e-mail's 
intent.
- Limited commentary.  We understand your frustration with Spam, but the less 
time we spend reading your email, the more time we have to fight Spam.

If we determine that the Spam originated from another ISP, we may refer the 
matter to the respective ISP.


Intrusion/Disruption Attempts (Trojans, Hacks, Port Scans, etc.)/ Denials of 
Service (ICMP floods, brute-force connections, etc.):
- Full log files containing all of the information below:
  - IP Address of intruder (or the DNS name pointing to said address)
  - Date/Time Stamp with ZONE (either numerical [-0600] or alpha [CST])
  - Protocol/Port used (either numerical [25] or alpha [SMTP])
  - Number of instances of each packet type received

Newsgroup violations:
- FULL message headers (including NNTP and Xtrace information)
- Subject line exactly as it appears in the original message (i.e. 'Re: Make 
$$$!')
- Trimmed body.  Send only as much of the text as needed to show the e-mail's 
intent.
- Limited commentary.  As with Spam, the less time we spend reading your 
email, the more time we will have to take care of the problem.


- PLEASE NOTE THE FOLLOWING -
GENERAL:
Please keep in mind complaints could take up to 48 hrs to process.

BOGUS REPORTS:
Many software packages will log and report what they construe to be suspicious 
behavior.  These reports are only as good as the software configurations and 
tend to err on the paranoid side. Submissions generated by such software in 
which relatively minor errors are reported (i.e. a single ICMP packet, UDP 
frames from ICQ, DNS packets) will be discarded without response from SBCIS 
due to the volume of such requests received.

LEGAL:
SBCIS does not tolerate abusive Internet behavior, and will take all steps 
reasonably necessary to enforce the Terms of Service (ToS) and Acceptable Use 
Policy (AUP).  We will not supply you with any details relative to our other 
customers or users unless compelled by law to do so.  If you wish to obtain 
such information, you must first obtain a valid subpoena, court order, or 
other valid and enforceable legal instrument allowing you to do so. 

SECURITY AND VIRUS PROTECTION:
You are responsible

Re: [vchkpw] Quota warn messgae

2003-06-30 Thread zafar rizvi
hi ppl
 i got the patch of maildir++ from the
http://www.shupp.org/patches/qmail-maildir++.patch
link. But plz help me in using , how can i use that, how i compile or where
i copy to use itsfunctionality.

Thanks in advance for help.
with regard and waiting for reply.

zafar
- Original Message -
From: Michael Bowe [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Wednesday, June 18, 2003 10:48 AM
Subject: Re: [vchkpw] Quota warn messgae


 - Original Message -
 From: zafar rizvi [EMAIL PROTECTED]
 To: [EMAIL PROTECTED]
 Sent: Wednesday, June 18, 2003 3:24 PM
 Subject: [vchkpw] Quota warn messgae


  hi ppl
   i m using qmail on redat with vpopmail latest version.
  I set that .quota warn message file for quota warning message, but do't
 know
  why it sending mail when quota limit is near 20 or 15% used.

 To ensure that your quota counts are always accurate, you need to make
 sure that any applications that are involved in the adding/removing of
 messages
 are maildir++ compliant.

 Using a non maildir++ compliant POP3 daemon (such as the one that comes
 with qmail) is the most common cause for the quota system to falsely be
 reporting that a user has hit their quota limit.

 Bill Shupp has a patch for qmail that fixes both the qmail-pop3d
 and the qmail-local programs so that they become maildir++ compliant.
 You can download this patch from here :
 http://www.shupp.org/patches/qmail-maildir++.patch

 I would recommend that you then go and delete all your user's
 quota files (because they contain inaccurate counts). The quota
 files will be automatically recreated and will contain the correct
 totals next time a message is delivered.

 I have used this command in the past on my server to zap all
 the user's quota files :

   find /home/vpopmail/domains -name 'maildirsize' | xargs -i --verbose rm
 '{}' 21 ANd some time i have one or two mails and got quota warn
message,
 why and
  the date it show in the header date field is very far behind the
currrent
  date.why

 This is a limitation of the vpopmail quota warning system. The
 warning message does not contain any date field, which causes
 assorted weird results depending on the mail client that is used
 to read the message. A little more information about this is
 available in the archives here :
 http://bluedot.net/mail/archive/read.php?f=2i=10854t=10851

 Hope that helps!

 Michael.







[vchkpw] Quota warn messgae

2003-06-17 Thread zafar rizvi
hi ppl
 i m using qmail on redat with vpopmail latest version.
I set that .quota warn message file for quota warning message, but do't know
why it sending mail when quota limit is near 20 or 15% used.
ANd some time i have one or two mails and got quota warn message, why and
the date it show in the header date field is very far behind the currrent
date.why

plz tell me on which basis u judge quota warn message to be delivered as i
have 6mb(in bytes 6291456). As i am dividing by 1024 for getting
calculation.
Can Any body tell me what calculation method using vpopmail and what
configuration required for .quotawarng message work properly on time with
date.

thank
zafar




[vchkpw] quota message

2003-03-26 Thread dWi saSonO b
add to: header on vdeliveries today
here some patch

[EMAIL PROTECTED] vpopmail-5.2.1]# diff -Naur vdelivermail.c /tmp/vdelivermail.c
--- vdelivermail.c  Sat May 18 13:25:50 2002
+++ /tmp/vdelivermail.c Wed Mar 26 14:58:26 2003
@@ -1087,6 +1087,8 @@
 /* read the quota message in chunks and write it to the new file */
 if((fs=fopen(quotawarnmsg, ro)) != NULL) {
 while(fgets(buf, MSG_BUF_SIZE, fs)) {
+   if(strncmp(buf,To:,3)==0)
+  sprintf(buf,To: %s\n,maildir_to_email(newdir));
 if ( write(write_fd,buf,strlen(buf)) == -1 ) {
 close(write_fd);

[EMAIL PROTECTED] vpopmail-5.2.1]#


-- 
thx
onOs
UPPTI - Universitas Brawijaya



Re: [vchkpw] quota message

2003-03-26 Thread dWi saSonO b
there is quickiest way rather than entering some sily procedure

--- vdelivermail.c  Sat May 18 13:25:50 2002
+++ /tmp/vdelivermail.c Wed Mar 26 14:58:26 2003
@@ -1087,6 +1087,8 @@
 /* read the quota message in chunks and write it to the new file */
 if((fs=fopen(quotawarnmsg, ro)) != NULL) {
 while(fgets(buf, MSG_BUF_SIZE, fs)) {
+   if(strncmp(buf,To:,3)==0)
+  sprintf(buf,To: [EMAIL PROTECTED],getenv(EXT),getenv(HOST));
 if ( write(write_fd,buf,strlen(buf)) == -1 ) {
 close(write_fd);



-- 
thx
onOs
UPPTI - Universitas Brawijaya



[vchkpw] quota exceeded

2003-03-25 Thread dWi saSonO b
i read some code in vpopmain and qmail buat it to difficult for vdeliveries to force 
qmail to pending an email for some lifetime under qmail.
other way i can think of is to make vdeliveries to send email to thrash.
but not all web based enable auto purge, sqwebmail with using 0 values, it make 
disable the feature
but if i send to thrash ... pop3 access can get his new mail.
perhaps i should stick with find return code from qmail after all.



-- 
thx
onOs
UPPTI - Universitas Brawijaya



[vchkpw] Quota limit

2003-02-10 Thread Enrique L. Schamann
Does somebody knows how may put a quota per user plus than
2147483647 bytes (i.e. 6Gb).
This question is because when a quota of 4294967295 bytes (i.e.) is
established the system doesn't works properly, apparently because a
int32 limitation ?

Any idea ?

Regards,

--
Enrique Luis Schamann







[vchkpw] Quota limit

2003-02-06 Thread Enrique L. Schamann
Does anybody know how may put a storage quota per user plus than 
2147483647 bytes (i.e. 6Gb).
This question is because when a quota of 4294967295 bytes (i.e.) is 
established the system doesn't works properly, apparently because a 
int32 limitation ?

Any idea ?

Regards,

--
Enrique Luis Schamann





[vchkpw] Quota on qmail (for send and receive)

2003-02-05 Thread george
HI!
I tried to put quota on qmail, for sending and receiving emails.
I want to accept only emails that are under 3 megs.
I tried with softlimit, tcpserver but it didnt work it.
Can someone tell me how can i do that limitation ?
On the system I have qmail + daemontools + vpopmail + qmailadmin +
courier-imap(for pop3).
Thanks allot.


---
George Tolea







RE: [vchkpw] Quota on qmail (for send and receive)

2003-02-05 Thread Clayton Weise
Make a file in /var/qmail/controls called databytes and in it, put the
value (in bytes) of the largest email you want qmail to accept.

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] 
Sent: Wednesday, February 05, 2003 8:12 AM
To: [EMAIL PROTECTED]
Subject: [vchkpw] Quota on qmail (for send and receive)


HI!
I tried to put quota on qmail, for sending and receiving emails. I want to
accept only emails that are under 3 megs. I tried with softlimit, tcpserver
but it didnt work it. Can someone tell me how can i do that limitation ? On
the system I have qmail + daemontools + vpopmail + qmailadmin +
courier-imap(for pop3). Thanks allot.


---
George Tolea












RE: [vchkpw] Quota on qmail (for send and receive)

2003-02-05 Thread george
Thank you for you answer.
And...it is possible tu put different quota for users ?
For example ...local user [EMAIL PROTECTED] to recieve 4 megs and user
[EMAIL PROTECTED] to receive only 2 megs. (to accept and receive)


---
George TOlea


 Make a file in /var/qmail/controls called databytes and in it, put the
 value (in bytes) of the largest email you want qmail to accept.

 -Original Message-
 From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
 Sent: Wednesday, February 05, 2003 8:12 AM
 To: [EMAIL PROTECTED]
 Subject: [vchkpw] Quota on qmail (for send and receive)


 HI!
 I tried to put quota on qmail, for sending and receiving emails. I want
 to accept only emails that are under 3 megs. I tried with softlimit,
 tcpserver but it didnt work it. Can someone tell me how can i do that
 limitation ? On the system I have qmail + daemontools + vpopmail +
 qmailadmin +
 courier-imap(for pop3). Thanks allot.


 ---
 George Tolea








RE: [vchkpw] Quota on qmail (for send and receive)

2003-02-05 Thread Clayton Weise
The defaultdelivery file is a global setting saying that qmail will not
accept any email larger than X.  If you want per-user quotas you can set
those through vpopmail.  You can't set a per-user file size limit though,
the closest you can do is on a per-ip basis.  Since tcpserver reads
environment variables from the tcp.smtp.cdb file, you can put something like
this:

1.2.3.4:allow,DATABYTES=x

I don't know how to limit file sizes based on the recipient other than
leaving no limit and using per-user quotas.

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] 
Sent: Wednesday, February 05, 2003 8:22 AM
To: [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]; [EMAIL PROTECTED]
Subject: RE: [vchkpw] Quota on qmail (for send and receive)


Thank you for you answer.
And...it is possible tu put different quota for users ?
For example ...local user [EMAIL PROTECTED] to recieve 4 megs and user [EMAIL PROTECTED]
to receive only 2 megs. (to accept and receive)


---
George TOlea


 Make a file in /var/qmail/controls called databytes and in it, put 
 the value (in bytes) of the largest email you want qmail to accept.

 -Original Message-
 From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
 Sent: Wednesday, February 05, 2003 8:12 AM
 To: [EMAIL PROTECTED]
 Subject: [vchkpw] Quota on qmail (for send and receive)


 HI!
 I tried to put quota on qmail, for sending and receiving emails. I 
 want to accept only emails that are under 3 megs. I tried with 
 softlimit, tcpserver but it didnt work it. Can someone tell me how can 
 i do that limitation ? On the system I have qmail + daemontools + 
 vpopmail + qmailadmin + courier-imap(for pop3). Thanks allot.


 ---
 George Tolea













Re: [vchkpw] Quota on qmail (for send and receive)

2003-02-05 Thread Peter Palmreuther
Hi [EMAIL PROTECTED],

On Wed, 5 Feb 2003 18:21:47 +0200 (EET) [EMAIL PROTECTED] wrote:

  Thank you for you answer.
  And...it is possible tu put different quota for users ?
  For example ...local user [EMAIL PROTECTED] to recieve 4 megs and user
  [EMAIL PROTECTED] to receive only 2 megs. (to accept and receive)

No.
-- 
Peter




RE: [vchkpw] Quota on qmail (for send and receive)

2003-02-05 Thread george

I know about quota in vpopmail (megs and number of emails incoming).
The problem is that all persons that user the server are from a single ip:
aaa.bbb.ccc.ddd, so i cant use that kind or restrinction (in tcp.smtp.cdb)
:(.
So, there is no way to do that limitation ?

---
George Tolea

 The defaultdelivery file is a global setting saying that qmail will not
 accept any email larger than X.  If you want per-user quotas you can set
 those through vpopmail.  You can't set a per-user file size limit
 though, the closest you can do is on a per-ip basis.  Since tcpserver
 reads environment variables from the tcp.smtp.cdb file, you can put
 something like this:

 1.2.3.4:allow,DATABYTES=x

 I don't know how to limit file sizes based on the recipient other than
 leaving no limit and using per-user quotas.

 -Original Message-
 From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
 Sent: Wednesday, February 05, 2003 8:22 AM
 To: [EMAIL PROTECTED]
 Cc: [EMAIL PROTECTED]; [EMAIL PROTECTED]
 Subject: RE: [vchkpw] Quota on qmail (for send and receive)


 Thank you for you answer.
 And...it is possible tu put different quota for users ?
 For example ...local user [EMAIL PROTECTED] to recieve 4 megs and user
 [EMAIL PROTECTED] to receive only 2 megs. (to accept and receive)


 ---
 George TOlea


 Make a file in /var/qmail/controls called databytes and in it, put
 the value (in bytes) of the largest email you want qmail to accept.

 -Original Message-
 From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
 Sent: Wednesday, February 05, 2003 8:12 AM
 To: [EMAIL PROTECTED]
 Subject: [vchkpw] Quota on qmail (for send and receive)


 HI!
 I tried to put quota on qmail, for sending and receiving emails. I
 want to accept only emails that are under 3 megs. I tried with
 softlimit, tcpserver but it didnt work it. Can someone tell me how can
  i do that limitation ? On the system I have qmail + daemontools +
 vpopmail + qmailadmin + courier-imap(for pop3). Thanks allot.


 ---
 George Tolea







Re: [vchkpw] Quota per domain

2003-01-24 Thread Brian Kolaci

Try using system quotas instead.  This is what I use.
Put each virtual domain under a separate unix user.
Impose a system quota on that user.  Then set per-user
quotas from qmailadmin.

There's a -u option to vadddomain to set it to the specified
unix userid and setup the domains directory under that user's
home directory.

This is a workable approach (I've been using it for years),
and I'm delaying patching vdelivermail to implement it
so I can finish up on qmailadmin.

Thanks,

Brian

   Hi  Brian!
   
   I have installed Qmail+vpopmail+swwebmail on Redhat Linux 8.0
   Now, I want to implement disk quota per virtualdomain.
   
   when I add a virtualdomain ./vadddomain manish.com -q 200
   this option works as 
   -q quota_in_bytes (sets the quota for postmaster account)
   
   Sets the quota for postmaster account.
   
   But as I have 25 virtualdomains, I want to allocate specified disk quota
   to each virtualdomain.
   And the postmaster of that virtualdomain can use that disk space as per
   his requirement with any number of users.
   
   Please give the workable answer...
   
   Manish Jain
   System Admin
   ERDCI Noida
   
   
   
   
   
   



Brian
Galaxy Networks, Inc.






[vchkpw] Quota per domain

2003-01-24 Thread Manish Jain
Hi  Brian!

I have installed Qmail+vpopmail+swwebmail on Redhat Linux 8.0
Now, I want to implement disk quota per virtualdomain.

when I add a virtualdomain ./vadddomain manish.com -q 200
this option works as 
-q quota_in_bytes (sets the quota for postmaster account)

Sets the quota for postmaster account.

But as I have 25 virtualdomains, I want to allocate specified disk quota
to each virtualdomain.
And the postmaster of that virtualdomain can use that disk space as per
his requirement with any number of users.

Please give the workable answer...

Manish Jain
System Admin
ERDCI Noida









[vchkpw] Quota per domain

2003-01-24 Thread Manish Jain


Hi  All!

I have installed Qmail+vpopmail+swwebmail on Redhat Linux 8.0
Now, I want to implement disk quota per virtualdomain created.
when I add a virtualdomain ./vadddomain manish.com -q 200
this option works as 
-q quota_in_bytes (sets the quota for postmaster account)

But I want to allocate specified disk quota to a virtualdomain.
And the postmaster of that virtualdomain can use that disk space as per
his requirement with any number of users.

Please give the workable answer...

Manish Jain
System Admin
ERDCI Noida






RE: [vchkpw] Quota per domain

2003-01-24 Thread Clayton Weise
Read the archives, this has been discussed and covered a million times over.

-Clayton

-Original Message-
From: Manish Jain [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, January 22, 2003 9:58 PM
To: Vpopmail Mailing List
Subject: [vchkpw] Quota per domain




Hi  All!

I have installed Qmail+vpopmail+swwebmail on Redhat Linux 8.0
Now, I want to implement disk quota per virtualdomain created.
when I add a virtualdomain ./vadddomain manish.com -q 200
this option works as 
-q quota_in_bytes (sets the quota for postmaster account)

But I want to allocate specified disk quota to a virtualdomain.
And the postmaster of that virtualdomain can use that disk space as per
his requirement with any number of users.

Please give the workable answer...

Manish Jain
System Admin
ERDCI Noida


 




[vchkpw] Quota per domain

2003-01-24 Thread Manish Jain

Hi  All!

I have installed Qmail+vpopmail+swwebmail on Redhat Linux 8.0
Now, I want to implement disk quota per virtualdomain created.
when I add a virtualdomain ./vadddomain manish.com -q 200
this option works as 
-q quota_in_bytes (sets the quota for postmaster account)

But I want to allocate specified disk quota to a virtualdomain.
And the postmaster of that virtualdomain can use that disk space as per
his requirement with any number of users.

Please give the workable answer...

Manish Jain
System Admin
ERDCI Noida






Re: [vchkpw] quota for per domains

2003-01-22 Thread Dai Uehara
I responded wrong address. Sory Mr. Clayton Weise.

So, Thanks your help

I checked archives and find it.
I understand but not simple way for me.

Do I have to make the system_uesr anyway?

now I using qmailadmin and vqadmin with Suexec Apache.

qmailadmin   vqadmin:
It is not work default ownership.
I can't make qmailadmin webpate for par-domain because of SuExec.
so,vqadmin.cgi  qmailadmin ownership have to change the root.

/home and / directory are separate partition.

Is it correct?

I want to know better way.

Thank you.

//dai at dai-dai.com
Dai Uehara 
[EMAIL PROTECTED]
//dai-dai.com at dai





Re: [vchkpw] quota for per domains

2003-01-21 Thread mike
Hi,
Read in the documentation the configure options.

mike.


On Tuesday 21 January 2003 11:37, Dai Uehara wrote:
 Hi All

 Is it possible to make quota for per domain?
 I could'nt find in document.

 I use
 vpopmail-5.3.12

 OS
 Turbolinux8 Server


 Can anyone help me?
 thanks.


 //dai at dai-dai.com
 Dai Uehara
 [EMAIL PROTECTED]
 //dai-dai.com at dai




RE: [vchkpw] quota for per domains

2003-01-21 Thread Clayton Weise
Also check the archives, this has been discussed countless times.

-Original Message-
From: mike [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, January 21, 2003 4:45 AM
To: [EMAIL PROTECTED]
Subject: Re: [vchkpw] quota for per domains


Hi,
Read in the documentation the configure options.

mike.


On Tuesday 21 January 2003 11:37, Dai Uehara wrote:
 Hi All

 Is it possible to make quota for per domain?
 I could'nt find in document.

 I use
 vpopmail-5.3.12

 OS
 Turbolinux8 Server


 Can anyone help me?
 thanks.


 //dai at dai-dai.com
 Dai Uehara
 [EMAIL PROTECTED]
 //dai-dai.com at dai
 




[vchkpw] quota is full, (maildirsize file)

2003-01-18 Thread nbari
Hi all, i have just upgrade to version 1.6.1 of courrier-imap but now all
my users are telling me that they are geting the quotawarn.msg

any idea on how to fix that ?

i have notice that deleting the maildirsize file
(~vpopmail/domain/someuser/Maildir/maildirsize) fix this, but is there a
better option to fix this ?

regards







[vchkpw] quota

2003-01-10 Thread Augustas Gutautas
Hi,

I`m using vpopmail-5.2 with qmail.
The problem is that vuserinfo [EMAIL PROTECTED] sais that customer has used 
let`s say 50% of his mail quota, although cd 
~vpopmail/domains/domain.tld/user  ls -lasR */* shows that there are no 
messages and no files at all. Maildir/maildirsize shows that there are 
messages. Is this is a bug or a feature? How to cope with this?
The problem disappears if Maildir/maildirsize is deleted. 
As it is written in vpopmail documentation quota gets updated every 15 
minutes, but on my system (debian woody) this never happens. User quotas are 
qreated with vsetuserquota [EMAIL PROTECTED] 4000
Any ideas?
-- 
Augustas Gutautas
UAB Baltnetos komunikacijos
Galvydžio g. 5, Vilnius
Tel. 2745444
Fax. 2745440
Mob. 8614 63487
http://www.balt.net




[vchkpw] Quota problem

2002-11-22 Thread zafar
hello all
 i am facing problem from 2 weeks.
the problem is that user is block sending mail after exceding
quota limit.
The other problem is that mail is not bounce back when anyuser quota is
full.
so how can i get it...
thanks

zafar





  1   2   >