Displaying 20 results from an estimated 20 matches for "quota_transaction_context".
2008 Jul 11
1
Dovecot-1.1.1 with quota and antispam plugin - segmentation fault
...968c 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
qbox = (struct quota_mailbox *) 0x81381e8
#4 0x1833212f in antispam_save_finish (ctx=0x8152028...
2014 Nov 21
2
[PATCH] [dovecot 2.2.9] Quota warnings ignored with FS quotas
...ed on Ubuntu 14.04's dovecot 2.2.9.
Best regards,
Grzegorz Nosek
diff --git a/src/plugins/quota/quota.c b/src/plugins/quota/quota.c
index adbd70d..8e4d7e0 100644
--- a/src/plugins/quota/quota.c
+++ b/src/plugins/quota/quota.c
@@ -1163,6 +1163,8 @@ static void quota_warnings_execute(struct
quota_transaction_context *ctx,
&count_current, &count_limit) < 0)
return;
+ quota_root_recalculate_relative_rules(root->set, bytes_limit,
count_limit);
+
bytes_before = bytes_current - ctx->bytes_used;
count_before = count_current -...
2006 Feb 03
0
rquotad (NFS) quota plugin
...otad_quota_set_resource(struct quota_root *root,
+ const char *name __attr_unused__,
+ uint64_t value __attr_unused__)
+ {
+ struct rquotad_quota *quota = (struct rquotad_quota *)root->quota;
+
+ quota->error = "Permission denied";
+ return -1;
+ }
+
+ static struct quota_transaction_context *
+ rquotad_quota_transaction_begin(struct quota *quota)
+ {
+ struct quota_transaction_context *ctx;
+
+ ctx = i_new(struct quota_transaction_context, 1);
+ ctx->quota = quota;
+ return ctx;
+ }
+
+ static int
+ rquotad_quota_transaction_commit(struct quota_transaction_context *ctx)
+ {
+...
2015 Mar 23
1
[PATCH] [dovecot 2.2.9] Quota warnings ignored with FS quotas
...k
>>
>>
>> diff --git a/src/plugins/quota/quota.c b/src/plugins/quota/quota.c
>> index adbd70d..8e4d7e0 100644
>> --- a/src/plugins/quota/quota.c
>> +++ b/src/plugins/quota/quota.c
>> @@ -1163,6 +1163,8 @@ static void quota_warnings_execute(struct
>> quota_transaction_context *ctx,
>> &count_current, &count_limit) < 0)
>> return;
>>
>> + quota_root_recalculate_relative_rules(root->set, bytes_limit,
>> count_limit);
>> +
>> bytes_before = bytes_current -...
2010 Jun 08
1
Dovecot v2.0.beta5 (2d6cf78982dc): Crashes upon client login
...changes_r=0x7fffec59fd80) at quota-storage.c:91
91 quota-storage.c: No such file or directory.
in quota-storage.c
#0 quota_mailbox_transaction_commit (ctx=0x1d66660, changes_r=0x7fffec59fd80) at quota-storage.c:91
qbox = (struct quota_mailbox *) 0x1d5df50
qt = (struct quota_transaction_context *) 0x0
#1 0x00007fcfcaf5b69d in mailbox_transaction_commit_get_changes (_t=<value optimized out>, changes_r=0x7fffec59fd80) at mail-storage.c:1194
_data_stack_cur_id = 4
t = (struct mailbox_transaction_context *) 0x1d66660
ret = <value optimized out>
#2 0x00007...
2015 Feb 17
0
[PATCH] [dovecot 2.2.9] Quota warnings ignored with FS quotas
...est regards,
> Grzegorz Nosek
>
>
> diff --git a/src/plugins/quota/quota.c b/src/plugins/quota/quota.c
> index adbd70d..8e4d7e0 100644
> --- a/src/plugins/quota/quota.c
> +++ b/src/plugins/quota/quota.c
> @@ -1163,6 +1163,8 @@ static void quota_warnings_execute(struct
> quota_transaction_context *ctx,
> &count_current, &count_limit) < 0)
> return;
>
> + quota_root_recalculate_relative_rules(root->set, bytes_limit,
> count_limit);
> +
> bytes_before = bytes_current - ctx->bytes_used;
>...
2010 Apr 03
1
dovecot 2 beta4 errors & core dumps
..._rollback (t=0x80b2a90) at index-
transaction.c:144
box = (struct mailbox *) 0x808d340
itrans = (struct mail_index_transaction *) 0x0
__FUNCTION__ = "index_transaction_rollback"
#7 0xb7cdaaea in quota_mailbox_transaction_rollback (ctx=0x80b2a90)
at quota-storage.c:112
qt = (struct quota_transaction_context *) 0x80a9628
#8 0xb7ef03f0 in mailbox_transaction_rollback (_t=0x808d780) at mail-
storage.c:1155
t = (struct mailbox_transaction_context *) 0x6aeb
#9 0xb7cda323 in quota_mailbox_sync_cleanup (qbox=0x808d6c0) at quota-
storage.c:246
No locals.
#10 0xb7cda4df in quota_mailbox_sync_notify (box=0...
2008 Sep 08
6
error in 1.1.2
Ive been getting a LOT of these errors since 1.1.2: So far ive seen this
with 1800 customers, and we're getting active complaints about errors in
imap clients. When I check the users log I always see this error..
This always happens with COPY commands in Squirrelmail.
Sep 2 20:09:35 userimap4.xs4all.nl dovecot: IMAP(xxxxxxx):
2013 Aug 01
1
[PATCH] quota-status: allow different action for messages that are too large (over maximum quota)
...tatic 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_transaction_begin(box);
- ret = quota_test_alloc(ctx, I_MAX(1, mail_size), &too_large);
+ ret = quota_test_alloc(ctx, I_MAX(1, mail_size), too_...
2008 Oct 06
2
Dovecot 1.1.4 crash
...240
update_dict = false
ret = 4
#1 0x2ace6b90 in quota_mailbox_transaction_commit (ctx=0x10045248, uid_validity_r=0x7fff77fc, first_saved_uid_r=0x7fff7800, last_saved_uid_r=0x7fff7804)
at quota-storage.c:95
qbox = (struct quota_mailbox *) 0x100422d0
qt = (struct quota_transaction_context *) 0x10032f60
#2 0x0048c90c in mailbox_transaction_commit_get_uids (_t=0x5, uid_validity_r=0x7fff7f70, first_saved_uid_r=0x10009f90, last_saved_uid_r=0x1006e6b0) at mail-storage.c:689
t = (struct mailbox_transaction_context *) 0x4
#3 0x00413430 in cmd_copy (cmd=0x100160c0) at cmd-copy.c:1...
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
2007 Nov 25
2
imap process killed with signal 11
Hi!
Using the latest cvs from HEAD, I'm experiencing problems after sending
a message and the client is trying upload the message to the
appropriate (Sent/Queue) folder. I get only one error in dovecot.log:
dovecot: Nov 25 14:21:31 Error: child 19554 (imap) killed with signal 11
So my client disconnects, and asks for the password again, and in
dovecot.info I get nothing, but the logs of the
2008 Jan 26
2
dovecot HEAD, assertion failed after 7193:e5af14239137 changeset
...=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 0x1c0116e6 in fetch_and_copy (client=0x86fe3180, destbox=0x7ee22028,
t=0x876b3300, search_args=0x84d55068, src...
2007 Nov 11
1
quota rewrite patch
Hi,
Can quota-rewrite-1.0.2.diff patch be applied to 1.0.5 or later versions?
Anyone has tested it with 1.0.5 or 1.0.7 versions?
Pawel
---------------------------------------------------------------
Wiadomosc wyslana z panelu pocztowego iNet.
http://www.inet.pl
2008 Oct 16
2
Backtrace of /usr/local/libexec/dovecot/imap
...e8cbeb) 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 *) 0x84a1758
destbox = (struct mailbox *) 0x84cf3c8
t = (struct mailbox_transaction_context *) 0x84e...
2010 Oct 10
1
Dovecot 2.0 lock upgrade assertion failure
...0x0
result = {log_file_seq = 0, log_file_offset = 0, commit_size =
0,
ignored_modseq_changes = 0}
ret = <value optimized out>
#14 0x00007fe805075bd1 in quota_mailbox_transaction_commit
(ctx=0x1d0bd80,
changes_r=0x7fff71f8d160) at quota-storage.c:94
qt = (struct quota_transaction_context *) 0x1cfd610
#15 0x00007fe8060a822d in mailbox_transaction_commit_get_changes (
_t=<value optimized out>, changes_r=0x7fff71f8d160) at
mail-storage.c:1215
_data_stack_cur_id = 3
t = (struct mailbox_transaction_context *) 0x1d0bd80
ret = <value optimized out>...
2008 Oct 16
2
imap crash (1.1.4)
...bf814b) 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 *) 0x8eac758
destbox = (struct mailbox *) 0x8ecf7f0
t = (struct mailbox_transaction_context *) 0x8ee...
2008 Mar 29
3
Expire plugin with Mysql
Hey guys, got a question about the expire plugin. According to the
wiki, the expire plugin "keeps an internal database (Berkeley DB or
SQL)". I was wondering what fields in the mysql table are needed for
expire to work.
I assume it is setup is similar to the quota dict
setup, so was just wondering what fields are required (i.e:
select_field, where_field, username_field, for quota).
2006 Jun 20
1
Group-based filesystem quota
Hello. After using Dovecot for over a year, I have just started
experimenting with the filesystem quotas, and I have a suggestion for
improvement. On my mail server, I use group-based quotas, and would
like to have Dovecot be able to report these quotas.
It should be simple to implement, requiring only changes to the
quota-fs.c file of the quota plugin. Simply changing USRQUOTA to
2006 Aug 21
2
Filesystem Quota Enhancement Patch
..._root *root,
const char *name __attr_unused__,
uint64_t value __attr_unused__)
{
quota_set_error(root->setup->quota, MAIL_STORAGE_ERR_NO_PERMISSION);
return -1;
}
static struct quota_root_transaction_context *
fs_quota_transaction_begin(struct quota_root *root,
struct quota_transaction_context *ctx)
{
struct quota_root_transaction_context *root_ctx;
root_ctx = i_new(struct quota_root_transaction_context, 1);
root_ctx->root = root;
root_ctx->ctx = ctx;
root_ctx->disabled = TRUE;
return root_ctx;
}
static int
fs_quota_transaction_commit(struct quota_root_transaction_contex...