Quoting Alex JOST jost+lists@dimejo.at:
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@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@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.
Exactly that was the case. Thanks for your help.
Michael