From: Matthijs Kooijman Date: Mon, 27 Apr 2009 14:01:53 +0000 (+0200) Subject: exim: Set the spamassassin profile to "spamd". X-Git-Url: https://git.stderr.nl/gitweb?a=commitdiff_plain;h=5a01f248be7db1ca335dbd9aa69ee2e763fbb5ef;p=matthijs%2Fservers%2Fdrsnuggles.git exim: Set the spamassassin profile to "spamd". This should really matter, but setting it to "default" made spamd complain about the user "default" not being found. --- diff --git a/etc/exim4/conf.d/acl/40_exim4-config_check_data b/etc/exim4/conf.d/acl/40_exim4-config_check_data index f79e3f7..a1b7024 100644 --- a/etc/exim4/conf.d/acl/40_exim4-config_check_data +++ b/etc/exim4/conf.d/acl/40_exim4-config_check_data @@ -29,11 +29,10 @@ acl_check_data: # Only scan messages that are small, since spam is hardly ever big (and # scanning big messages costs lots of resources condition = ${if <{$message_size}{80k}} - # Check using spamassasin's default profile (the name "default" should just - # be any non-existing profile to get the default configuration). This - # condition will always succeed, since spam assassin is configured with a - # very low (even negative) threshold. - spam = default + # Check using spamassasin, running as the "spamd" user. + # This condition will always succeed, since spam assassin is configured + # with a very low (even negative) threshold. + spam = spamd # Add spam headers (these will be added even when the next condition fails # and the message is not denied). add_header = X-Spam-Score: $spam_score ($spam_bar)