Crash when moving mail from Inbox to Trash

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Crash when moving mail from Inbox to Trash

Dovecot mailing list
Hi,


I am developing a dovecot plugin, and inside my plugin I am implementing my own expunge function. Inside my function, I am calling the following lines of code:

if (storage->v.mail_open(mail, &offset, &mail->open_file) < 0)
return -1;

The mail_open virtual function is an invalid address. The storage should be mdbox however, it seems that it didn't get the correct mdbox_mail_open of mdbox-storage.

Do you have any suggestions as to why this is happening?


dovecot version:
2.3.7 (a3d493f)


Sincerely,
Marvin