From 5a01f248be7db1ca335dbd9aa69ee2e763fbb5ef Mon Sep 17 00:00:00 2001 From: Matthijs Kooijman Date: Mon, 27 Apr 2009 16:01:53 +0200 Subject: [PATCH] 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. --- etc/exim4/conf.d/acl/40_exim4-config_check_data | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) 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) -- 2.30.2