<!doctype html>
<html>
<head>
<meta charset="UTF-8">
</head>
<body>
<div class="default-style">
Hi!
</div>
<div class="default-style">
<br>
</div>
<div class="default-style">
The .locks directory is ok. It's related to recent change on how duplicates are handled.
</div>
<div class="default-style">
<br>
</div>
<div class="default-style">
Aki
</div>
<blockquote type="cite">
<div>
On 06/12/2021 10:52 Aurel Mihai <mihai.aurel88@gmail.com> wrote:
</div>
<div>
<br>
</div>
<div>
<br>
</div>
<div dir="ltr">
<div>
Hi,
<br>Thank you.
<br>I configured mail home and mail location to point to different places: mail_home to /home/virtual0/%d/%n and, respectively, mail_location to maildir:/home/virtual0/%d/%n/Maildir
<br>Now the initial error: "Error: lmtp-server: conn unix:pid=40487,uid=107 [22]: rcpt user@domain: stat(/home/virtual0/domain/user/.dovecot.lda-dupes/tmp) failed: Not a directory" does no longer appear in the mail log, but in the user home directory there is still this folder showing up <strong>.dovecot.lda-dupes.locks,</strong> but this time it is empty, it has no "/cur", "/tmp", "/new" directories.
<br>
<br>
<br># ls -lha /home/virtual0/domain/user
<br>total 32K
<br>drwx------ 5 vmail mail 8.0K Dec 6 09:19 .
<br>drwx------ 4 vmail mail 152 Dec 6 08:50 ..
<br>-rw------- 1 vmail mail 568 Dec 6 09:19 .dovecot.lda-dupes
<br>drwx------ 2 vmail mail 152 Dec 6 09:19 .dovecot.lda-dupes.locks
<br>lrwxrwxrwx 1 vmail mail 23 Dec 6 08:33 .dovecot.sieve -> sieve/sieve.sieve.sieve
<br>-rw------- 1 vmail mail 323 Dec 6 09:19 .dovecot.svbin
<br>drwxr-xr-x 10 vmail mail 8.0K Dec 6 09:20 Maildir
<br>drwx------ 3 vmail mail 152 Dec 6 09:18 sieve
<br>
<br>
<br>
</div>Aurel
<br>
</div>
<br>
<div class="gmail_quote">
<div class="gmail_attr" dir="ltr">
On Fri, Dec 3, 2021 at 9:11 AM Aki Tuomi <<a href="mailto:aki.tuomi@open-xchange.com">aki.tuomi@open-xchange.com</a>> wrote:
<br>
</div>
<blockquote>
Hi Adrian, Aurel.
<br>
<br>I am not sure why Adrian consider that .dovecot.lda-dupes would have been changed like this?
<br>
<br>Your problem is that you have configured mail home and mail location to point to same place, causing dovecot to consider .dovecot.lda-dupes as a maildir folder.
<br>
<br>This is a very common misconfiguration, which leads into exactly this kind of issues.
<br>
<br>The recommended configuration is to configure mail_location=maildir:~/mail to avoid this issue.
<br>
<br>Aki
<br>
<br>> On 02/12/2021 20:42 Adrian Minta <<a target="_blank" href="mailto:adrian.minta@gmail.com" rel="noopener">adrian.minta@gmail.com</a>> wrote:
<br>>
<br>>
<br>> Hi Aurel,
<br>> apparently before 2.3.17 '.dovecot.lda-dupes' and '.dovecot.lda-dupes.lock' where files, but starting with this release they are full folders with cur/new/tmp in them.
<br>>
<br>> Don't know if this is a bug or something is missing from the docs.
<br>>
<br>> On 12/2/21 1:55 PM, Aurel Mihai wrote:
<br>>
<br>> > Hello,
<br>> >
<br>> > after upgrade to version 2.3.17, we enconter a lot of errors, such as:
<br>> >
<br>> >
<br>> > Dec 2 13:41:22 mail5 dovecot: lmtp(user@domain)<41944><EFw6IuKwqGHYowAAF7/xgA>: Error: lmtp-server: conn unix:pid=40487,uid=107 [22]: rcpt user@domain: stat(/home/virtual0/domain/user/.dovecot.lda-dupes/tmp) failed: Not a directory
<br>> >
<br>> >
<br>> >
<br>> >
<br>> >
<br>> >
<br>> > Any help please?
<br>> >
<br>> > Aurel
<br>> >
<br>> >
<br>> >
<br>> >
<br>> --
<br>> Best regards,
<br>> Adrian Minta
<br>>
<br>>
<br>>
<br>
</blockquote>
</div>
</blockquote>
<div class="default-style">
<br>
</div>
<div class="io-ox-signature">
<pre>---
Aki Tuomi</pre>
</div>
</body>
</html>