feature request: prevent linking of email
Marc
Marc at f1-outsourcing.eu
Wed Mar 17 18:58:31 EET 2021
>
> diff --git a/src/lib-storage/index/dbox-multi/mdbox-save.c b/src/lib-
> storage/index/dbox-multi/mdbox-save.c
> index ff6e4f77b0..b522951b1d 100644
> --- a/src/lib-storage/index/dbox-multi/mdbox-save.c
> +++ b/src/lib-storage/index/dbox-multi/mdbox-save.c
> @@ -440,7 +440,7 @@ int mdbox_copy(struct mail_save_context *_ctx,
> struct mail *mail)
> ctx->ctx.finished = TRUE;
>
> if (mail->box->storage != _ctx->transaction->box->storage ||
> - _ctx->transaction->box->disable_reflink_copy_to)
> + _ctx->transaction->box->disable_reflink_copy_to || TRUE)
> return mail_storage_copy(_ctx, mail);
> src_mbox = MDBOX_MAILBOX(mail->box);
I think you also have to adapt doveadm force-resync so it convert links to copies of old emails.
More information about the dovecot
mailing list