Displaying 2 results from an estimated 2 matches for "mailbox_transaction_flag_external".
2006 Oct 04
1
fix: LDA logging
...x;
struct mailbox_transaction_context *t;
struct mail_keywords *kw;
+ const char *str;
int ret = 0;
box = mailbox_open_or_create_synced(storage, mailbox);
if (box == NULL)
return -1;
+ str = mail_get_first_header(mail, "Message-ID");
+
t = mailbox_transaction_begin(box, MAILBOX_TRANSACTION_FLAG_EXTERNAL);
kw = strarray_length(keywords) == 0 ? NULL :
@@ -117,10 +120,14 @@
ret = -1;
mailbox_keywords_free(t, &kw);
- if (ret < 0)
+ if (ret < 0) {
+ i_info("failed to deliver msgid=%s to %s", str, mailbox);
mailbox_transaction_rollback(&t);
- else
+ }
+ else {
+ i...
2012 Dec 13
5
dovecot-lda (2.1.12) segfaults
We uograded our dovecot from version 2.1.10 -> 2.10.12, but within
the first hour of use, dovecot-lda would segfault during delivery.
This left a lock file lying around causing the user's mail readers to
hang; much hilarity ensues. All further deliveries to the same user
will result in a crash.
The only thing that fixes this condition is to blow away the user's
INBOX cache index.