From 25db4fffb82932a21243394d573b567fedfad65f Mon Sep 17 00:00:00 2001 From: Tom Hughes Date: Mon, 16 Jun 2025 19:07:40 +0100 Subject: [PATCH] Enable the spamassassin whitelist before configuring it --- cookbooks/spamassassin/templates/default/local.cf.erb | 3 +++ 1 file changed, 3 insertions(+) diff --git a/cookbooks/spamassassin/templates/default/local.cf.erb b/cookbooks/spamassassin/templates/default/local.cf.erb index 5c0b084ce..bc86b14c8 100644 --- a/cookbooks/spamassassin/templates/default/local.cf.erb +++ b/cookbooks/spamassassin/templates/default/local.cf.erb @@ -6,6 +6,9 @@ required_score 5.0 # Set which networks or hosts are considered 'trusted' trusted_networks <%= @trusted_networks.join(" ") %> +# Turn on the automatic white list +use_auto_whitelist 1 + # Set the location for our state files bayes_path /var/spool/spamassassin/bayes auto_whitelist_path /var/spool/spamassassin/auto_whitelist -- 2.39.5