dovecot: Make ~/Mail/Folders the IMAP root.
[matthijs/servers/drsnuggles.git] / etc / dovecot / dovecot.conf
index 3feb70fce537ed46a52ab35c84aab9b62a4635b2..1e3cce873cc34756660361a7417b8cd32870f486 100644 (file)
 # configuration of the managesieve plugin/daemon.
 
 
-# We server LDAP and use the deliver Local Delivery Agent
-protocols = imaps lda
+# We serve IMAP, IMAPS and use the deliver Local Delivery Agent
+protocols = imap imaps lda
 
+# Allow plaintext auth on non-TLS connections. We don't expose the non-secure
+# imap port 143 to the internet, just locally for the webmail apps. This should
+# therefore not introduce a security issue.
+disable_plaintext_auth = no
+
+# Our SSL private key
+ssl_key_file = /etc/dovecot/ssl/mail.stdout.nl.key
+# The public certificate (including the entire chain to the root)
+ssl_cert_file = /etc/dovecot/ssl/mail.stdout.nl.crt
 
 protocol imap {
   # Enable virtual mailboxes
@@ -76,7 +85,7 @@ plugin {
 
 # Mail is stored in users' homedirs. We use the fs layout, so nesting of
 # mailboxes is done using normal filesystem nesting.
-mail_location = Maildir:~/Mail:LAYOUT=fs
+mail_location = Maildir:~/Mail/Folders:LAYOUT=fs
 
 # Default namespace, uses mail_location above
 namespace private {