doveadm Mail storage autodetection failed

Joseph D Wagner joe at josephdwagner.info
Mon Aug 2 11:54:06 EEST 2021


I have a mixture of virtual mailboxes and local mailbox.  I got this:

# doveadm quota get -A
doveadm(nobody): Error: Namespace '': Mail storage autodetection failed with
home=/
doveadm(systemd-coredump): Error: Namespace '': Mail storage autodetection
failed with home=/
doveadm(polkitd): Error: Namespace '': Mail storage autodetection failed
with home=/
doveadm(unbound): Error: Namespace '': Mail storage autodetection failed
with home=/etc/unbound
doveadm(libstoragemgmt): Error: Namespace '': Mail storage autodetection
failed with home=/var/run/lsm
doveadm(clevis): Error: Namespace '': Mail storage autodetection failed with
home=/var/cache/clevis
doveadm(cockpit-ws): Error: Namespace '': Mail storage autodetection failed
with home=/
doveadm(setroubleshoot): Error: Namespace '': Mail storage autodetection
failed with home=/var/lib/setroubleshoot
doveadm(sssd): Error: Namespace '': Mail storage autodetection failed with
home=/
doveadm(insights): Error: Namespace '': Mail storage autodetection failed
with home=/var/lib/insights
doveadm(chrony): Error: Namespace '': Mail storage autodetection failed with
home=/var/lib/chrony
doveadm(cockpit-wsinstance): Error: Namespace '': Mail storage autodetection
failed with home=/nonexisting
doveadm(rngd): Error: Namespace '': Mail storage autodetection failed with
home=/var/lib/rngd
doveadm(dovenull): Error: Namespace '': Mail storage autodetection failed
with home=/usr/libexec/dovecot
doveadm(opendkim): Error: Namespace '': Mail storage autodetection failed
with home=/run/opendkim
doveadm(vmail): Error: Namespace '': Mail storage autodetection failed with
home=/home/vmail
doveadm(policyd-spf): Error: Namespace '': Mail storage autodetection failed
with home=/home/policyd-spf
doveadm(nginx): Error: Namespace '': Mail storage autodetection failed with
home=/var/lib/nginx

... plus valid and expected output here.

Is there some way I can get rid of these errors while preserving local
delivery for valid local mailboxes?

Thanks.  Config below.

Joseph D. Wagner


# 2.3.8 (9df20d2db): /etc/dovecot/dovecot.conf
# Pigeonhole version 0.5.8 (b7b03ba2)
# OS: Linux 4.18.0-315.el8.x86_64 x86_64 CentOS Stream release 8
# Hostname: <localdomain>
auth_mechanisms = plain login
auth_username_format = %{if;%d;eq;<localdomain>;%Ln;%Lu}
dict {
  attr = pgsql:/etc/dovecot/dovecot-dict-sql.conf.ext
}
imap_metadata = yes
mail_attribute_dict = proxy::attr
mail_plugins = " quota"
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 index ihave
duplicate mime foreverypart extracttext
mbox_write_locks = fcntl
namespace inbox {
  inbox = yes
  location =
  mailbox Archive {
    auto = create
    special_use = \Archive
  }
  mailbox "Deleted Items" {
    auto = create
    special_use = \Trash
  }
  mailbox Drafts {
    auto = create
    special_use = \Drafts
  }
  mailbox "Junk Email" {
    auto = create
    special_use = \Junk
  }
  mailbox Sent {
    special_use = \Sent
  }
  mailbox "Sent Items" {
    special_use = \Sent
  }
  prefix =
}
passdb {
  args = /etc/dovecot/dovecot-sql.conf.ext
  driver = sql
}
passdb {
  driver = pam
}
plugin {
  imap_compress_deflate_level = 9
  quota = count:User quota
  quota_vsizes = yes
  sieve = file:~/sieve;active=~/.dovecot.sieve
}
protocols = imap lmtp
service auth {
  unix_listener /var/spool/postfix/private/auth {
    group = postfix
    mode = 0660
    user = postfix
  }
}
service imap-login {
  inet_listener imap {
    port = 0
  }
  inet_listener imaps {
    port = 993
    ssl = yes
  }
}
service lmtp {
  unix_listener /var/spool/postfix/private/dovecot-lmtp {
    group = postfix
    mode = 0600
    user = postfix
  }
}
service pop3-login {
  inet_listener pop3 {
    port = 0
  }
  inet_listener pop3s {
    port = 995
    ssl = yes
  }
}
ssl = required
ssl_cert = </etc/pki/dovecot/certs/dovecot.pem
ssl_cipher_list =
AESGCM:CHACHA20:AESCCM:ARIA:+AES128:+ARIA128:!aNULL:!eNULL:!aDH:!kRSA
ssl_dh = # hidden, use -P to show it
ssl_key = # hidden, use -P to show it
ssl_min_protocol = TLSv1.2
ssl_prefer_server_ciphers = yes
userdb {
  args = /etc/dovecot/dovecot-sql.conf.ext
  driver = sql
}
userdb {
  driver = passwd
}
protocol lmtp {
  mail_plugins = " quota sieve"
}
protocol imap {
  mail_plugins = " quota imap_quota imap_zlib"
}




More information about the dovecot mailing list