On 22-06-2009 at 17:35, Timo Sirainen wrote: >Hmm. Out of these two possibilities, I think it's easier to just >return a modified message from mail_get_stream(). You could probably >do something similar to what mbox does and use >i_stream_create_header_filter() where you simply return a new >X-Mailbox: header after the headers are sent.
Thank you, Timo. I'll need to get familiar with Dovecot sources. That would be implemented as a patch against the virtual plugin? Or as a patch against the maildir code? - al.