Added setting changed in SpamAssassin's *.pre files.

This commit is contained in:
Alexander Andreev 2022-07-17 04:06:00 +04:00
parent cbdc723570
commit 27183bd846
Signed by: Arav
GPG Key ID: 0388CC8FAA51063F
1 changed files with 5 additions and 2 deletions

View File

@ -343,8 +343,8 @@ block article
h3#art-5 #[a(href='#art-5') 5. SpamAssassin spam filter]
p Here we are working with a #[code local.cf] file to configure SpamAssassin.
p I didn't any fancy tweaking, didn't make any custom rules. I just changed options presented in file.
p First, we'll work with a #[code local.cf] file to configure SpamAssassin.
p I didn't any fancy tweaking here, didn't make any custom rules. I just changed options presented in file.
p I left #[code rewrite_header] option commented since I don't want to append anything to a Subject header of spam messages.
p Option #[code report_safe] I set to 2 to save spam messages as a text/plain attachment instead of modifying original message.
p #[code trusted_networks] sets networks and hosts that are considered trusted, i.e. not spammers.
@ -352,6 +352,9 @@ block article
p #[code required_score] left to be its default value of 5.0.
p I use Bayesian classifier, so options #[code use_bayes] and #[code bayes_auto_learn] are set to 1.
p I chose to normalise charset to UTF-8 with option #[code normalize_charset 1].
p Next we move to #[code *.pre] files.
p In #[code init.pre] I commented out URIDNSBL plugin, since I don't use them.
p In #[code v342.pre] I enabled #[code FromNameSpoof] and #[code Phishing] plugins.
h4#art-5-1 #[a(href='#art-5-1') 5.1. Updating built-in rule set]
p I sometimes run #[code sa-update] util to update built-in rules and pre-compile them with #[code sa-compile] util. After that restart SpamAssassin.