X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=pkgs%2Fdovecot%2Fplugins%2Fdeleted_to_trash%2Ffix_mbox.patch;fp=pkgs%2Fdovecot%2Fplugins%2Fdeleted_to_trash%2Ffix_mbox.patch;h=0060fb4d0b22b5e83812dada0d78432e1d1062e8;hb=a929614f94d11a4f397e72e74f38b3212c24cdee;hp=0000000000000000000000000000000000000000;hpb=53fa9f9e7d87835d6137a029fe80b3195e635797;p=perso%2FImmae%2FConfig%2FNix.git diff --git a/pkgs/dovecot/plugins/deleted_to_trash/fix_mbox.patch b/pkgs/dovecot/plugins/deleted_to_trash/fix_mbox.patch new file mode 100644 index 0000000..0060fb4 --- /dev/null +++ b/pkgs/dovecot/plugins/deleted_to_trash/fix_mbox.patch @@ -0,0 +1,12 @@ +diff --git a/src/deleted-to-trash-plugin.c b/src/deleted-to-trash-plugin.c +index bb4cc78..66bad53 100644 +--- a/src/deleted-to-trash-plugin.c ++++ b/src/deleted-to-trash-plugin.c +@@ -82,6 +82,7 @@ static struct mailbox *mailbox_open_or_create(struct mailbox_list *list, const c + *error_r = mail_storage_get_last_error(mailbox_get_storage(box), &error); + if (error != MAIL_ERROR_NOTFOUND) + { ++ i_error("%s", *error_r); + mailbox_free(&box); + return NULL; + }