failed: Stream is smaller than expected (0 < 5098)

Aki Tuomi aki.tuomi at dovecot.fi
Fri Jun 15 13:55:40 EEST 2018



On 15.06.2018 13:50, Vladimir Tiukhtin wrote:
> Hi
>
> Looks like I have got in a situation with missing or corrupted
> attachments. I am getting from time to time
>
>
> lmtp(17147, user1 at example.com): Error:
> read(attachments-connector(zlib(/var/spool/mail/example.com/user2/mail/storage/m.203)))
> failed:
> read(/srv/attachments/user2/4a/e0/4ae062027dd745f56c2cc1c43fa4f349f52986a0-2bcf4e063994235bfb4200006f28d014[base64:19
> b/l]) failed: Stream is smaller than expected (0 < 5098)
>
>
> Replication works, but is there a way to recover the logic even with
> empty files or cleaning indices? Thanks
>
> Vladimir
>
>
>

What version of dovecot are you running?

Aki


More information about the dovecot mailing list