Re: [Dovecot] Plugin question

2010-02-14 Thread Timo Sirainen
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

[Dovecot] Plugin question

2010-02-14 Thread Valery Gorbunov
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 a

Re: [Dovecot] Plugin question

2010-02-08 Thread Timo Sirainen
On 8.2.2010, at 17.40, Valery Gorbunov wrote: > I am developing plugin for Dovecot. And I needs for read some configuration > file at startup > and store configuration in application wide variable. As I see the > plugin_init() method calls > multiple times and allocates plugin's variables each

[Dovecot] Plugin question

2010-02-08 Thread Valery Gorbunov
Hi All. I am developing plugin for Dovecot. And I needs for read some configuration file at startup and store configuration in application wide variable. As I see the plugin_init() method calls multiple times and allocates plugin's variables each time. Could you suggest better way to store va