[Dovecot] Implementation of editheaders in dovecot
Konstantin Lepa
konstantin.lepa at gmail.com
Fri Apr 3 21:11:27 EEST 2009
Thank you very much :-)
On Apr 3, 2009, at 21:29 , Timo Sirainen wrote:
> On Fri, 2009-04-03 at 21:25 +0400, Konstantin Lepa wrote:
>> Yeah, but it doesn't work without i_stream_seek(stream, 0) before.
>>
>> How can I remove EOH after i_stream_create_header_filter (second
>> '\n')? Is it possible?
>
> You can give i_stream_create_header_filter() a callback function,
> which
> gets called for each header line, and once for the EOH with hdr->eoh
> ==
> TRUE. There you can set *matched = FALSE and it won't add the EOH.
>
More information about the dovecot
mailing list