Error: stat no such file or directory with 2.2.33.2

Timo Sirainen tss at iki.fi
Wed Dec 13 21:09:22 EET 2017


On 13 Dec 2017, at 9.55, María Arrea <maria.arrea at gmx.com> wrote:
> 
> 
>     We have upgraded today from Dovecot 2.2.31 to Dovecot 2.2.33.2 and modified our config to include ITERINDEX in mail_location and we are detecting some errors like this:
> 
> 
> /Dec 13 08:17:31 buzon_rhel7 dovecot: imap(rboloix): Error: stat(/buzones/location/18/48/rboloix/mailboxes/SIT - Pra&AwE-cticas 2014/dbox-Mails) failed: No such file or directory//
> //Dec 13 08:40:24 buzon_rhel7 dovecot: imap(espi): Error: stat(/buzones/location/11/21/espi/mailboxes/CURSOS/ACCION SOCIAL/dbox-Mails) failed: No such file or directory//
> //Dec 13 08:40:25 buzon_rhel7 dovecot: imap(espi: Error: stat(/buzones/location/11/21/espi/mailboxes/CURSOS/ACCION SOCIAL/dbox-Mails) failed: No such file or directory//
> //Dec 13 08:41:59 buzon_rhel7 dovecot: imap(espi): Error: stat(/buzones/location/11/21/espi/mailboxes/CURSOS/ACCION SOCIAL/dbox-Mails) failed: No such file or directory/

I think /indices_dovecot/indices/11/21/espi/mailboxes/CURSOS/ACCION SOCIAL/dbox-Mails exists, but this one doesn't? So it's a desync between what exists and what doesn't. A fix would be to either delete the folder from the indices_dovecot or mkdir this missing directory back. I guess it would be nice if Dovecot would mkdir it back automatically. Although I don't know where the stat() errors are coming from exactly - I tried a few tests and I could get a different error by trying to APPEND to the folder, but couldn't figure out how to trigger a stat() error.



More information about the dovecot mailing list