Error: Broken file dovecot-uidlist

Aki Tuomi aki.tuomi at open-xchange.com
Wed Feb 15 11:42:58 UTC 2023


> 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 Vyacheslav

Every 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


More information about the dovecot mailing list