Old tweaks to Dovecot config to put mail in the right place
authorAlex Dehnert <adehnert@mit.edu>
Fri, 27 Mar 2020 06:25:00 +0000 (06:25 +0000)
committerAlex Dehnert <adehnert@mit.edu>
Fri, 27 Mar 2020 06:25:27 +0000 (06:25 +0000)
conf.d/10-mail.conf
conf.d/auth-static.conf.ext

index c85a1876315773be50917524ffae113d3d9483c5..ee921fe413de6b29463cbe1c8cf7fb3c3b4b0949 100644 (file)
@@ -28,7 +28,7 @@
 # <doc/wiki/MailLocation.txt>
 #
 #mail_location = 
-mail_location = maildir:~/.maildir
+mail_location = maildir:~/maildir
 
 # If you need to set multiple mailbox locations or want to change default
 # namespace settings, you can do it by defining namespace sections.
@@ -45,9 +45,9 @@ mail_location = maildir:~/.maildir
 # 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 {
+namespace inbox {
   # Namespace type: private, shared or public
-  #type = private
+  type = private
 
   # Hierarchy separator to use. You should use the same separator for all
   # namespaces or some clients get confused. '/' is usually a good one.
@@ -64,7 +64,7 @@ mail_location = maildir:~/.maildir
 
   # There can be only one INBOX, and this setting defines which namespace
   # has it.
-  #inbox = no
+  inbox = yes
 
   # If namespace is hidden, it's not advertised to clients via NAMESPACE
   # extension. You'll most likely also want to set list=no. This is mostly
@@ -83,7 +83,7 @@ mail_location = maildir:~/.maildir
   #subscriptions = yes
 
   # See 15-mailboxes.conf for definitions of special mailboxes.
-#}
+}
 
 # Example shared namespace configuration
 #namespace {
@@ -138,6 +138,7 @@ mail_location = maildir:~/.maildir
 # Dictionary for key=value mailbox attributes. This is used for example by
 # URLAUTH and METADATA extensions.
 #mail_attribute_dict =
+mail_attribute_dict = file:%h/maildir/dovecot-attributes
 
 # A comment or note that is associated with the server. This value is
 # accessible for authenticated users through the IMAP METADATA server
index 911e6f34963fe1904149745e68153e49ee92917c..8288929a5c91a206ac5be02b291b5d758a1f2482 100644 (file)
@@ -20,5 +20,5 @@
 
 userdb {
   driver = static
-  args = uid=dovecot-vmail gid=dovecot-vmail home=/var/mail/virtual/%u
+  args = uid=dovecot-vmail gid=dovecot-vmail home=/var/mail/virtual/data/%u
 }