We shouldn't set importer->mail_error, because we're not going to
fail the import.
Fixes assert-crash:
dsync-mailbox-import.c: line 2812 (dsync_mailbox_import_deinit): assertion failed: (importer->failed == (importer->mail_error != 0))
attr->key, &value) < 0) {
i_error("Mailbox %s: Failed to set attribute %s: %s",
mailbox_get_vname(importer->box), attr->key,
- mailbox_get_last_error(importer->box, &importer->mail_error));
+ mailbox_get_last_error(importer->box, NULL));
/* the attributes aren't vital, don't fail everything just
because of them. */
}