Displaying 7 results from an estimated 7 matches for "too_large".
Did you mean:
too_large_r
2013 Aug 01
1
[PATCH] quota-status: allow different action for messages that are too large (over maximum quota)
...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_context *ctx;
- bool too_large;
int ret;
if (quser == NULL) {
@@ -64,7 +63,7 @@
box = mailbox_alloc(ns->list, "INBOX", 0);
ctx = quota_t...
2014 Jun 26
1
Bug in quota_get_status
Hi,
the configuration option
lmtp_rcpt_check_quota = yes
didn't work, so I traced down the problem:
quota_get_status (quota_storage.c:89) calls quota_test_alloc
(quota.c:1352) with size = 0 bytes, which leads always to a FALSE result
in quota_is_over (quota.c:1305).
I've fixed the function quota_is_over by considering ctx->bytes_over and
ctx->count_over. See the included
2008 Jul 11
1
Dovecot-1.1.1 with quota and antispam plugin - segmentation fault
...es Yes Real-time event 32
(gdb) Continuing.
Program received signal SIGSEGV, 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)...
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
..., 3485394280}}
path = 0x0
#5 0x1c04a120 in mail_get_physical_size (mail=0x0, size_r=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=0...
2008 Oct 16
2
Backtrace of /usr/local/libexec/dovecot/imap
...et = 0
__PRETTY_FUNCTION__ = "maildir_storage_sync_init"
#9 0x080a4d69 in mailbox_sync (box=0x85092e0, flags=0, status_items=0,
status_r=0x0) at mail-storage.c:516
ctx = (struct mailbox_sync_context *) 0x0
#10 0xb806a38a in trash_quota_test_alloc (ctx=0x84e13d0, size=2902771,
too_large_r=0xbfe8cbeb) at trash-plugin.c:52
ret = 0
i = 0
#11 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 = 2577270654...
2008 Oct 16
2
imap crash (1.1.4)
...et = 0
__PRETTY_FUNCTION__ = "maildir_storage_sync_init"
#9 0x080a4d69 in mailbox_sync (box=0x8f21c20, flags=0, status_items=0,
status_r=0x0) at mail-storage.c:516
ctx = (struct mailbox_sync_context *) 0x0
#10 0xb80d738a in trash_quota_test_alloc (ctx=0x8ee45d0, size=3527394,
too_large_r=0xbfbf814b) at trash-plugin.c:52
ret = 0
i = 0
#11 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 = 2577333117...