[Dovecot] Error: Syncing mailbox virtual failed: Virtual mailbox missing configuration file

Mike Constabel listen at constabel.net
Sat Oct 12 20:37:49 EEST 2013


Hi,

if I use

doveadm search -u xx at xx.de savedbefore 15w

or other search queries i got as first line:

doveadm(xx at xx.de): Error: Syncing mailbox virtual failed: Virtual mailbox missing configuration file

The virtual Mailbox has a config file:

# cat /mailspool1/xx.de/xx/Maildir/virtual/Alle\ eigenen\ E-Mails/dovecot-virtual 
*
  all


root at srv-mail:~# doveconf -n
# 2.2.6 (81aedacbb01f): /etc/dovecot/dovecot.conf
# OS: Linux 3.2.0-4-amd64 x86_64 Debian 7.2 ext4
auth_mechanisms = plain login
dict {
  expire = sqlite:/etc/dovecot/dovecot-dict-sql.conf.ext
  quota = mysql:/etc/dovecot/dovecot-dict-sql.conf.ext
}
lmtp_save_to_detail_mailbox = yes
log_path = /var/log/dovecot/dovecot.log
mail_attachment_dir = /mailspool1/attachments
mail_attachment_min_size = 64 k
mail_location = 
mdbox:/mailspool1/%d/%n/mdbox:ALT=/mailspool2/%d/%n/mdbox
mail_plugins = quota mail_log notify expire trash acl zlib 
mailbox_alias virtual
mail_privileged_group = mail
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 ihave
namespace {
  list = children
  location = 
mdbox:/mailspool1/%%d/%%n/mdbox:INDEXPVT=~/mdbox/shared/%%u
  prefix = shared/%%u/
  separator = /
  type = shared
}
namespace {
  list = children
  location = 
mdbox:/mailspool1/public-folders/mdbox:INDEXPVT=~/mdbox/public/public-folders
  prefix = public/
  separator = /
  type = public
}
namespace {
  location = virtual:~/Maildir/virtual
  prefix = virtual/
  separator = /
}
namespace inbox {
  inbox = yes
  list = yes
  location = 
  mailbox Drafts {
    auto = subscribe
    special_use = \Drafts
  }
  mailbox Junk {
    auto = subscribe
    special_use = \Junk
  }
  mailbox Sent {
    auto = subscribe
    special_use = \Sent
  }
  mailbox "Sent Messages" {
    special_use = \Sent
  }
  mailbox Trash {
    auto = subscribe
    special_use = \Trash
  }
  mailbox virtual/All {
    special_use = \All
  }
  mailbox virtual/Flagged {
    special_use = \Flagged
  }
  prefix = 
  separator = /
  subscriptions = yes
  type = private
}
passdb {
  args = /etc/dovecot/dovecot-sql.conf.ext
  driver = sql
}
plugin {
  acl = vfile
  acl_shared_dict = file:/mailspool1/shared-mailboxes.db
  mail_log_events = delete undelete expunge copy mailbox_create mailbox_delete mailbox_rename
  mail_log_fields = uid box msgid size
  mailbox_alias_new = Sent Messages
  mailbox_alias_new2 = Sent Items
  mailbox_alias_new3 = Gesendete Elemente
  mailbox_alias_new4 = Gelöschte Elemente
  mailbox_alias_new5 = Junk-E-Mail
  mailbox_alias_old = Sent
  mailbox_alias_old2 = Sent
  mailbox_alias_old3 = Sent
  mailbox_alias_old4 = Trash
  mailbox_alias_old5 = Junk
  quota = dict:User quota::proxy::quota
  quota_grace = 10%%
  quota_rule = *:storage=10G
  quota_rule2 = Trash:storage=+100M
  quota_warning = storage=95%% quota-warning 95 %u
  quota_warning2 = storage=80%% quota-warning 80 %u
  sieve = ~/.dovecot.sieve
  sieve_dir = ~/sieve
  zlib_save = gz
  zlib_save_level = 6
}
pop3_client_workarounds = outlook-no-nuls
protocols = " imap lmtp sieve pop3"
service auth {
  unix_listener /var/spool/postfix/private/auth {
    group = postfix
    mode = 0666
    user = postfix
  }
}
service dict {
  unix_listener dict {
    group = vmail
    mode = 0660
  }
}
service lmtp {
  inet_listener lmtp {
    address = 192.168.1.98
    port = 24
  }
}
service managesieve-login {
  inet_listener sieve {
    port = 4190
  }
  service_count = 1
}
service managesieve {
  process_limit = 1024
}
ssl_cert = </etc/dovecot/dovecot.pem
ssl_key = </etc/dovecot/private/dovecot.pem
userdb {
  args = /etc/dovecot/dovecot-sql.conf.ext
  driver = sql
}
protocol lmtp {
  mail_plugins = quota mail_log notify expire trash acl zlib mailbox_alias virtual sieve
}
protocol lda {
  mail_plugins = quota mail_log notify expire trash acl zlib mailbox_alias virtual sieve
}
protocol imap {
  mail_plugins = quota mail_log notify expire trash acl zlib mailbox_alias virtual imap_quota imap_acl
}



More information about the dovecot mailing list