From 724d877995dfcc10c462a18dcb4ea6c8b60c2d03 Mon Sep 17 00:00:00 2001 From: Sam Chudnick Date: Sun, 2 Jul 2023 19:04:30 -0400 Subject: initial commit --- roles/spamassassin/templates/local.cf.j2 | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 roles/spamassassin/templates/local.cf.j2 (limited to 'roles/spamassassin/templates') diff --git a/roles/spamassassin/templates/local.cf.j2 b/roles/spamassassin/templates/local.cf.j2 new file mode 100644 index 0000000..1fdc978 --- /dev/null +++ b/roles/spamassassin/templates/local.cf.j2 @@ -0,0 +1,18 @@ +# SpamAssassin Configuration +# Clearly indicate message is spam to user +rewrite_header Subject *****SPAM***** +rewrite_header From *****SPAM***** + +# Halves default spam score thus implementing a very strict spam policy +# Comment or edit as needed for your deployment +required_score {{ spam_score }} + +# Attach original messages as text/plain instead of message/rfc822 to spam reports +# This is basically a safety net to prevent mail clients from automatically loading +# attached spam messages. Note though that this makes the original message harder to recover +# If this is not something you are worried about, comment the next line to use the default. +report_safe 2 + +# This specifies languages considered OK for incoming mail +# If you expect to receive mail in non-western character sets, comment or edit as needed +ok_locales {{ sa_locales }} -- cgit v1.2.3