Skip to content
Snippets Groups Projects
Commit e51a625a authored by Stephan Bosch's avatar Stephan Bosch
Browse files

plugins: imapsieve: Fix assert panic occurring when a COPY event is triggered on a virtual mailbox.

Occurs when several mails from different backend mailboxes are involved in the
COPY event. Fixed by using mail_save_context->>copy_src_mail in mailbox_copy()
instead of the mail argument. The latter can point to the backend mailbox for
virtual mailboxes, which makes no sense to the imapsieve plugin as it expects
only one source mailbox.

Panic was:

Panic: file imap-sieve-storage.c: line 337 (imap_sieve_add_mailbox_copy_event): assertion failed: (ismt->src_box == NULL || ismt->src_box == src_mail->box)
parent 5c77bc11
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment

Consent

On this website, we use the web analytics service Matomo to analyze and review the use of our website. Through the collected statistics, we can improve our offerings and make them more appealing for you. Here, you can decide whether to allow us to process your data and set corresponding cookies for these purposes, in addition to technically necessary cookies. Further information on data protection—especially regarding "cookies" and "Matomo"—can be found in our privacy policy. You can withdraw your consent at any time.