Claudio Prono
2011-Jun-22 08:24 UTC
[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 at domain.com): Error: User claudio at 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 = </etc/ssl/certs/SecureTrust_CA.pem ssl_cert = </etc/ssl/certs/dovecot.pem ssl_key = </etc/ssl/private/dovecot.pem userdb { driver = passwd } userdb { args = /etc/dovecot/dovecot-mysql.conf driver = sql } protocol imap { imap_client_workarounds mail_plugins = quota imap_quota } protocol sieve { managesieve_max_line_length = 65536 plugin { sieve = /var/mail/virtual/%d/%u/.dovecot.sieve sieve_storage = /var/mail/virtual/%d/%u/sieve } } protocol pop3 { mail_plugins = quota pop3_uidl_format = UID%u-%v } protocol lda { auth_socket_path = /var/run/dovecot/auth-master log_path = /var/log/dovecot-lda.log mail_plugins = quota sieve postmaster_address = postmaster at mediaservice.net } 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
Simone Caruso
2011-Jun-22 12:17 UTC
[Dovecot] User doesn't have home dir set, disabling duplicate database
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
Timo Sirainen
2011-Jun-28 00:48 UTC
[Dovecot] User doesn't have home dir set, disabling duplicate database
On Wed, 2011-06-22 at 10:24 +0200, Claudio Prono wrote:> Jun 22 10:18:07 lda(claudio at domain.com): Error: User claudio at 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