add antispam support using imap sieve
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone/tag Build is passing

This commit is contained in:
Mauro Torrez
2022-08-07 18:19:52 -03:00
parent 219c9c34c1
commit 10d675e8a5
17 changed files with 120 additions and 418 deletions

View File

@@ -3,5 +3,6 @@ src = "20-imap.conf.tmpl"
dest = "/etc/dovecot/local.d/20-imap.conf"
keys = [
"/antispam/enable",
"/sieve/enable",
"/imap/urlauth/host"
]

View File

@@ -2,5 +2,7 @@
src = "20-lmtp.conf.tmpl"
dest = "/etc/dovecot/local.d/20-lmtp.conf"
keys = [
"/mail/domains"
"/mail/domains",
"/postmaster/address",
"/sieve/enable",
]

7
confd/conf.d/sieve.toml Normal file
View File

@@ -0,0 +1,7 @@
[template]
src = "90-sieve.conf.tmpl"
dest = "/etc/dovecot/local.d/90-sieve.conf"
keys = [
"/sieve/enable",
"/antispam/enable",
]

View File

@@ -5,4 +5,5 @@ keys = [
"/ssl/cert",
"/ssl/key",
"/ssl/client/ca/dir",
"/ssl/client/ca/file",
]