Dovecot imapsieve integration

This commit is contained in:
Julian Rother 2025-02-04 03:35:53 +01:00
parent 1b86e487cc
commit dd574e28f5
Signed by: julian
GPG key ID: C19B924C0CD13341
3 changed files with 74 additions and 2 deletions

View file

@ -27,6 +27,21 @@ mailserver:
dovecot:
debug: false
config: {}
# Define shell scripts callable from sieve scripts via vnd.dovecot.execute
# Per default, these are only available in global sieve scripts (i.e. not in user scripts)!
sieve_extprograms: {} # cmd name -> shell script
# Global sieve scripts
sieve_after: null
sieve_default: null
sieve_before: null
sieve_mailbox_handlers: {} # See imapsieve_mailboxXXX, list items
# from_elsewhere_to_spam:
# name: Spam
# causes: COPY
# before: |
# require ["vnd.dovecot.pipe", "copy", "imapsieve", "environment", "variables", "imap4flags"];
# addflag "\\Seen";´
# pipe :copy "learn-spam.rspamd.script";
postfixadmin:
php_fpm_config:
user: postfixadmin