[Dovecot] Deleting metadata smashes file dovecot.dict

Timo Sirainen tss at iki.fi
Mon Aug 20 21:22:58 EEST 2012


On 20.8.2012, at 16.35, Andre Gröbe wrote:

> it seems to me, that it depends on how dovecot handles line reading. Dovecot presumes that a line is of max length of IO_BLOCK_SIZE (=8192) Bytes.
> 
> Is there a fix so dovecot reads a line until EOL or EOF (if this is the real reason)?

Without having actually looked at the code, I'd guess you can just replace IO_BLOCK_SIZE with (size_t)-1.




More information about the dovecot mailing list