[Dovecot] Create crypted mail_attachment_fs to store attachments with a min size of 128k
[Dovecot] Shared location to "auto:" to auto-detect legacy mailbox formats across shared mailboxes [Dovecot] Create config service for crypted mail_attachment_fs
This commit is contained in:
parent
9ee557e5a5
commit
159c36b531
@ -12,9 +12,11 @@ disable_plaintext_auth = yes
|
|||||||
#mail_nfs_index = yes
|
#mail_nfs_index = yes
|
||||||
#mail_nfs_storage = yes
|
#mail_nfs_storage = yes
|
||||||
login_log_format_elements = "user=<%u> method=%m rip=%r lip=%l mpid=%e %c %k"
|
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_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
|
# Dovecot 2.2
|
||||||
#ssl_protocols = !SSLv3
|
#ssl_protocols = !SSLv3
|
||||||
@ -175,7 +177,7 @@ namespace {
|
|||||||
type = shared
|
type = shared
|
||||||
separator = /
|
separator = /
|
||||||
prefix = Shared/%%u/
|
prefix = Shared/%%u/
|
||||||
location = maildir:%%h/:INDEX=~/Shared/%%u;CONTROL=~/Shared/%%u
|
location = auto:%%h/:INDEX=~/Shared/%%u:CONTROL=~/Shared/%%u
|
||||||
subscriptions = no
|
subscriptions = no
|
||||||
list = children
|
list = children
|
||||||
}
|
}
|
||||||
@ -190,6 +192,13 @@ service dict {
|
|||||||
service log {
|
service log {
|
||||||
user = dovenull
|
user = dovenull
|
||||||
}
|
}
|
||||||
|
service config {
|
||||||
|
unix_listener config {
|
||||||
|
user = root
|
||||||
|
group = vmail
|
||||||
|
mode = 0660
|
||||||
|
}
|
||||||
|
}
|
||||||
service auth {
|
service auth {
|
||||||
inet_listener auth-inet {
|
inet_listener auth-inet {
|
||||||
port = 10001
|
port = 10001
|
||||||
|
Loading…
Reference in New Issue
Block a user