From: Timo Sirainen Date: Mon, 9 Nov 2015 12:49:26 +0000 (+0200) Subject: virtual: Include mailbox name in "Backend mailbox added by another session." error. X-Git-Tag: 2.2.20.rc1~104 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=8f90ef65db62946aabe1969755edcdefb4eb430a;p=thirdparty%2Fdovecot%2Fcore.git virtual: Include mailbox name in "Backend mailbox added by another session." error. --- diff --git a/src/plugins/virtual/virtual-sync.c b/src/plugins/virtual/virtual-sync.c index 87b97acec5..479318037f 100644 --- a/src/plugins/virtual/virtual-sync.c +++ b/src/plugins/virtual/virtual-sync.c @@ -134,9 +134,9 @@ virtual_sync_get_backend_box(struct virtual_mailbox *mbox, const char *name, /* another process just added a new mailbox. we can't handle this currently. */ mbox->inconsistent = TRUE; - mail_storage_set_error(mbox->box.storage, MAIL_ERROR_TEMP, - "Backend mailbox added by another session. " - "Reopen the virtual mailbox."); + mail_storage_set_error(mbox->box.storage, MAIL_ERROR_TEMP, t_strdup_printf( + "Backend mailbox '%s' added by another session. " + "Reopen the virtual mailbox.", name)); return -1; }