<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  </head>
  <body>
    <p>I forgot to mention that sometimes users receive duplicate
      messages and Dovecot log:</p>
    <p>Dec  3 10:16:12 xxx dovecot:
      lmtp(xxx@xxx)<13468><a class="moz-txt-link-rfc2396E" href="OOFDAlXgqWGcNAAAIQnY6g:12"><OOFDAlXgqWGcNAAAIQnY6g:12></a>:
      Warning: /mnt/mail-storage-lv0007/xxx/Maildir/dovecot-uidlist:
      Duplicate file entry at line 2072:
      1638522075.M489729P12338.xxx,S=5854,W=5943 (uid 71164 -> 71166)</p>
    <p>Thanks</p>
    <p>Regars<br>
    </p>
    <div class="moz-cite-prefix">On 03/12/21 17:50, Claudio Corvino
      wrote:<br>
    </div>
    <blockquote type="cite"
      cite="mid:4535c4ff-847a-fe04-d322-2d9f65971a14@trustitalia.it">
      <meta http-equiv="content-type" content="text/html; charset=UTF-8">
      <p>Hi,</p>
      <p>I have two IMAP/LMTP Dovecot server in replica (version
        2.3.4.1), I use LDAP/AD for <i>userdb, </i>replica is working,
        but sometimes I get these errors into log:</p>
      <p>Dec  3 15:47:15 xxx dovecot:
        imap(xxx)<28251><TOSxmj7SPRYloY5/>: Warning: Maildir
        /mnt/mail-storage-lv0007/xxx/Maildir: Expunged message
        reappeared, giving a new UID (old uid=233140,
        file=1638540323.M588041P27708.xxx,S=84376,W=85507:2,)<br>
      </p>
      <p>The user delete the message and then the message reappears into
        mail client after one second.<br>
      </p>
      <p>Does anybody knows how can I fix it?</p>
      <p>Thanks in advance</p>
      <p>Regards<br>
      </p>
    </blockquote>
    <div class="moz-signature">-- <br>
      <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
      <title></title>
      <style type="text/css">
    .attacca {
        margin-top: -15px;
    }
</style>
      <div>
        <p style="line-height:normal"> <strong><span
              style="font-size:11.0pt;font-family:Helvetica;color:black">Claudio
              Corvino</span><br>
            <span
              style="font-size:9.0pt;font-family:Helvetica;color:gray;">IT
              Systems Administrator</span></strong> </p>
        <p> <a href="https://www.trustitalia.it/"><span
style="font-size:9.0pt;font-family:Helvetica;color:windowtext;text-decoration:none;text-underline:none">
              <img
                src="https://www.trustitalia.it/immagini/logo_20_anni.png"
                alt="Trust Italia S.p.A." width="125" height="60"
                border="0"></span> </a><br>
        </p>
        <div class="attacca"
          style="font-size:9.0pt;font-family:Helvetica;color:gray"> <strong>DigiCert
            Italian Affiliate<br>
            Certified Partner Platinum Elite</strong> </div>
        <p> <span
            style="font-size:8.0pt;font-family:Helvetica;color:gray">Via
            Flaminia, 497 - 00191 Roma</span><br>
          <strong><span
style="font-size:8.0pt;font-family:Helvetica;font-weight:normal;color:gray">tel.:
              +39 06332287</span></strong><br>
          <strong><span
style="font-size:8.0pt;font-family:Helvetica;font-weight:normal;color:gray">fax:
              +39 063336145</span></strong><br>
          <strong><span
style="font-size:8.0pt;font-family:Helvetica;font-weight:normal;color:gray">e-mail:
            </span></strong> <span style="font-size:8.0pt"><a
              href="mailto:ccorvino@trustitalia.it"><span
                style="font-family:Helvetica;color:#990033;">ccorvino@trustitalia.it</span></a></span><br>
          <strong><span
style="font-size:8.0pt;font-family:Helvetica;font-weight:normal;color:gray">website:
            </span></strong> <span style="font-size:8.0pt"><a
              href="https://www.trustitalia.it"><span
                style="font-family:Helvetica;color:#990033;">www.trustitalia.it</span></a></span>
        </p>
        <div class="attacca" <p=""> <img
src="https://www.trustitalia.it/immagini/DigiCertSymantecWebsiteSecurity_LockupLogo_H.png"
            alt="Symantec Authentication Service" moz-do-not-send="true"
            width="140" height="80" border="0"><br>
          <span
style="font-size:6pt;font-family:Helvetica;font-weight:normal;color:gray">Le
            modalità di trattamento dei dati a cui è stato dato il
            consenso e le relative finalità sono consultabili al <a
href="https://www.trustitalia.it/archivio/legal_agreements/informativa_privacy_email_marketing.pdf">
              <span style="font-family:Helvetica;color:#990033;">link</span></a>.<br>
            Qualora non desiderasse ricevere le nostre comunicazioni,
            potrà comunicarlo mediante il seguente <a
href="https://www.trustitalia.it/site/info_css/05110101/revoca-del-consenso"><span
                style="font-family:Helvetica;color:#990033;">link</span></a>.<br>
            Inoltre, in ogni momento, potrà modificare o cancellare i
            dati presenti nel nostro archivio contattandoci
            all'indirizzo <span style="font-size:6.0pt"><a
                href="mailto:privacy@trustitalia.it"><span
                  style="font-family:Helvetica;color:#990033;">privacy@trustitalia.it</span></a></span></span><br>
          <span
style="position:relative;z-index:251659264;left:-1px;top:0px;width:237px;height:2px"><img
              src="https://www.trustitalia.it/immagini/trasp.png" alt=""
              moz-do-not-send="true" width="237" height="2"></span><br>
          <span style="z-index:251660288;width:24px;height:10px"><img
              src="https://www.trustitalia.it/immagini/noprintme.png"
              alt="Se possibile non stamparmi!" moz-do-not-send="true"
              width="24" height="10"></span> <span style="left:
            3px;font-size:7.0pt;font-family:Helvetica;color:black">Se
            possibile, non stamparmi!</span> </div>
      </div>
    </div>
  </body>
</html>