aboutsummaryrefslogtreecommitdiff
path: root/roles/spamassassin/templates/local.cf.j2
blob: 1fdc978ce9c19b3b9a8c37670d9c7355a5935c63 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
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 }}