Re: [vchkpw] quotawarn question

2005-03-24 Thread Greg Swift
Tom Collins wrote:
On Mar 23, 2005, at 1:10 PM, Juan Enciso Condeña wrote:
But also I have noticed that this file not delete as soon as the 
quota has
diminished, which brings like consequence that when it is arrived 
again at
the quota limit,  no alert quota is sent again.

Is it a bug or what should I do?

It's not a bug.  Only one warning is sent every 24 hours.  The file 
needs to stay there so that a user who's close to their quota doesn't 
get repeated warnings every time the delete mail and have more arrive.
actually considering it NEVER removes the quotawarn from the user, I 
would personally consider it a bug.  And a rather annoying one 
considering I have to go manually remove it else they get the warning 
even after emptying their box.

-Greg


Re: [vchkpw] quotawarn question

2005-03-24 Thread Tom Collins
On Mar 24, 2005, at 8:47 AM, Greg Swift wrote:
It's not a bug.  Only one warning is sent every 24 hours.  The file 
needs to stay there so that a user who's close to their quota doesn't 
get repeated warnings every time the delete mail and have more 
arrive.
actually considering it NEVER removes the quotawarn from the user, I 
would personally consider it a bug.  And a rather annoying one 
considering I have to go manually remove it else they get the warning 
even after emptying their box.
The quotawarn file is a 0-byte file stored in the user's directory and 
is only used to determine the last time an actual warning was sent.  
I'm not sure I understand why that is a problem.  If the file is over 
24 hours old, removing it will have no effect on the behavior of 
vdelivermail.  If it's less than 24 hours old, the user will get 
another warning the next time their box goes over 90% full.

If you wanted to, you could add a cron job on your system to find 
quotawarn files older than 24 hours and delete them, but I don't think 
there's a need to do so.

--
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] quotawarn question

2005-03-24 Thread Greg Swift
Tom Collins wrote:
On Mar 24, 2005, at 8:47 AM, Greg Swift wrote:
It's not a bug.  Only one warning is sent every 24 hours.  The file 
needs to stay there so that a user who's close to their quota 
doesn't get repeated warnings every time the delete mail and have 
more arrive.

actually considering it NEVER removes the quotawarn from the user, I 
would personally consider it a bug.  And a rather annoying one 
considering I have to go manually remove it else they get the warning 
even after emptying their box.

The quotawarn file is a 0-byte file stored in the user's directory and 
is only used to determine the last time an actual warning was sent.  
I'm not sure I understand why that is a problem.  If the file is over 
24 hours old, removing it will have no effect on the behavior of 
vdelivermail.  If it's less than 24 hours old, the user will get 
another warning the next time their box goes over 90% full.

If you wanted to, you could add a cron job on your system to find 
quotawarn files older than 24 hours and delete them, but I don't think 
there's a need to do so.
Welll.. then it is buggy, because even if their mailbox is not at quota, 
guess what? they still get the message!  This bug was reported to the 
list months ago (back around sept/oct).  If it actually worked the way 
you are specifying, I wouldn't be complaining, but the has been a 
repeatable occurance, and the fix is to delete the quoatawarn file.

-Greg
-Greg


Re: [vchkpw] quotawarn question

2005-03-23 Thread Tom Collins
On Mar 23, 2005, at 1:10 PM, Juan Enciso Condeña wrote:
Recently, I enabled the warning quota message.
I create the file .quotawarn.msg into domain directory, and it work.
But I noticed that when reach the percent limit, the vpopmail create 
the file
named quotawarn into user directory.
For example: ~vopmail/domains/domain.com/user/Maildir/quotawarn

But also I have noticed that this file not delete as soon as the quota 
has
diminished, which brings like consequence that when it is arrived 
again at
the quota limit,  no alert quota is sent again.

Is it a bug or what should I do?
It's not a bug.  Only one warning is sent every 24 hours.  The file 
needs to stay there so that a user who's close to their quota doesn't 
get repeated warnings every time the delete mail and have more arrive.

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