[Dovecot] User doesn't have home dir set, disabling duplicate database
Hello all,
I have a strange message into the logs of dovecot, il says something like:
Jun 22 10:18:07 lda(claudio@domain.com): Error: User claudio@domain.com doesn't have home dir set, disabling duplicate database
But the mail arrives correctly, and no problems at all.
I have googled a little about, and i have found a post it says to put mail_home and not home into the plugin part of the configuration, but this is not my problem..
Here is my conf:
# 2.0.13: /etc/dovecot/dovecot.conf # OS: Linux 2.6.37.6-0.5-desktop x86_64 openSUSE 11.4 (x86_64) ext3 auth_mechanisms = plain login first_valid_gid = 51 first_valid_uid = 51 info_log_path = /var/log/dovecot-inf.log last_valid_gid = 51 last_valid_uid = 51 log_path = /var/log/dovecot-err.log mail_location = maildir:/var/mail/virtual/%d/%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 namespace { hidden = no inbox = yes list = yes location = prefix = INBOX. subscriptions = yes type = private } passdb { args = /etc/dovecot/dovecot-mysql.conf driver = sql } plugin { mail_home = /var/mail/virtual/%d/%u/ quota = maildir:User quota quota_warning = storage=80%% /usr/bin/quota_warning.sh 80 quota_warning2 = storage=90%% /usr/bin/quota_warning.sh 90 quota_warning3 = storage=99%% /usr/bin/quota_warning.sh 90 sieve = /var/mail/virtual/%d/%u/.dovecot.sieve sieve_storage = /var/mail/virtual/%d/%u/sieve } protocols = imap pop3 sieve service auth { unix_listener /var/spool/postfix/private/auth { group = postfix mode = 0660 user = postfix } unix_listener auth-master { mode = 0600 } unix_listener auth-userdb { group = nobody mode = 0660 user = postfix } } service imap-login { inet_listener imap { address = 127.0.0.1 port = 143 } inet_listener imaps { address = * port = 993 } } service managesieve-login { executable = /usr/lib/dovecot/managesieve-login } service managesieve { executable = /usr/lib/dovecot/managesieve } ssl_ca =
Any hint?
Cordially,
Claudio Prono.
--
Claudio Prono OPST
System Developer
Gsm: +39-349-54.33.258
@PSS Srl Tel: +39-011-32.72.100
Via San Bernardino, 17 Fax: +39-011-32.46.497
10141 Torino - ITALY http://atpss.net/disclaimer
PGP Key - http://keys.atpss.net/c_prono.asc
On 22/06/2011 10:24, Claudio Prono wrote:
mail_location = maildir:/var/mail/virtual/%d/%u mail_home = /var/mail/virtual/%d/%u/ Dovecot complains because mail_home should be -ne mail_location
-- Simone Caruso IT Consultant p.iva: 03045250838
Il 22/06/2011 14.17, Simone Caruso ha scritto:
On 22/06/2011 10:24, Claudio Prono wrote:
mail_location = maildir:/var/mail/virtual/%d/%u mail_home = /var/mail/virtual/%d/%u/ Dovecot complains because mail_home should be -ne mail_location
Sorry but is not clear to me... mail_location sould be not equal to mail_location.... so i can leave empty mail_home? Or viceversa?
--
Claudio Prono OPST
System Developer
Gsm: +39-349-54.33.258
@PSS Srl Tel: +39-011-32.72.100
Via San Bernardino, 17 Fax: +39-011-32.46.497
10141 Torino - ITALY http://atpss.net/disclaimer
PGP Key - http://keys.atpss.net/c_prono.asc
On 22/06/2011 14:52, Claudio Prono wrote:
Il 22/06/2011 14.17, Simone Caruso ha scritto:
On 22/06/2011 10:24, Claudio Prono wrote:
mail_location = maildir:/var/mail/virtual/%d/%u mail_home = /var/mail/virtual/%d/%u/ Dovecot complains because mail_home should be -ne mail_location
Sorry but is not clear to me... mail_location sould be not equal to mail_location.... so i can leave empty mail_home? Or viceversa?
You have to use another dir for mail_home (not empty), different from mail_localtion. rif: http://wiki.dovecot.org/MailLocation "Homeless users"
-- Simone Caruso IT Consultant p.iva: 03045250838
On Wed, 2011-06-22 at 10:24 +0200, Claudio Prono wrote:
Jun 22 10:18:07 lda(claudio@domain.com): Error: User claudio@domain.com doesn't have home dir set, disabling duplicate database
But the mail arrives correctly, and no problems at all.
I have googled a little about, and i have found a post it says to put mail_home and not home into the plugin part of the configuration, but this is not my problem..
The old kludge was to use plugin { home }. The newer better way is to set mail_home setting (outside plugin {}).
Home doesn't have to be different from mail dir, although it would be better. http://wiki2.dovecot.org/VirtualUsers/Home
participants (3)
-
Claudio Prono
-
Simone Caruso
-
Timo Sirainen