[Dovecot] zlib Plugin Dovecot 2.0

Timo Sirainen tss at iki.fi
Fri Apr 16 19:29:51 EEST 2010


On 16.4.2010, at 19.15, Alex Baule wrote:

> This iov is every line from the new emaill to save ?
> 
> Or this is a email block with X bytes ?
> 
> In my function to write email, i split the email by \n, to save it splited,
> and if the iov is splited by \n, is good for me.

You can't assume anything about iov. iov_count is typically 1, but can be much more. Each block's length can be from 1 byte to anything (typically less than 8kB I guess).


More information about the dovecot mailing list