diff options
author | Sam Chudnick <sam@chudnick.com> | 2023-07-02 19:04:30 -0400 |
---|---|---|
committer | Sam Chudnick <sam@chudnick.com> | 2023-07-02 19:04:30 -0400 |
commit | 724d877995dfcc10c462a18dcb4ea6c8b60c2d03 (patch) | |
tree | 270537b8fca585717c1ffa7708e492593f7b2ed5 /roles/spamassassin/templates |
initial commit
Diffstat (limited to 'roles/spamassassin/templates')
-rw-r--r-- | roles/spamassassin/templates/local.cf.j2 | 18 |
1 files changed, 18 insertions, 0 deletions
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 @@ | |||
1 | # SpamAssassin Configuration | ||
2 | # Clearly indicate message is spam to user | ||
3 | rewrite_header Subject *****SPAM***** | ||
4 | rewrite_header From *****SPAM***** | ||
5 | |||
6 | # Halves default spam score thus implementing a very strict spam policy | ||
7 | # Comment or edit as needed for your deployment | ||
8 | required_score {{ spam_score }} | ||
9 | |||
10 | # Attach original messages as text/plain instead of message/rfc822 to spam reports | ||
11 | # This is basically a safety net to prevent mail clients from automatically loading | ||
12 | # attached spam messages. Note though that this makes the original message harder to recover | ||
13 | # If this is not something you are worried about, comment the next line to use the default. | ||
14 | report_safe 2 | ||
15 | |||
16 | # This specifies languages considered OK for incoming mail | ||
17 | # If you expect to receive mail in non-western character sets, comment or edit as needed | ||
18 | ok_locales {{ sa_locales }} | ||