search for: quota_check

Displaying 20 results from an estimated 20 matches for "quota_check".

2016 Nov 24
0
Implementing secondary quota w/ "Archive" namespace
...mespace. I threw some i_debug's into quota_roots_equal() (and one right at the top), but I don't ever see them in the debug logs. But both "ctx->moving" and "src_box == NULL" are true, so it never calls quota_roots_equal anyway in that patched 'if' clause in quota_check. I threw the following into quota_check and it printed to the debug log for both if's: if (ctx->moving ) i_debug("quota: quota_check: YES to ctx->moving" ); if (src_box == NULL) i_debug("quota: quota_check: YES to src_box == NULL" ); Out of curiosity...
2013 Aug 01
1
[PATCH] quota-status: allow different action for messages that are too large (over maximum quota)
...trivial patch I sent earlier; otherwise patch(1) will report some fuzz.) What do you think of this? Ulrich --- a/src/plugins/quota/quota-status.c 2013-08-01 18:05:24.000000000 +0200 +++ b/src/plugins/quota/quota-status.c 2013-08-01 18:03:30.000000000 +0200 @@ -46,13 +46,12 @@ } static int -quota_check(struct mail_user *user, uoff_t mail_size, const char **error_r) +quota_check(struct mail_user *user, uoff_t mail_size, const char **error_r, bool *too_large) { struct quota_user *quser = QUOTA_USER_CONTEXT(user); struct mail_namespace *ns; struct mailbox *box; struct quota_transaction_cont...
2016 Nov 24
2
Implementing secondary quota w/ "Archive" namespace
On 23 Nov 2016, at 0.49, Mark Moseley <moseleymark at gmail.com> wrote: > > If I move messages between namespaces, it appears to ignore the quotas I've > set on them. A *copy* will trigger the quota error. But a *move* just > happily piles on to the overquota namespace. Is that normal? Probably needs a bit more thinking, but I guess the attached patch would help.
2016 Dec 01
2
Implementing secondary quota w/ "Archive" namespace
...h! Esp on a Weds night. I applied and rerolled >> > dovecot, but I can still move messages into the over-quota namespace. >> >> How about this updated patch? >> >> > Nope, still lets me move messages into the over-quota namespace. > > Both these are true in quota_check: > > ctx->moving > quota_move_requires_check > > > > >> > Out of curiosity, in the Quota wiki page, it mentions that 'in theory >> there >> > could be e.g. "user quota" and "domain quota" roots'. That's also super >&...
2008 Jul 18
2
quota vs. antispam issue
...ze_r=0xbfeaf030) at mail.c:100 100 return p->v.get_physical_size(mail, size_r); (gdb) bt #0 0x100929f4 in mail_get_physical_size (mail=0x0, size_r=0xbfeaf030) at mail.c:100 #1 0x0fe29be0 in quota_try_alloc (ctx=0x101707a8, mail=0x0, too_large_r=0xbfeaf060) at quota.c:818 #2 0x0fe303dc in quota_check (t=0x10170158, mail=0x0) at quota-storage.c:148 #3 0x0fe30968 in quota_save_finish (ctx=0x10177c10) at quota-storage.c:251 #4 0x0fdfec58 in antispam_save_finish (ctx=0x10177c10) at antispam-storage-1.1.c:178 #5 0x10097c94 in mailbox_save_finish (_ctx=0x10159004) at mail-storage.c:738 #6 0x10016...
2008 Mar 03
1
Quota setup fails because of OST ordering
Hi all, after installing a Lustre test file system consisting of 34 OSTs, I encountered a strange error when trying to set up quotas: lfs quotacheck gave me an "Input/Output error", while in /var/log/kern.log I found a Lustre error LustreError: 20807:0:(quota_check.c:227:lov_quota_check()) lov idx 32 inactive Indeed, in /proc/fs/lustre/lov/.../target_obd all 34 OSTs were listed and numbered, but number 32 was missing, instead I had a number 34. Now, in this test cluster each OSS serves two OSTs. I remember I had made a mistake with the RAID configuration...
2008 Jul 11
1
Dovecot-1.1.1 with quota and antispam plugin - segmentation fault
...GV, Segmentation fault. 0x080a968c in mail_get_physical_size () (gdb) #0 0x080a968c in mail_get_physical_size () No symbol table info available. #1 0x1831d07a in quota_try_alloc (ctx=0x8128700, mail=0x0, too_large_r=0xbfbfe74b) at quota.c:797 size = 4 ret = 0 #2 0x183213ce in quota_check (t=0x812e580, mail=0x0) at quota-storage.c:148 qt = (struct quota_transaction_context *) 0x8128700 ret = 134728787 too_large = 191 #3 0x18321740 in quota_save_finish (ctx=0x8152028) at quota-storage.c:251 qt = (struct quota_transaction_context *) 0x8128700 q...
2016 Nov 24
2
Implementing secondary quota w/ "Archive" namespace
On 24 Nov 2016, at 9.33, Mark Moseley <moseleymark at gmail.com> wrote: > > On Wed, Nov 23, 2016 at 6:05 PM, Timo Sirainen <tss at iki.fi> wrote: > >> On 23 Nov 2016, at 0.49, Mark Moseley <moseleymark at gmail.com> wrote: >>> >>> If I move messages between namespaces, it appears to ignore the quotas >> I've >>> set on them.
2016 Nov 25
0
Implementing secondary quota w/ "Archive" namespace
...t; > > I appreciate the patch! Esp on a Weds night. I applied and rerolled > > dovecot, but I can still move messages into the over-quota namespace. > > How about this updated patch? > > Nope, still lets me move messages into the over-quota namespace. Both these are true in quota_check: ctx->moving quota_move_requires_check > > Out of curiosity, in the Quota wiki page, it mentions that 'in theory > there > > could be e.g. "user quota" and "domain quota" roots'. That's also super > > interesting to me. Does anyone have a...
2016 Dec 01
0
Implementing secondary quota w/ "Archive" namespace
On 1 Dec 2016, at 2.22, Mark Moseley <moseleymark at gmail.com> wrote: > >>> How about this updated patch? >>> >>> >> Nope, still lets me move messages into the over-quota namespace. >> >> Both these are true in quota_check: >> >> ctx->moving >> quota_move_requires_check .. > Anything else I can try? I'm not sure how the logic in the quota system > works, so I'm not sure what to suggest. What's the gist of the patch (i.e. > what's it trying to do that it wasn't before...
2006 Jan 14
2
20060114 snapshot compilation warnings
...ync.c: In function `mbox_sync': mbox-sync.c:1568: warning: comparison is always false due to limited range of data type index-search.c: In function `search_index_arg': index-search.c:131: warning: comparison is always false due to limited range of data type quota-storage.c: In function `quota_check': quota-storage.c:114: warning: passing arg 3 of `quota_try_alloc' from incompatible pointer type together with a few "unused parameter/variable" errors which were there before. I also needed to rewrite half my internal patches :) but that shouldn't have made any differen...
2008 Oct 19
2
NFS quota: hard or soft
Yes. I could spend more time testing this myself or examining the code. It looks to me that, with fs quota, dovecot refuses to store a mail (e.g. when the client moves a mail from one IMAP folder to another) if the user is beyond his soft limit. Is this correct/intended? Knowing nothing about the IMAP Quota extension, I would have expected that being in grace was OK. At least, this is what
2007 Jan 31
2
Quota crashing w/ gdb backtrace
...3 #3 0x6b880 in mail_get_physical_size (mail=0xc73a8) at mail.c:75 #4 0x7f933a74 in quota_default_try_alloc (ctx=0xc9a58, mail=0xc73a8, too_large_r=0xffbef397) at quota.c:434 #5 0x7f933654 in quota_try_alloc (ctx=0x0, mail=0xc73a8, too_large_r=0xffbef397) at quota.c:301 #6 0x7f9370c8 in quota_check (t=0xc57f0, mail=0xc73a8) at quota-storage.c:120 #7 0x7f9374d0 in quota_save_finish (ctx=0xc7790, dest_mail=0xc73a8) at quota-storage.c:222 #8 0x6cb64 in mailbox_save_finish (_ctx=0xffbef504, dest_mail=0xc73a8) at mail-storage.c:538 #9 0x6ba2c in mail_storage_copy (t=0xc57f0, mail=0xc5c0...
2005 Sep 18
2
Maildir quota's
Hey, is http://www.dovecot.org/patches/1.0/quota.tar.gz supposed to work with maildir quota's for virtual mailboxes? Using it with dovecot-lda (cvs) results in DSN Your message was automatically rejected by Sieve, a mail filtering language. The following reason was given: Internal quota calculation error Thanks, Lieven -------------- next part -------------- A non-text attachment was
2008 May 28
6
Error using antispam plugin
Hi When activating antispam plugin in imap protocol, when sending an email, Evolution/Thunderbirdkeeps infinitely "Sending authentication information", and Dovecor logs shows "dovecot: May 28 10:14:35 Error: child 6910 (imap) killed with signal 11"; lots of empty folders in /tmp are created with names like "antispam-mail-ZvyWeZ". I am using Dovecot1.1 rc15 compiled
2008 Jan 26
2
dovecot HEAD, assertion failed after 7193:e5af14239137 changeset
...0xcfbee598) at mail.c:100 No locals. #6 0x0804672b in quota_alloc (ctx=0x7d5ec5c0, mail=0x7ee27428) at quota.c:777 size = 3842 #7 0x080465cb in quota_try_alloc (ctx=0x7d5ec5c0, mail=0x7ee27428, too_large_r=0xcfbee5fb) at quota.c:725 size = 3842 ret = 0 #8 0x08049d2e in quota_check (t=0x876b3300, mail=0x7ee27428) at quota-storage.c:148 qt = (struct quota_transaction_context *) 0x7d5ec5c0 ret = 0 too_large = false #9 0x1c04c30b in mailbox_copy (t=0x0, mail=0x7ee27028, flags=0, keywords=0x0, dest_mail=0x0) at mail-storage.c:741 No locals. #10 0x1c0116...
2008 Oct 16
2
Backtrace of /usr/local/libexec/dovecot/imap
...0xb7efe590 in quota_test_alloc (ctx=0x84e13d0, size=2902771, too_large_r=0xbfe8cbeb) at quota.c:840 No locals. #12 0xb7efe7f2 in quota_try_alloc (ctx=0x84e13d0, mail=0x84e7730, too_large_r=0xbfe8cbeb) at quota.c:822 size = 25772706547 ret = <value optimized out> #13 0xb7f0305c in quota_check (t=0x84e0db8, mail=0x84e7730) at quota-storage.c:148 qt = (struct quota_transaction_context *) 0x84e13d0 ret = <value optimized out> too_large = false #14 0x0805d8a4 in cmd_copy (cmd=0x84a2088) at cmd-copy.c:66 client = (struct client *) 0x84a1e40 storage = (struct mail_storage *) 0x...
2011 Jun 29
1
Dovecot 2.0, mysql and quota
Hello all, I have some troubles to make the quota_check working with dovecot 2.0. My config is the following: postfix, dovecot as lda, mysql as virtual mailuser backend, and postfixadmin for the mailuser administration. Previously i have a working setup with dovecot 1.x, now with the 2.0 something is wrong about the quota, but i don't know what......
2008 Oct 16
2
imap crash (1.1.4)
...0xb7f6b590 in quota_test_alloc (ctx=0x8ee45d0, size=3527394, too_large_r=0xbfbf814b) at quota.c:840 No locals. #12 0xb7f6b7f2 in quota_try_alloc (ctx=0x8ee45d0, mail=0x8ef77c8, too_large_r=0xbfbf814b) at quota.c:822 size = 25773331170 ret = <value optimized out> #13 0xb7f7005c in quota_check (t=0x8ee3ff0, mail=0x8ef77c8) at quota-storage.c:148 qt = (struct quota_transaction_context *) 0x8ee45d0 ret = <value optimized out> too_large = false #14 0x0805d8a4 in cmd_copy (cmd=0x8ead088) at cmd-copy.c:66 client = (struct client *) 0x8eace40 storage = (struct mail_storage *) 0x...
2013 Jul 16
1
2.2.4 - Some questions about and needing help with quota-status
Help! I'm stuck. :-( The config of my experimental setup appears at the end of this message; I'm providing hereafter some more info that may not be immediately obvious. This is dovecot 2.2.4 with changesets 9091d0f2d971 and 2be295a0b64f. All involved databases are sqlite ones. passdb and userdb are devised so as to change usernames. For example, I could have a user with addresses