<div dir="ltr"><div dir="ltr"><div dir="ltr"><div>I have strange problem. In last Friday I had a problem with dovecot. It didn't see directories with mailboxes in /var/vmail. Somehow it crashed because probably two things (a lot of this type of lines in mail.err file):</div><div><i>Nov 23 07:05:02 s1 dovecot: lda(<a href="mailto:poli@poli.li">poli@poli.li</a>): Error: User initialization failed: Initializing mail storage from mail_location setting failed: mkdir(/var/vmail/<a href="http://poli.li/poli/Maildir">poli.li/poli/Maildir</a>) failed: Permission denied (euid=5000(vmail) egid=5000(vmail) missing +w perm: /var/vmail, dir owned by 0:0 mode=0755)</i></div><div>and maybe <i><br></i></div><div><i>
</i><div><i>Nov 12 09:27:59 s1 dovecot: imap(<a href="mailto:artur@firmastanaszek.pl">artur@firmastanaszek.pl</a>):
Error: Corrupted index cache file
/var/vmail/<a href="http://firmastanaszek.pl/artur/Maildir/dovecot.index.cache">firmastanaszek.pl/artur/Maildir/dovecot.index.cache</a>: Broken
MIME parts for mail UID 559 in mailbox INBOX: Cached MIME parts don't
match message during parsing: Cached header size mismatch (parts=)<br>Nov
12 09:27:59 s1 dovecot: imap(<a href="mailto:artur@firmastanaszek.pl">artur@firmastanaszek.pl</a>): Error:
unlink(/var/vmail/<a href="http://firmastanaszek.pl/artur/Maildir/dovecot.index.cache">firmastanaszek.pl/artur/Maildir/dovecot.index.cache</a>)
failed: No such file or directory (in mail-cache.c:28)</i></div>
</div><div><br></div><div>and after this event probably all mailboxes download again all emails from 1.11 to 22.11. They were duplicated in mail clients.<br></div><div dir="ltr"><div>-- <br><div dir="ltr" class="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div><div><span style="color:rgb(153,153,153)"><i>Pozdrawiam / Best Regards<br></i></span></div><span style="color:rgb(153,153,153)"><i>Piotr Bracha</i></span><span style="color:rgb(153,153,153)"></span><br><span style="color:rgb(153,153,153)"></span></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div>