|
@@ -12,9 +12,11 @@ disable_plaintext_auth = yes
|
|
|
#mail_nfs_index = yes
|
|
|
#mail_nfs_storage = yes
|
|
|
login_log_format_elements = "user=<%u> method=%m rip=%r lip=%l mpid=%e %c %k"
|
|
|
-mail_home = /var/vmail/%d/%n
|
|
|
-mail_location = maildir:~/
|
|
|
mail_plugins = quota acl zlib listescape mail_crypt mail_crypt_acl
|
|
|
+mail_home = /var/vmail/%d/%n
|
|
|
+mail_attachment_fs = crypt:set_prefix=mail_crypt_global:posix:
|
|
|
+mail_attachment_dir = /var/attachments
|
|
|
+mail_attachment_min_size = 128k
|
|
|
|
|
|
# Dovecot 2.2
|
|
|
#ssl_protocols = !SSLv3
|
|
@@ -175,7 +177,7 @@ namespace {
|
|
|
type = shared
|
|
|
separator = /
|
|
|
prefix = Shared/%%u/
|
|
|
- location = maildir:%%h/:INDEX=~/Shared/%%u;CONTROL=~/Shared/%%u
|
|
|
+ location = auto:%%h/:INDEX=~/Shared/%%u:CONTROL=~/Shared/%%u
|
|
|
subscriptions = no
|
|
|
list = children
|
|
|
}
|
|
@@ -190,6 +192,13 @@ service dict {
|
|
|
service log {
|
|
|
user = dovenull
|
|
|
}
|
|
|
+service config {
|
|
|
+ unix_listener config {
|
|
|
+ user = root
|
|
|
+ group = vmail
|
|
|
+ mode = 0660
|
|
|
+ }
|
|
|
+}
|
|
|
service auth {
|
|
|
inet_listener auth-inet {
|
|
|
port = 10001
|