[Dovecot] Error: User doesn't have home dir set, disabling duplicate database
Hello,
I have found this message in logs. But delivering is working.
Error: User peter@mydomain.cz doesn't have home dir set, disabling
duplicate database
doveconf -n
# 2.0.8: /etc/dovecot/dovecot.conf
# OS: Linux 2.6.32-lts i686 ext3
auth_mechanisms = plain login
disable_plaintext_auth = no
mail_location = maildir:/home/vmail/%u
managesieve_notify_capability = mailto
managesieve_sieve_capability = fileinto reject envelope encoded-character
vacation subaddress comparator-i;ascii-numeric relational regex imap4flags
copy include variables body enotify environment mailbox date
passdb {
args = /etc/dovecot/dovecot-sql.conf.ext
driver = sql
}
plugin {
home = /home/vmail/%u
sieve = /home/vmail/%u/dovecot.sieve
sieve_global_path = /home/vmail/dovecot-global.sieve
}
postmaster_address = postmaster@mydomain.cz
protocols = imap pop3
service auth {
unix_listener auth-userdb {
group = vmail
mode = 0660
user = vmail
}
}
ssl_cert =
I have googled little bit. According to this article
http://wiki2.dovecot.org/VirtualUsers/Home
I think the problem is:
mail_location = maildir:/home/vmail/%u and plugin { home = /home/vmail/%u }
is the same directory.
Is it right?
Is the solution to set mail_location = maildir:/home/vmail/mail/%u ?
-- Best regards Filip
On Wed, 2010-12-29 at 09:42 +0100, fila@pruda.com wrote:
I have googled little bit. According to this article
http://wiki2.dovecot.org/VirtualUsers/Home
Yes.
I think the problem is: mail_location = maildir:/home/vmail/%u and plugin { home = /home/vmail/%u } is the same directory. Is it right?
No. The problem is that plugin { home } no longer works. Use mail_home instead.
No. The problem is that plugin { home } no longer works. Use mail_home instead.
Thank you Timo. Setting mail_home solves my problem.
I have added to the wiki ( http://wiki2.dovecot.org/VirtualUsers/Home ) an example. It was very difficult to find something about mail_home .
participants (2)
-
fila@pruda.com
-
Timo Sirainen