mirror of
https://github.com/docker-mailserver/docker-mailserver
synced 2026-10-03 17:43:00 +02:00
Signed-off-by: Georg Lauterbach <44545919+georglauterbach@users.noreply.github.com> Co-authored-by: Brennan Kinney <5098581+polarathene@users.noreply.github.com>
16 lines
599 B
Bash
16 lines
599 B
Bash
#!/bin/bash
|
|
|
|
# Enable GTUBE test patterns so we can properly check whether
|
|
# Rspamd is rejecting mail, adding headers, etc.
|
|
#
|
|
# We do not use `custom-commands.conf` because this a feature
|
|
# we are testing too.
|
|
echo 'gtube_patterns = "all"' >>/etc/rspamd/local.d/options.inc
|
|
|
|
# We want Dovecot to be very detailed about what it is doing,
|
|
# specifically for Sieve because we need to check whether the
|
|
# Sieve scripts are executed so Rspamd is trained when using
|
|
# `RSPAMD_LEARN=1`.
|
|
echo 'mail_debug = yes' >>/etc/dovecot/dovecot.conf
|
|
echo 'sieve_trace_debug = yes' >>/etc/dovecot/conf.d/90-sieve.conf
|