search for: new_stamp

Displaying 4 results from an estimated 4 matches for "new_stamp".

2012 May 15
1
[PATCH] dovecot-lda with expire plugin segfaults if dict failed
...lugin.c 2012-05-15 14:52:24.004189104 +0200 +++ dovecot-2.1.5/src/plugins/expire/expire-plugin.c 2012-05-15 14:53:03.472187894 +0200 @@ -166,7 +166,7 @@ /* first time saving here with expire enabled */ first_save_timestamp(box, &new_stamp); update_dict = TRUE; - } else if (strcmp(value, "0") == 0) { + } else if (ret > 0 && strcmp(value, "0") == 0) { /* we're saving the first mail to this mail...
2008 Oct 27
1
Empty/corrupt mail leads to duplicate delivery
...++ b/src/plugins/expire/expire-plugin.c Mon Oct 06 22:06:40 2008 +0300 @@ -99,6 +99,7 @@ expire_mailbox_transaction_commit(struct { struct expire_mailbox *xpr_box = EXPIRE_CONTEXT(t->box); struct expire_transaction_context *xt = EXPIRE_CONTEXT(t); + struct mailbox *box = t->box; time_t new_stamp; bool update_dict = FALSE; int ret; @@ -117,13 +118,14 @@ expire_mailbox_transaction_commit(struct i_free(xt); return -1; } + /* transaction is freed now */ + t = NULL; if (xt->first_expunged || xt->saves) T_BEGIN { const char *key, *value; key = t_strconcat(DICT_PATH_...
2008 Oct 06
2
Dovecot 1.1.4 crash
...last_saved_uid_r=0x7fff7804) at expire-plugin.c:124 key = 0x7fff7800 "?\f" value = 0x10010290 "" _data_stack_cur_id = 4750760 xpr_box = (struct expire_mailbox *) 0x10042250 xt = (struct expire_transaction_context *) 0x10032f50 new_stamp = 268644240 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 =...
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).