On Wed, 2011-06-29 at 18:02 +0200, Claudio Prono wrote:
home=/var/mail/virtual/mediaservice.pri/testquota@mediaservice.pri/ Jun 29 17:42:19 lda(testquota@mediaservice.pri): Debug: Quota root: name=User quota backend=maildir args= Jun 29 17:42:19 lda(testquota@mediaservice.pri): Debug: Quota rule: root=User quota mailbox=* bytes=1024000 messages=0 Jun 29 17:42:19 lda(testquota@mediaservice.pri): Debug: Quota warning: bytes=819200 (80%) messages=0 reverse=no command=/usr/bin/quota_warning.sh 80 Jun 29 17:42:19 lda(testquota@mediaservice.pri): Debug: Quota warning: bytes=921600 (90%) messages=0 reverse=no command=/usr/bin/quota_warning.sh 90 Jun 29 17:42:19 lda(testquota@mediaservice.pri): Debug: Quota warning: bytes=1013760 (99%) messages=0 reverse=no command=/usr/bin/quota_warning.sh 90
Looks ok.
First question: why i see two times the quota warning check?
The second one is for an "internal storage". You can ignore it.
Anyway, if the 80% or 90% of the quota is fullfilled, no warning pops out....
Are you sure you tested it correctly? It is executed only when a mail is delivered across the 79% -> 80% quota boundary.
I don't see any error in your config.