Re: lmpt/quota behaviour

2005-02-26 Thread Christos Soulios
Indeed, lmtpd checks for the quota immediately on delivery. There should 
be no delay in updating for the quota change.

Christos

Ken Murchison wrote:
Per olof Ljungmark wrote:
Hi all,
I'm running a test setup and today I tried setting the quota for a 
mailbox below the current size of it to see what happened.

No surprise, lmpt started responding 452 4.2.2 Over quota as it should.
Then I increased the quota again so that there were plenty of room, 
waited for the 452 response to go away but it did not. After an hour I 
restarted the lmtp process and the account accepted mail again.

Q: How long should it normally take for lmtp to see the changes? The 
change TO Over quota was registered instantly but the not the 
opposite apparently. Can this time be adjusted?

I believe lmtpd should be checking the quota for each RCTP TO that it 
receives, but I'd have to check.  It *should* see the change immediately.


I know the test scheme was perhaps not a real world one but should not 
an account be able to accept mail more or less immideately after the 
quota is fixed?

2.2.10 with patches from UOA.
Thanks,
---
Cyrus Home Page: http://asg.web.cmu.edu/cyrus
Cyrus Wiki/FAQ: http://cyruswiki.andrew.cmu.edu
List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html

---
Cyrus Home Page: http://asg.web.cmu.edu/cyrus
Cyrus Wiki/FAQ: http://cyruswiki.andrew.cmu.edu
List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html


Re: lmpt/quota behaviour

2005-02-24 Thread Ken Murchison
Per olof Ljungmark wrote:
Hi all,
I'm running a test setup and today I tried setting the quota for a 
mailbox below the current size of it to see what happened.

No surprise, lmpt started responding 452 4.2.2 Over quota as it should.
Then I increased the quota again so that there were plenty of room, 
waited for the 452 response to go away but it did not. After an hour I 
restarted the lmtp process and the account accepted mail again.

Q: How long should it normally take for lmtp to see the changes? The 
change TO Over quota was registered instantly but the not the opposite 
apparently. Can this time be adjusted?
I believe lmtpd should be checking the quota for each RCTP TO that it 
receives, but I'd have to check.  It *should* see the change immediately.


I know the test scheme was perhaps not a real world one but should not 
an account be able to accept mail more or less immideately after the 
quota is fixed?

2.2.10 with patches from UOA.
Thanks,
---
Cyrus Home Page: http://asg.web.cmu.edu/cyrus
Cyrus Wiki/FAQ: http://cyruswiki.andrew.cmu.edu
List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html

--
Kenneth Murchison Oceana Matrix Ltd.
Software Engineer 21 Princeton Place
716-662-8973 x26  Orchard Park, NY 14127
--PGP Public Key--http://www.oceana.com/~ken/ksm.pgp
---
Cyrus Home Page: http://asg.web.cmu.edu/cyrus
Cyrus Wiki/FAQ: http://cyruswiki.andrew.cmu.edu
List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html