From 6ee63a708d8ba0e0156211bc293bc03db0030770 Mon Sep 17 00:00:00 2001 From: mwiegand Date: Wed, 16 Jun 2021 21:51:04 +0200 Subject: [PATCH] wip --- bundles/dovecot/files/dovecot.conf | 74 ++++++++++++++++++++----- bundles/dovecot/files/learn-ham.sieve | 7 +++ bundles/dovecot/files/learn-spam.sieve | 3 + bundles/dovecot/files/spam-global.sieve | 6 ++ bundles/dovecot/items.py | 29 ++++++++++ bundles/dovecot/metadata.py | 17 +++--- bundles/mailserver/items.py | 2 + bundles/postfix/files/main.cf | 10 +++- bundles/redis/metadata.py | 7 +++ bundles/rspamd/items.py | 0 bundles/rspamd/metadata.py | 7 +++ groups/applications/mailserver.py | 2 + 12 files changed, 139 insertions(+), 25 deletions(-) create mode 100644 bundles/dovecot/files/learn-ham.sieve create mode 100644 bundles/dovecot/files/learn-spam.sieve create mode 100644 bundles/dovecot/files/spam-global.sieve create mode 100644 bundles/redis/metadata.py create mode 100644 bundles/rspamd/items.py create mode 100644 bundles/rspamd/metadata.py diff --git a/bundles/dovecot/files/dovecot.conf b/bundles/dovecot/files/dovecot.conf index 2942713..fa89a46 100644 --- a/bundles/dovecot/files/dovecot.conf +++ b/bundles/dovecot/files/dovecot.conf @@ -1,4 +1,4 @@ -protocols = imap lmtp +protocols = imap lmtp sieve auth_mechanisms = plain login mail_privileged_group = mail ssl = required @@ -6,11 +6,12 @@ ssl_cert =