[Dovecot] mdbox, quota, ns, maildir quota?

Brandon Lamb brandonlamb at gmail.com
Fri Mar 25 18:47:12 EET 2011


Hello,

I pasted my config below, hoping someone can point out something obvious.

In my dovecot.log I am seeing:
Warning: quota: Namespace '' is not Maildir, skipping for Maildir++ quota

I am using mysql userdb_* and passing maildir:~/maildir or
mdbox:~/mdbox for mail. When its maildir its fine, I had that
originally then used dsync to convert to mdbox, updated mysql entry to
point to mdbox:~/mdbox and now I keept getting those quota errors.

It IS possible to have mixed environment still correct? Some users can
be maildir and some can be mdbox since Im using the per-user userdb
options?

Any hints here? I would swear this was all working on a different
server I had setup but Im no longer employed there so I cant peek at
the config =P

Thanks for any help or tips

Brandon

-------------------------------------------------------------------------------

root at mail1:~# dovecot -n
# 2.0.11: /etc/dovecot/dovecot.conf
# OS: Linux 2.6.37-2-amd64 x86_64 Debian wheezy/sid
auth_cache_negative_ttl = 30 secs
auth_cache_size = 4 k
auth_cache_ttl = 30 secs
auth_default_realm = greencrane.com
auth_mechanisms = plain login
auth_username_format = %Lu
auth_verbose = yes
auth_worker_max_count = 60
base_dir = /var/run/dovecot
debug_log_path = /var/log/dovecot/debug.log
default_client_limit = 1024
default_internal_user = mail
default_login_user = mail
deliver_log_format = %s from %f %$
dict/expire = mysql:/etc/dovecot/conf.d/dovecot-dict-expire.conf.ext
disable_plaintext_auth = no
first_valid_gid = 8
first_valid_uid = 8
info_log_path = /var/log/dovecot/info.log
last_valid_gid = 8
last_valid_uid = 8
log_path = /var/log/dovecot/dovecot.log
log_timestamp = "%Y-%m-%d %H:%M:%S "
login_log_format = %s
login_log_format_elements = (%u) (%r)
mail_access_groups = mail
mail_fsync = never
mail_gid = 8
mail_location = maildir:~/maildir
mail_log_prefix = "%Ls <%u>: "
mail_max_userip_connections = 4
mail_plugins = quota expire
mail_privileged_group = mail
mail_uid = 8
mailbox_idle_check_interval = 1 mins
maildir_very_dirty_syncs = yes
passdb {
  args = /etc/dovecot/conf.d/dovecot-sql.conf.ext
  driver = sql
}
plugin/auth_socket_path = /var/run/dovecot/auth-master
plugin/autocreate = Trash
plugin/autocreate2 = Sent
plugin/autocreate3 = Drafts
plugin/autocreate4 = Spam
plugin/autosubscribe = Trash
plugin/autosubscribe2 = Sent
plugin/autosubscribe3 = Drafts
plugin/autosubscribe4 = Spam
plugin/quota = maildir:User quota
plugin/quota_warning = storage=95%% quota-warning 95 %u
plugin/quota_warning2 = storage=80%% quota-warning 80 %u
protocols = imap pop3
service auth {
  executable = /usr/local/libexec/dovecot/auth
  unix_listener auth-client {
    group = mail
    mode = 0666
    user = mail
  }
  unix_listener auth-master {
    group = mail
    mode = 0666
    user = mail
  }
  unix_listener auth-userdb {
    group = mail
    mode = 0666
    user = mail
  }
  vsz_limit = 512 M
}
service dict {
  unix_listener dict {
    group = mail
    mode = 0666
  }
}
service imap-login {
  chroot = login
  client_limit = 512
  executable = /usr/local/libexec/dovecot/imap-login
  process_limit = 20
  process_min_avail = 4
  service_count = 0
  user = dovecot
  vsz_limit = 128 M
}
service imap {
  drop_priv_before_exec = no
  executable = /usr/local/libexec/dovecot/imap
  vsz_limit = 512 M
}
service pop3-login {
  chroot = login
  client_limit = 512
  executable = /usr/local/libexec/dovecot/pop3-login
  process_limit = 20
  process_min_avail = 4
  service_count = 0
  user = dovecot
  vsz_limit = 128 M
}
service pop3 {
  drop_priv_before_exec = no
  executable = /usr/local/libexec/dovecot/pop3
  vsz_limit = 512 M
}
service quota-warning {
  executable = script /etc/dovecot/quota-warning.sh
  user = mail
}
ssl_cert = </etc/dovecot/ssl/dovecot-cert.pem
ssl_key = </etc/dovecot/ssl/dovecot-key.pem
userdb {
  driver = prefetch
}
userdb {
  args = /etc/dovecot/conf.d/dovecot-sql.conf.ext
  driver = sql
}
valid_chroot_dirs = /mail
verbose_proctitle = yes
protocol lda {
  auth_socket_path = /var/run/dovecot/auth-userdb
  info_log_path = /var/log/dovecot/deliver.log
  lda_mailbox_autocreate = yes
  lda_mailbox_autosubscribe = yes
  log_path = /var/log/dovecot/deliver.log
  mail_fsync = optimized
  mail_plugin_dir = /usr/local/lib/dovecot
  mail_plugins = quota expire trash autocreate
  postmaster_address = postmaster at greencrane.com
  quota_full_tempfail = yes
  rejection_reason = Your message to <%t> with subject of <%s> was
automatically rejected:%n%r
  rejection_subject = Mailbox Full: %s
  sendmail_path = /usr/sbin/exim
}
protocol imap {
  imap_client_workarounds = delay-newmail tb-extra-mailbox-sep
  imap_id_log = *
  imap_logout_format = bytes=%i/%o
  imap_max_line_length = 64 k
  mail_max_userip_connections = 20
  mail_plugin_dir = /usr/local/lib/dovecot
  mail_plugins = quota expire imap_quota autocreate trash
}
protocol pop3 {
  mail_max_userip_connections = 2
  mail_plugin_dir = /usr/local/lib/dovecot
  mail_plugins = quota expire
  pop3_client_workarounds = outlook-no-nuls oe-ns-eoh
  pop3_enable_last = no
  pop3_lock_session = no
  pop3_logout_format = retr=%r/%b, del=%d/%m, size=%s
  pop3_no_flag_updates = yes
  pop3_reuse_xuidl = no
  pop3_save_uidl = yes
  pop3_uidl_format = %g
}


More information about the dovecot mailing list