[Dovecot] lda quota in sql works but is ignored
Hi, (dovecot latest vers) i have lda deliver up with quota and sql, but it seems that deliver simply ignores it, normally it should bounce the message
deliver(tester@example.de): Feb 13 15:31:32 Info: auth input: gid=1001 deliver(tester@example.de): Feb 13 15:31:32 Info: auth input: quota=dirsize:storage=3072000 deliver(tester@example.de): Feb 13 15:31:32 Info: Home dir not found: /usr/local/virtual/tester@example.de/ deliver(tester@example.de): Feb 13 15:31:32 Info: Loading modules from directory: /usr/lib64/dovecot/modules/lda deliver(tester@example.de): Feb 13 15:31:32 Info: Module loaded: /usr/lib64/dovecot/modules/lda/lib10_quota_plugin.so deliver(tester@example.de): Feb 13 15:31:32 Info: Module loaded: /usr/lib64/dovecot/modules/lda/lib90_cmusieve_plugin.so deliver(tester@example.de): Feb 13 15:31:32 Info: maildir: data=/usr/local/virtual/tester@example.de/ deliver(tester@example.de): Feb 13 15:31:32 Info: maildir: root=/usr/local/virtual/tester@example.de, index=/usr/local/virtual/tester@example.de, control=, inbox= deliver(tester@example.de): Feb 13 15:31:32 Info: dirsize quota limit = 3072000kB deliver(tester@example.de): Feb 13 15:31:32 Info: msgid=20070213143132.012C982EF@mail.example.de: saved mail to INBOX
/usr/local/virtual/tester@example.de # du -h 4,0K ./tmp 4,0K ./cur 5,3M ./new 5,3M .
any idea?
-- Mit freundlichen Gruessen Best Regards
Robert Schetterer
https://www.schetterer.org Munich/Bavaria/Germany
On Tue February 13 2007 15:08, Robert Schetterer wrote:
Hi, (dovecot latest vers) i have lda deliver up with quota and sql, but it seems that deliver simply ignores it, normally it should bounce the message
deliver(tester@example.de): Feb 13 15:31:32 Info: auth input: gid=1001 deliver(tester@example.de): Feb 13 15:31:32 Info: auth input: quota=dirsize:storage=3072000 deliver(tester@example.de): Feb 13 15:31:32 Info: Home dir not found: /usr/local/virtual/tester@example.de/ deliver(tester@example.de): Feb 13 15:31:32 Info: Loading modules from directory: /usr/lib64/dovecot/modules/lda deliver(tester@example.de): Feb 13 15:31:32 Info: Module loaded: /usr/lib64/dovecot/modules/lda/lib10_quota_plugin.so deliver(tester@example.de): Feb 13 15:31:32 Info: Module loaded: /usr/lib64/dovecot/modules/lda/lib90_cmusieve_plugin.so deliver(tester@example.de): Feb 13 15:31:32 Info: maildir: data=/usr/local/virtual/tester@example.de/ deliver(tester@example.de): Feb 13 15:31:32 Info: maildir: root=/usr/local/virtual/tester@example.de, index=/usr/local/virtual/tester@example.de, control=, inbox= deliver(tester@example.de): Feb 13 15:31:32 Info: dirsize quota limit = 3072000kB deliver(tester@example.de): Feb 13 15:31:32 Info: msgid=20070213143132.012C982EF@mail.example.de: saved mail to INBOX
/usr/local/virtual/tester@example.de # du -h 4,0K ./tmp 4,0K ./cur 5,3M ./new 5,3M .
any idea?
Perhaps because the quota limit is 3000 Mb ?
Pim Bollen schrieb:
On Tue February 13 2007 15:08, Robert Schetterer wrote:
Hi, (dovecot latest vers) i have lda deliver up with quota and sql, but it seems that deliver simply ignores it, normally it should bounce the message
deliver(tester@example.de): Feb 13 15:31:32 Info: auth input: gid=1001 deliver(tester@example.de): Feb 13 15:31:32 Info: auth input: quota=dirsize:storage=3072000 deliver(tester@example.de): Feb 13 15:31:32 Info: Home dir not found: /usr/local/virtual/tester@example.de/ deliver(tester@example.de): Feb 13 15:31:32 Info: Loading modules from directory: /usr/lib64/dovecot/modules/lda deliver(tester@example.de): Feb 13 15:31:32 Info: Module loaded: /usr/lib64/dovecot/modules/lda/lib10_quota_plugin.so deliver(tester@example.de): Feb 13 15:31:32 Info: Module loaded: /usr/lib64/dovecot/modules/lda/lib90_cmusieve_plugin.so deliver(tester@example.de): Feb 13 15:31:32 Info: maildir: data=/usr/local/virtual/tester@example.de/ deliver(tester@example.de): Feb 13 15:31:32 Info: maildir: root=/usr/local/virtual/tester@example.de, index=/usr/local/virtual/tester@example.de, control=, inbox= deliver(tester@example.de): Feb 13 15:31:32 Info: dirsize quota limit = 3072000kB deliver(tester@example.de): Feb 13 15:31:32 Info: msgid=20070213143132.012C982EF@mail.example.de: saved mail to INBOX
/usr/local/virtual/tester@example.de # du -h 4,0K ./tmp 4,0K ./cur 5,3M ./new 5,3M .
any idea?
Perhaps because the quota limit is 3000 Mb ?
ups, sorry i think i need to stay away from the screen for a while *g
-- Mit freundlichen Gruessen Best Regards
Robert Schetterer
https://www.schetterer.org Munich/Bavaria/Germany
On Tue, 2007-02-13 at 15:08 +0100, Robert Schetterer wrote:
deliver(tester@example.de): Feb 13 15:31:32 Info: dirsize quota limit = 3072000kB .. /usr/local/virtual/tester@example.de # du -h 4,0K ./tmp 4,0K ./cur 5,3M ./new 5,3M .
BTW. dirsize quota is slow with maildir. The more messages the user has, the slower it gets. It'd be better if you used maildir quota backend.
Timo Sirainen schrieb:
On Tue, 2007-02-13 at 15:08 +0100, Robert Schetterer wrote:
deliver(tester@example.de): Feb 13 15:31:32 Info: dirsize quota limit = 3072000kB .. /usr/local/virtual/tester@example.de # du -h 4,0K ./tmp 4,0K ./cur 5,3M ./new 5,3M .
BTW. dirsize quota is slow with maildir. The more messages the user has, the slower it gets. It'd be better if you used maildir quota backend. Hi Timo, quota works now, the problem was a wrong query in sql, as dovecot and postfix admins have different meanings of kb entries in sql, after fixed this i tried to use trash plugin but i cant get it to work, which i posted here, perhaps you have an idea whats wrong
-- Mit freundlichen Gruessen Best Regards
Robert Schetterer
https://www.schetterer.org Munich/Bavaria/Germany
participants (3)
-
Pim Bollen
-
Robert Schetterer
-
Timo Sirainen