Dovecot is looking for .dovecot.lda-dupes in the wrong place

Alex JOST jost+lists at dimejo.at
Wed Sep 3 11:17:42 UTC 2014


Am 02.09.2014 um 15:59 schrieb Michael:
> Hi,
> I just moved the dovecot maildir location for all virtual users to
> another location.
> I moved everything from
> /var/mail/vhosts/%d/%n
> to
> /var/vmail/%d/%n/maildir
>
> Everything seem to be fine except of one recurring error:
>
> Sep  2 10:16:09 mx0 dovecot: lmtp(13226, sv_bogies at neurohr.at): Error:
> file_dotlock_open(/var/mail/vhosts/domain.at/michael/.dovecot.lda-dupes)
> failed: No such file or directory
> Sep  2 13:31:27 mx0 dovecot: lmtp(16248, sv_bogies at neurohr.at): Error:
> file_dotlock_open(/var/mail/vhosts/domain.at/michael/.dovecot.lda-dupes)
> failed: No such file or directory
>
>
> So Dovecot is looking in the old path. How can I fix that?

> mail_location = maildir:/var/vmail/%d/%n/maildir
> passdb {
>    args = /etc/dovecot/dovecot-sql.conf
>    driver = sql
> }
> userdb {
>    args = /etc/dovecot/dovecot-sql.conf
>    driver = sql

Check the SQL query if it is overwriting your configuration.

-- 
Alex JOST


More information about the dovecot mailing list