Re: [vchkpw] quotawarn not always working

2006-06-29 Thread Paul Theodoropoulos

At 05:58 PM 6/28/2006, Charles Sprickman wrote:
Anyone else see this?  Any appropriate fixes in vdelivermail dealing 
with quota warnings since 5.4.10?  I noticed vdelivermail does have 
a few printfs with error messages, but I'm not seeing anything in 
the mail logs regarding this user or quotas or errros in general...


Ideas?


i've found that occasionally the 'maildirsize' file will misbehave - 
somehow getting confused info written into it. deleting it often 
cleared the problem.



Paul Theodoropoulos
http://www.anastrophe.com
http://www.smileglobal.com
http://www.forumgarden.com






Re: [vchkpw] quotawarn not always working

2006-06-28 Thread Tom Collins

On Jun 28, 2006, at 5:58 PM, Charles Sprickman wrote:
This is vpopmail 5.4.10, haven't gotten around to looking at all the 
release notes on newer versions yet for gotchas.


vdelivermail was rewritten for 5.4.11 (or so).  5.4.16 is a pretty good 
release, I have a few patches to put into 5.4.17, but nothing serious 
enough to keep you from trying 5.4.16.


--
Tom Collins  -  [EMAIL PROTECTED]
Vpopmail - virtual domains for qmail: http://vpopmail.sf.net/
QmailAdmin - web interface for Vpopmail: http://qmailadmin.sf.net/



Re: [vchkpw] quotawarn not always working

2006-06-28 Thread Michael Bowe
- Original Message - 
From: "Charles Sprickman" <[EMAIL PROTECTED]>




Hi all,

I have a user that came complaining (he's actually a lawyer and has sent 
four snail-mail, certified letters... ugh) that he's not being notified 
when going over quota.  So I grabbed a test account in the same domain and 
sent email to that account until the usage went above 90%.  Everything 
worked as expected - quotawarn file was created, warning email delivered, 
and it worked both with maildrop (used for spam/virus scanning here) and 
vdelivermail as the final delivery agent.


Is vuserinfo reporting accurate values for this quota and usage amounts ?

Do the permissions on his dir look same as the permissions on your test 
account dir ?


You could probably test sending a message like this

EXT=someuser HOST=somedomain.com strace vdelivermail '' bounce-no-mailbox



That might show up whats going on with regards to access to the quota 
related files


Michael.



[vchkpw] quotawarn not always working

2006-06-28 Thread Charles Sprickman

Hi all,

I have a user that came complaining (he's actually a lawyer and has sent 
four snail-mail, certified letters... ugh) that he's not being notified 
when going over quota.  So I grabbed a test account in the same domain and 
sent email to that account until the usage went above 90%.  Everything 
worked as expected - quotawarn file was created, warning email delivered, 
and it worked both with maildrop (used for spam/virus scanning here) and 
vdelivermail as the final delivery agent.


I figured it might be PEBKAC, but the user still complained, so we got 
permission to test on his live account.  And he's right...  No matter what 
I do, the warning message never gets delivered and no quotawarn file is 
created.  He has no filtering, so he's got direct vdelivermail delivery.


Looking in the db, other than his username, password and directory, he's 
exactly the same as my test user.


This is vpopmail 5.4.10, haven't gotten around to looking at all the 
release notes on newer versions yet for gotchas.


Anyone else see this?  Any appropriate fixes in vdelivermail dealing with 
quota warnings since 5.4.10?  I noticed vdelivermail does have a few 
printfs with error messages, but I'm not seeing anything in the mail logs 
regarding this user or quotas or errros in general...


Ideas?

Thanks,

Charles