docker-mailserver/test/config/rspamd/user-patches.sh
2023-03-18 23:32:48 +08:00

14 lines
371 B
Bash

#!/bin/bash
cat >/etc/rspamd/override.d/testmodule_complicated.conf << EOF
complicated {
anOption = someValue;
}
EOF
echo "enable_test_patterns = true;" >>/etc/rspamd/local.d/options.inc
echo 'mail_debug = yes' >>/etc/dovecot/dovecot.conf
sed -i -E '/^}/d' /etc/dovecot/conf.d/90-sieve.conf
echo -e 'sieve_trace_debug = yes\n}' >>/etc/dovecot/conf.d/90-sieve.conf