Hi All, In mail.log are exists error messages "Error: Broken file /data/mail/vhosts/domain.com/user at domain.com/Maildir/dovecot-uidlist line XX: Invalid data: for some email accounts. For example, dovecot-uidlist line 21197: Invalid data: When I open line 21197 in editor: # vim +21197 dovecot-uidlist 1750207 :1676454069.M698819P4439.mail-b,S=963716,W=976359 and then check this file size # ls -l /data/mail/vhosts/domain.com/user at domain.com/Maildir/cur/1676454069.M698819P4439.mail-b,S=963716,W=976359:2,S -rw------- 1 vmail vmail 963716 Feb 15 10:41 I see that size is the same: 963176 bytes. So what exactly mentioned in error message "dovecot-uidlist line 21197: Invalid data:"? -- Best wishes Sohin Vyacheslav
> On 15/02/2023 13:32 EET Sohin Vyacheslav <slawa at vivaldi.net> wrote: > > > Hi All, > > In mail.log are exists error messages "Error: Broken file > /data/mail/vhosts/domain.com/user at domain.com/Maildir/dovecot-uidlist > line XX: Invalid data: for some email accounts. > > For example, > dovecot-uidlist line 21197: Invalid data: > > When I open line 21197 in editor: > # vim +21197 dovecot-uidlist > 1750207 :1676454069.M698819P4439.mail-b,S=963716,W=976359 > > and then check this file size > # ls -l > /data/mail/vhosts/domain.com/user at domain.com/Maildir/cur/1676454069.M698819P4439.mail-b,S=963716,W=976359:2,S > -rw------- 1 vmail vmail 963716 Feb 15 10:41 > > > I see that size is the same: 963176 bytes. So what exactly mentioned in > error message "dovecot-uidlist line 21197: Invalid data:"? > > -- > Best wishes > Sohin VyacheslavEvery time that happens I've seen it's been zerofilled (due to NFS), and not yet filled with actual data. Size might be right, but it just contains NULs. Aki
Hi Can you send me info about mounted options (fstab) and what is your kernel and nfs version in client and your storage W dniu 15.02.2023 o?12:32, Sohin Vyacheslav pisze:> > Hi All, > > In mail.log are exists error messages "Error: Broken file > /data/mail/vhosts/domain.com/user at domain.com/Maildir/dovecot-uidlist > line XX: Invalid data: for some email accounts. > > For example, > dovecot-uidlist line 21197: Invalid data: > > When I open line 21197 in editor: > # vim +21197 dovecot-uidlist > 1750207 :1676454069.M698819P4439.mail-b,S=963716,W=976359 > > and then check this file size > # ls -l > /data/mail/vhosts/domain.com/user at domain.com/Maildir/cur/1676454069.M698819P4439.mail-b,S=963716,W=976359:2,S > -rw------- 1 vmail vmail 963716 Feb 15 10:41 > > > I see that size is the same: 963176 bytes. So what exactly mentioned > in error message "dovecot-uidlist line 21197: Invalid data:"? >-------------- next part -------------- A non-text attachment was scrubbed... Name: OpenPGP_signature Type: application/pgp-signature Size: 840 bytes Desc: OpenPGP digital signature URL: <https://dovecot.org/pipermail/dovecot/attachments/20230215/d8aa0823/attachment.sig>