Add a context structure to all message parts and remove the NULL checks. That way instead of returning a broken reply, imap_bodystructure_write() crashes if caller tries to give it non-parsed MIME parts.
Add a context structure to all message parts and remove the NULL checks.
That way instead of returning a broken reply, imap_bodystructure_write()
crashes if caller tries to give it non-parsed MIME parts.

Distrotech/dovecot,Distrotech/dovecot,Distrotech/dovecot,Distrotech/dovecot,Distrotech/dovecot