Vladimir Tiukhtin
2018-Jun-15 10:50 UTC
failed: Stream is smaller than expected (0 < 5098)
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
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
Vladimir Tiukhtin
2018-Jun-15 11:00 UTC
failed: Stream is smaller than expected (0 < 5098)
Ah yes, sorry dovecot --version 2.2.10 provided by CentOS 7.5 On 15/06/18 11:55, Aki Tuomi wrote:> > 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
Reasonably Related Threads
- failed: Stream is smaller than expected (0 < 5098)
- BUG: Unknown command in userdb socket: CPID?2625
- BUG: Unknown command in userdb socket: CPID?2625
- BUG: Unknown command in userdb socket: CPID?2625
- Replication fails with dsync-server(admin@asergis.com): Error: Couldn't create lock /home/admin/.dovecot-sync.lock: No such file or directory