<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  </head>
  <body>
    <div class="moz-cite-prefix">Il 25/08/20 16:27, Aki Tuomi ha
      scritto:
    </div>
    <blockquote type="cite"
cite="mid:1653700662.7955.1598365630321@appsuite-dev-gw2.open-xchange.com">
      <blockquote type="cite">
        <pre class="moz-quote-pre" wrap="">On 25/08/2020 16:43 Alessio Cecchi <a class="moz-txt-link-rfc2396E" href="mailto:alessio@skye.it"><alessio@skye.it></a> wrote:


Hi,
 
 I'm running 3 Dovecot director and 6 Dovecot backend on CentOS 6 and Dovecot 2.3.10, with Maildir shared on NFSv3 (on NetApp).
 
 Since CentOS 6 will be EOL on November I started to upgrade to CentOS 7 the first Dovecot backend.
 
 But after Director start to direct users on new CentOS 7 server some errors, for any users, come up, an example:
 
 Aug 21 14:56:41 Error: imap(<a class="moz-txt-link-abbreviated" href="mailto:alessio@cecchi.it">alessio@cecchi.it</a>) session=<11sBlmKtj1qelGW/>: Mailbox INBOX: Broken or unexpectedly changed file /home/vmail/domains/cecchi.it/alessio/Maildir/dovecot-uidlist line 18664: Invalid data: - re-reading from beginning
 Aug 21 14:56:41 Error: imap(<a class="moz-txt-link-abbreviated" href="mailto:alessio@cecchi.it">alessio@cecchi.it</a>) session=<11sBlmKtj1qelGW/>: Mailbox INBOX: Broken file /home/vmail/domains/cecchi.it/alessio/Maildir/dovecot-uidlist line 18664: Invalid data:
 
 Consequently to the error the user see the synchronization of his mailbox again.
 
 The Dovecot version and configuration is the same that in CentOS 6, also the mount parameters are the same, so I suspect that could be some difference in the NFS client implementation on CentOS 7.
 
 This the entry on fstab:
 
 192.168.1.2:/vmail0 /mnt/vmail0 nfs rw,nfsvers=3,noatime,nodiratime,_netdev,nordirplus 0 0
 # Bind for vmail0
 /mnt/vmail0/domains /home/vmail/domains none x-systemd.requires=/mnt/vmail0,x-systemd.automount,bind 0 0
 
 In the archive of this list I found a similar issue but without a solutions:
 
 <a class="moz-txt-link-freetext" href="https://dovecot.org/pipermail/dovecot/2018-October/113207.html">https://dovecot.org/pipermail/dovecot/2018-October/113207.html</a>
 
 Do you have any suggestions?
 Thanks

-- 
Alessio Cecchi
Postmaster @ <a class="moz-txt-link-freetext" href="http://www.qboxmail.it">http://www.qboxmail.it</a>
<a class="moz-txt-link-freetext" href="https://www.linkedin.com/in/alessice">https://www.linkedin.com/in/alessice</a>
</pre>
      </blockquote>
      <pre class="moz-quote-pre" wrap="">
What versions are you running mixed?

Aki
</pre>
    </blockquote>
    <p>Hi Aki,</p>
    <p>the only mixed version is CentOS version on Dovecot backend:</p>
    <p>CentoS 6 backend:<br>
    </p>
    <p># dovecot -n<br>
      # 2.3.10 (0da0eff44): /etc/dovecot/dovecot.conf<br>
      # Pigeonhole version 0.5.10 (bf8ef1c2)<br>
      # OS: Linux 2.6.32-754.29.2.el6.x86_64 x86_64 CentOS release 6.10
      (Final)</p>
    <p>Centos 7 backend:</p>
    <p># dovecot -n<br>
      # 2.3.10 (0da0eff44): /etc/dovecot/dovecot.conf<br>
      # Pigeonhole version 0.5.10 (bf8ef1c2)<br>
      # OS: Linux 3.10.0-1127.18.2.el7.x86_64 x86_64 CentOS Linux
      release 7.8.2003 (Core) <br>
    </p>
    <p>and also the dovecot configuration is the same (was copied via
      rsync):</p>
    <p>$ diff dovecot-a-cos6.txt dovecot-a-cos7.txt <br>
      3,4c3,4<br>
      < # OS: Linux 2.6.32-754.29.2.el6.x86_64 x86_64 CentOS release
      6.10 (Final) <br>
      < # Hostname: pop01<br>
      ---<br>
      > # OS: Linux 3.10.0-1127.18.2.el7.x86_64 x86_64 CentOS Linux
      release 7.8.2003 (Core) <br>
      > # Hostname: pop02<br>
      126c126<br>
      < import_environment = TZ CORE_OUTOFMEM CORE_ERROR<br>
      ---<br>
      > import_environment = TZ CORE_OUTOFMEM CORE_ERROR LISTEN_PID
      LISTEN_FDS</p>
    <p>I have noticed this, a user have the "Indalid data" error on
      Centos 7, I moved him to Centos 6, with doveadm director move, and
      the "Invalid data" error come again also on Centos 6 but only one
      time, like if the dovecot-uidlist file was wrong and need to be
      fixed, but after the "fix" executed from Dovecot in Centos 6 the
      file become fine. <br>
    </p>
    <p>Instead, on Centos 7 the "Invalid data" error comes multiple
      time.<br>
    </p>
    <p>Thanks<br>
    </p>
    <pre class="moz-signature" cols="72">-- 
Alessio Cecchi
Postmaster @ <a class="moz-txt-link-freetext" href="http://www.qboxmail.it">http://www.qboxmail.it</a>
<a class="moz-txt-link-freetext" href="https://www.linkedin.com/in/alessice">https://www.linkedin.com/in/alessice</a></pre>
  </body>
</html>