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@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