Commit 6a817597 authored by root's avatar root
Browse files

mailbox_list_index = yes enable it in case it give error disable it again

parent 1e0d7fad
Loading
Loading
Loading
Loading
+14 −14
Original line number Diff line number Diff line
@@ -14,29 +14,28 @@
#
# There are a few special variables you can use, eg.:
#
#   %u - username
#   %n - user part in user@domain, same as %u if there's no domain
#   %d - domain part in user@domain, empty if there's no domain
#   %h - home directory
#   %{user} - username
#   %{user|username} - user part in user@domain, same as %u if there's no domain
#   %{user|domain} - domain part in user@domain, empty if there's no domain
#   %{home} - home directory
#
# See doc/wiki/Variables.txt for full list. Some examples:
# See https://doc.dovecot.org/latest/core/settings/variables.html for full list
# of variables.
#
#   mail_location = maildir:~/Maildir
#   mail_location = mbox:~/mail:INBOX=/var/mail/%u
#   mail_location = mbox:/var/mail/%d/%1n/%n:INDEX=/var/indexes/%d/%1n/%n
# Example:
#  mail_driver = maildir
#  mail_path = ~/Maildir
#  mail_inbox_path = ~/Maildir/.INBOX
#
# <doc/wiki/MailLocation.txt>
#
# mail_location = mbox:~/mail/:INBOX=/var/mail/%u

# Debian defaults
# Note that upstream considers mbox deprecated and strongly recommends
# against its use in production environments. See further information
# at
# https://doc.dovecot.org/2.4.0/core/config/mailbox/formats/mbox.html

# https://doc.dovecot.org/2.4.1/core/config/mailbox/formats/mbox.html
mail_driver = mbox
mail_home = /home/%{user | username}
# mail_home = /home/%{user|username}
mail_path = %{home}/mail
mail_inbox_path = /var/mail/%{user}

@@ -234,6 +233,7 @@ mail_plugins =

# Mailbox list indexes can be used to optimize IMAP STATUS commands. They are
# also required for IMAP NOTIFY extension to be enabled.
# da sa izklichi mailbox_list_index = yes shtoto beshe izkliucheno
mailbox_list_index = yes

# Trust mailbox list index to be up-to-date. This reduces disk I/O at the cost