mirror of
https://github.com/mailcow/mailcow-dockerized.git
synced 2026-05-30 03:03:14 +00:00
dovecot: changes to config aligning to 2.4
This commit is contained in:
@@ -2,8 +2,7 @@
|
|||||||
# Logging and debug.
|
# Logging and debug.
|
||||||
#mail_debug = yes
|
#mail_debug = yes
|
||||||
#auth_debug = yes
|
#auth_debug = yes
|
||||||
log_debug = category=fts-flatcurve
|
#log_debug = category=fts-flatcurve
|
||||||
#log_debug = category=auth
|
|
||||||
log_path = syslog
|
log_path = syslog
|
||||||
log_timestamp = "%Y-%m-%d %H:%M:%S "
|
log_timestamp = "%Y-%m-%d %H:%M:%S "
|
||||||
login_log_format_elements = "user=<%{user}> method=%{mechanism} rip=%{remote_ip} lip=%{local_ip} mpid=%{mail_pid} %{secured} session=<%{session}>"
|
login_log_format_elements = "user=<%{user}> method=%{mechanism} rip=%{remote_ip} lip=%{local_ip} mpid=%{mail_pid} %{secured} session=<%{session}>"
|
||||||
|
|||||||
@@ -33,6 +33,15 @@ service config {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
# anvil socket
|
||||||
|
service anvil {
|
||||||
|
unix_listener anvil {
|
||||||
|
user = vmail
|
||||||
|
group = vmail
|
||||||
|
mode = 0660
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
# auth sockets and inet
|
# auth sockets and inet
|
||||||
service auth {
|
service auth {
|
||||||
inet_listener auth-inet {
|
inet_listener auth-inet {
|
||||||
|
|||||||
@@ -1,19 +1,15 @@
|
|||||||
# /etc/dovecot/conf.d/60-sieve-pipeline.conf
|
# /etc/dovecot/conf.d/60-sieve-pipeline.conf
|
||||||
# Complete Sieve pipeline: personal/global scripts, plugins, limits, training.
|
# Complete Sieve pipeline: personal/global scripts, plugins, limits, training.
|
||||||
|
|
||||||
# Personal scripts
|
|
||||||
sieve_script personal {
|
|
||||||
driver = file
|
|
||||||
path = ~/sieve
|
|
||||||
active_path = ~/.dovecot.sieve
|
|
||||||
}
|
|
||||||
|
|
||||||
# Global before/after (file and dict)
|
# Global before/after (file and dict)
|
||||||
sieve_script before {
|
sieve_script before {
|
||||||
|
type = before
|
||||||
driver = file
|
driver = file
|
||||||
path = /var/vmail/sieve/global_sieve_before.sieve
|
path = /var/vmail/sieve/global_sieve_before.sieve
|
||||||
}
|
}
|
||||||
|
|
||||||
sieve_script before2 {
|
sieve_script before2 {
|
||||||
|
type = before
|
||||||
driver = dict
|
driver = dict
|
||||||
name = active
|
name = active
|
||||||
dict proxy {
|
dict proxy {
|
||||||
@@ -21,11 +17,15 @@ sieve_script before2 {
|
|||||||
sieve_script_bin_path = /var/vmail/sieve_before_bindir
|
sieve_script_bin_path = /var/vmail/sieve_before_bindir
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
sieve_script after {
|
sieve_script after {
|
||||||
|
type = after
|
||||||
driver = file
|
driver = file
|
||||||
path = /var/vmail/sieve/global_sieve_after.sieve
|
path = /var/vmail/sieve/global_sieve_after.sieve
|
||||||
}
|
}
|
||||||
|
|
||||||
sieve_script after2 {
|
sieve_script after2 {
|
||||||
|
type = after
|
||||||
driver = dict
|
driver = dict
|
||||||
name = active
|
name = active
|
||||||
dict proxy {
|
dict proxy {
|
||||||
@@ -34,6 +34,14 @@ sieve_script after2 {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
# Personal scripts
|
||||||
|
sieve_script personal {
|
||||||
|
type = personal
|
||||||
|
driver = file
|
||||||
|
path = ~/sieve
|
||||||
|
active_path = ~/.dovecot.sieve
|
||||||
|
}
|
||||||
|
|
||||||
# Plugins and behavior
|
# Plugins and behavior
|
||||||
sieve_plugins = sieve_imapsieve sieve_extprograms
|
sieve_plugins = sieve_imapsieve sieve_extprograms
|
||||||
sieve_vacation_send_from_recipient = yes
|
sieve_vacation_send_from_recipient = yes
|
||||||
@@ -75,4 +83,10 @@ sieve_vacation_min_period = 5s
|
|||||||
sieve_vacation_max_period = 365d
|
sieve_vacation_max_period = 365d
|
||||||
sieve_vacation_default_period = 60s
|
sieve_vacation_default_period = 60s
|
||||||
sieve_duplicate_default_period = 1m
|
sieve_duplicate_default_period = 1m
|
||||||
sieve_duplicate_max_period = 7d
|
sieve_duplicate_max_period = 7d
|
||||||
|
|
||||||
|
# pipe sockets in /var/run/dovecot/sieve-pipe
|
||||||
|
sieve_pipe_socket_dir = sieve-pipe
|
||||||
|
|
||||||
|
# execute sockets in /var/run/dovecot/sieve-execute
|
||||||
|
sieve_execute_socket_dir = sieve-execute
|
||||||
@@ -1,12 +1,12 @@
|
|||||||
# /etc/dovecot/conf.d/90-dict.conf
|
# /etc/dovecot/conf.d/90-dict.conf
|
||||||
# Dict declarations and SQL bindings.
|
# Dict declarations and SQL bindings.
|
||||||
dict_server {
|
dict_server {
|
||||||
dict sieveafter {
|
dict sieve_after {
|
||||||
driver = sql
|
driver = sql
|
||||||
!include /etc/dovecot/sql/dovecot-dict-sql-sieve_after.conf
|
!include /etc/dovecot/sql/dovecot-dict-sql-sieve_after.conf
|
||||||
}
|
}
|
||||||
|
|
||||||
dict sievebefore {
|
dict sieve_before {
|
||||||
driver = sql
|
driver = sql
|
||||||
!include /etc/dovecot/sql/dovecot-dict-sql-sieve_before.conf
|
!include /etc/dovecot/sql/dovecot-dict-sql-sieve_before.conf
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user