[Gllug] Spamassassin problems
ian.lewis at dlf.org.uk
Thu Jun 30 15:36:33 UTC 2005
> Well, now while the setup continues to detect and score spam,
> it doesn't
> change the subject line and therefore the spam trapping in procmailrc
> What's changed/what's gone wrong? Googling has revealed nothing...
> My (unchanged) /etc/mail/spamassassin/local.cf states:
> # These values can be overridden by editing
> # (see spamassassin(1) for details)
I don't use the settings in user_prefs and prefer to set everything for our
domain in /etc/spamassassin/local.cf (SA 3 on Trustix 2.1)
My set up uses Postfix feeding SA directly. I don't have any truck with
Here are my SA local.cf settings, for interest.
# These values can be overridden by editing ~/.spamassassin/user_prefs.cf
# (see spamassassin(1) for details)
# IL 11/05/2004 We do not use user_prefs.cf at this point.
# These should be safe assumptions and allow for simple visual sifting
# without risking lost emails.
# 0 = NO, FALSE 1 = YES, TRUE
# Clear the existing headers and make way for the new ones below...
# Identify # version=3.03 DLF_arachne
# Permit DNS checks for RBL blacklists
# Permit only English language
# This is the score required before messages are considered spam.
# -0 - - - - 5 - - - - 10+
# aggressive <-----------> conservative 5 is the Spamassassin default
# required_hits 4.6 # Deprecated: 21st July 2004
# Do we rewrite the subject or leave it untouched (1 is YES (default))
# Adds string to Subject: Header tag
rewrite_header Subject [-SPAM-](_SCORE_)
# Whitelisting on auto (off as of 9th June 2004).
# Where to place the Spam Report. 0 is default and thus places the report in
the email body.
# Do the headers get 'folded' 0 means NO
# Report Length. Default is to use the Long form thus 0 is default here
add_header spam Flag _YESNOCAPS_
add_header all Level _STARS(*)_
add_header all Status _YESNO_, hits=_HITS_ required=_REQD_ (bayes=_BAYES_)
autolearn=_AUTOLEARN_ tests=_TESTS_ version=_VERSION_
# Modify some score settings here....
score NO_RDNS2 0.2
score NO_RDNS 0.2
score CLICK_BELOW 0.789
score RCVD_IN_DSBL 1.5
score RCVD_IN_SORBS 1.13
score RCVD_IN_NJABL 1.13
score FAKE_XAUTH 0.8
## See DLF_custom.cf for rules set up for this server. IL 10th May 2004
## Add whitelist entries here....
## Lets add the Bayesian stuff below.... (IL 10th May 2004)
# Set paths for the bayes stuff (IL 9th June 2004)
# Specifically say that we are using Bayes
# turn on or off the bayes auto-learning ability
# You may set the bayes autolearning threshold (def 0.1)
# You can set the bayes autolearn spam threshold (def 12.0)
# Here you can set the quantity of ham/spam learnt before bayes activates.
# default figure is 200
# When reporting (spamassassin -r) bayes can automatically acquire the result
Ian Lewis - DLF IT Support Analyst
Disabled Living Foundation (DLF)
380-384 Harrow Road
London W9 2HU
Tel: 020 7289 6111 Ext: 212
Email: ian.lewis at dlf.org.uk
MSN Messenger: electricowl at hotmail.com
Gllug mailing list - Gllug at gllug.org.uk
More information about the GLLUG