Errors after upgrade to v2.3.17
Aurel Mihai
mihai.aurel88 at gmail.com
Mon Dec 6 08:52:05 UTC 2021
Hi,
Thank you.
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
Now the initial error: "Error: lmtp-server: conn unix:pid=40487,uid=107
[22]: rcpt user at 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 *.dovecot.lda-dupes.locks,*
but this time it is empty, it has no "/cur", "/tmp", "/new" directories.
# ls -lha /home/virtual0/domain/user
total 32K
drwx------ 5 vmail mail 8.0K Dec 6 09:19 .
drwx------ 4 vmail mail 152 Dec 6 08:50 ..
-rw------- 1 vmail mail 568 Dec 6 09:19 .dovecot.lda-dupes
drwx------ 2 vmail mail 152 Dec 6 09:19 .dovecot.lda-dupes.locks
lrwxrwxrwx 1 vmail mail 23 Dec 6 08:33 .dovecot.sieve ->
sieve/sieve.sieve.sieve
-rw------- 1 vmail mail 323 Dec 6 09:19 .dovecot.svbin
drwxr-xr-x 10 vmail mail 8.0K Dec 6 09:20 Maildir
drwx------ 3 vmail mail 152 Dec 6 09:18 sieve
Aurel
On Fri, Dec 3, 2021 at 9:11 AM Aki Tuomi <aki.tuomi at open-xchange.com> wrote:
> Hi Adrian, Aurel.
>
> I am not sure why Adrian consider that .dovecot.lda-dupes would have been
> changed like this?
>
> 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.
>
> This is a very common misconfiguration, which leads into exactly this kind
> of issues.
>
> The recommended configuration is to configure mail_location=maildir:~/mail
> to avoid this issue.
>
> Aki
>
> > On 02/12/2021 20:42 Adrian Minta <adrian.minta at gmail.com> wrote:
> >
> >
> > Hi Aurel,
> > 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.
> >
> > Don't know if this is a bug or something is missing from the docs.
> >
> > On 12/2/21 1:55 PM, Aurel Mihai wrote:
> >
> > > Hello,
> > >
> > > after upgrade to version 2.3.17, we enconter a lot of errors, such as:
> > >
> > >
> > > Dec 2 13:41:22 mail5 dovecot: lmtp(user at domain)<41944><EFw6IuKwqGHYowAAF7/xgA>:
> Error: lmtp-server: conn unix:pid=40487,uid=107 [22]: rcpt user at domain:
> stat(/home/virtual0/domain/user/.dovecot.lda-dupes/tmp) failed: Not a
> directory
> > >
> > >
> > >
> > >
> > >
> > >
> > > Any help please?
> > >
> > > Aurel
> > >
> > >
> > >
> > >
> > --
> > Best regards,
> > Adrian Minta
> >
> >
> >
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://dovecot.org/pipermail/dovecot/attachments/20211206/41791449/attachment.htm>
More information about the dovecot
mailing list