[Dovecot] Plugin question

Timo Sirainen tss at iki.fi
Sun Feb 14 21:23:46 EET 2010


On Sun, 2010-02-14 at 13:09 +0200, Valery Gorbunov wrote:
> Hi All
> 
> I needs to write plugin which converting messages by replacing entier
> message by one of parts of this message. In
> another words I need show part of multipart message instead entire message.
> Stream substitution in *mail->v.get_stream()* function gives incorrect
> results because mail indexed and cached before.
> Therefore I should wrap email during indexing too.

Emails must not change, or both Dovecot and IMAP clients get confused.
So if you're going to change it permanently, why not just do it on
delivery before it even reaches Dovecot? If you want some kind of a
temporary change, you need to think of another solution.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part
Url : http://dovecot.org/pipermail/dovecot/attachments/20100214/08077e4a/attachment.bin 


More information about the dovecot mailing list