help configuring spam assassin
Jason Montleon
monty19 at hotmail.com
Thu Jan 22 19:08:18 UTC 2004
>I'm trying to setup spam assassin with postfix, server-wide preferably,
without success.
well, not that it's the best documentation to go by, but this is what I did
on Fedora to get it working.:
http://www.montleon.com/mcafee+amavis+postfix+spamassassin.html
>1) postfix+procmail+spam assassin
>on test spam I got the highest level at
>X-Spam-Status: No, hits=2.8 required=5.0 tests=SUBJ_VIAGRA
>autolearn=no version=2.60
Look in /etc/mail/spamassassin/local.cf; 5.0 is the default hit value
required to take the default action of rewriting the subject.
>X-Spam-Status: No, hits=1.3 tagged_above=0.0 required=5.0
Look in your amavisd.conf, wherever you've put it for the lines that read
something like:
# default values, can be overridden by more specific lookups, e.g. SQL
$sa_tag_level_deflt = 2.9; # add spam info headers if at, or above that
level
$sa_tag2_level_deflt = 3.0; # add 'spam detected' headers at that level
$sa_kill_level_deflt = $sa_tag2_level_deflt; # triggers spam evasive actions
# at or above that level: bounce/reject/drop,
# quarantine, and adding mail address extension
I don't know where you got the value 5.0 in your amavisd.conf as I don't
believe it is the default (not that mine are either), unless you did in fact
change it. Basically with a tag level of 0 you are tagging ALL email as
being suspicious (in the header of the email, so that you can sort on
it...), where 5.0 is the second level that probably blocks/bounces, but
again depends on your config.
Hope this helps,
Jason
More information about the fedora-list
mailing list