[dovecot-cvs] dovecot dovecot-example.conf,1.194.2.22,1.194.2.23

tss at dovecot.org tss at dovecot.org
Tue Oct 17 11:55:53 UTC 2006


Update of /var/lib/cvs/dovecot
In directory talvi:/tmp/cvs-serv27280

Modified Files:
      Tag: branch_1_0
	dovecot-example.conf 
Log Message:
Renamed default_mail_env to mail_location. Keep the default_mail_env working
anyway for backwards compatibility.



Index: dovecot-example.conf
===================================================================
RCS file: /var/lib/cvs/dovecot/dovecot-example.conf,v
retrieving revision 1.194.2.22
retrieving revision 1.194.2.23
diff -u -d -r1.194.2.22 -r1.194.2.23
--- dovecot-example.conf	15 Oct 2006 22:14:10 -0000	1.194.2.22
+++ dovecot-example.conf	17 Oct 2006 10:55:50 -0000	1.194.2.23
@@ -179,9 +179,16 @@
 ## Mailbox locations and namespaces
 ##
 
-# Default MAIL environment to use when it's not set. By leaving this empty
-# dovecot tries to do some automatic detection as described in
-# doc/mail-storages.txt. There are a few special variables you can use, eg.:
+# Location for users' mailboxes. This is the same as the old default_mail_env
+# setting. The default is empty, which means that Dovecot tries to find the
+# mailboxes automatically. This won't work if the user doesn't have any mail
+# yet, so you should explicitly tell Dovecot the full location.
+#
+# If you're using mbox, giving a path to INBOX file (eg. /var/mail/%u) isn't
+# enough. You'll also need to tell Dovecot where the other mailboxes are and
+# where Dovecot can place its index files.
+#
+# There are a few special variables you can use, eg.:
 #
 #   %u - username
 #   %n - user part in user at domain, same as %u if there's no domain
@@ -190,11 +197,13 @@
 #
 # See doc/variables.txt for full list. Some examples:
 #
-#   default_mail_env = maildir:/var/mail/%1u/%u/Maildir
-#   default_mail_env = mbox:~/mail/:INBOX=/var/mail/%u
-#   default_mail_env = mbox:/var/mail/%d/%n/:INDEX=/var/indexes/%d/%n
+#   mail_location = maildir:/var/mail/%1u/%u/Maildir
+#   mail_location = mbox:~/mail/:INBOX=/var/mail/%u
+#   mail_location = mbox:/var/mail/%d/%n/:INDEX=/var/indexes/%d/%n
 #
-#default_mail_env = 
+# http://wiki.dovecot.org/MailLocation
+#
+#mail_location = 
 
 # If you need to set multiple mailbox locations or want to change default
 # namespace settings, you can do it by defining namespace sections:
@@ -206,7 +215,7 @@
 # accessible mailboxes.
 #
 # REMEMBER: If you add any namespaces, the default namespace must be added
-# explicitly, ie. default_mail_env does nothing unless you have a namespace
+# explicitly, ie. mail_location does nothing unless you have a namespace
 # without a location setting. Default namespace is simply done by having a
 # namespace with empty prefix.
 #namespace private {
@@ -220,7 +229,7 @@
    #prefix = 
 
    # Physical location of the mailbox. This is in same format as
-   # default_mail_env, which is also the default for it.
+   # mail_location, which is also the default for it.
    #location =
 
    # There can be only one INBOX, and this setting defines which namespace
@@ -984,7 +993,7 @@
   #acl = vfile:/etc/dovecot-acls
 
   # Convert plugin. If set, specifies the source storage path which is
-  # converted to destination storage (default_mail_env).
+  # converted to destination storage (mail_location).
   #convert_mail = mbox:%h/mail
 
   # Trash plugin. When saving a message would make user go over quota, this



More information about the dovecot-cvs mailing list