<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<p><br>
</p>
<div class="moz-cite-prefix">On 26.11.2018 10.01, Poliman - Serwis
wrote:<br>
</div>
<blockquote type="cite"
cite="mid:CAG6pj8JQv7ssR3FqSYyMdvasnL+HYi-0Zzzf7pMdAbQ+LLjrrQ@mail.gmail.com">
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<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" moz-do-not-send="true">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"
moz-do-not-send="true">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>
</div>
</div>
</blockquote>
<p>/var/vmail is not owned by vmail:vmail, which I think it should
be in your configuration.<br>
</p>
<blockquote type="cite"
cite="mid:CAG6pj8JQv7ssR3FqSYyMdvasnL+HYi-0Zzzf7pMdAbQ+LLjrrQ@mail.gmail.com">
<div dir="ltr">
<div dir="ltr">
<div dir="ltr">
<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"
moz-do-not-send="true">artur@firmastanaszek.pl</a>):
Error: Corrupted index cache file /var/vmail/<a
href="http://firmastanaszek.pl/artur/Maildir/dovecot.index.cache"
moz-do-not-send="true">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"
moz-do-not-send="true">artur@firmastanaszek.pl</a>):
Error: unlink(/var/vmail/<a
href="http://firmastanaszek.pl/artur/Maildir/dovecot.index.cache"
moz-do-not-send="true">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>
</div>
</div>
</blockquote>
<p>Unlikely that this causes all mailboxes to download all mails. <br>
</p>
<blockquote type="cite"
cite="mid:CAG6pj8JQv7ssR3FqSYyMdvasnL+HYi-0Zzzf7pMdAbQ+LLjrrQ@mail.gmail.com">
<div dir="ltr">
<div dir="ltr">
<div dir="ltr">
<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>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</blockquote>
<p>Also which version of dovecot is this?<br>
</p>
<p>Aki<br>
</p>
</body>
</html>