spamassassin on freeBSD question

From: avidfan (none_at_swbell.net)
Date: 09/28/04


Date: Tue, 28 Sep 2004 14:45:26 GMT

I apologize if this is a bit off-topic, but this seemed the most appropriate
group...

I am running spamassassin 2.64 on freeBSD 5.2.1. It is working fine for
tagging spam, but now that we are satisfied with it's performance, we want
to start deleting obvious spam instead of just tagging it. I have followed
(I believe...) the instructions for deleting spam with a certain score by
doing the following:

here is my user_prefs:

# SpamAssassin user preferences file. See 'perldoc
Mail::SpamAssassin::Conf'
# for details of what can be tweaked.
###########################################################################

# How many hits before a mail is considered spam.
# required_hits 5

# Whitelist and blacklist addresses are now file-glob-style patterns, so
# "friend@somewhere.com", "*@isp.com", or "*.domain.net" will all work.
# whitelist_from someone@somewhere.com

# Add your own customised scores for some tests below. The default scores
are
# read from the installed spamassassin rules files, but you can override
them
# here. To see the list of tests and their default scores, go to
# http://spamassassin.org/tests.html .
#
# score SYMBOLIC_TEST_NAME n.nn

# Speakers of Asian languages, like Chinese, Japanese and Korean, will
almost
# definitely want to uncomment the following lines. They will switch off
some
# rules that detect 8-bit characters, which commonly trigger on mails using
CJK
# character sets, or that assume a western-style charset is in use.
#
# score HTML_COMMENT_8BITS 0
# score UPPERCASE_25_50 0
# score UPPERCASE_50_75 0
# score UPPERCASE_75_100 0

add_header all Level _STARS(*)_

and my procmailrc:

# SpamAssassin sample procmailrc
#
# Pipe the mail through spamassassin (replace 'spamassassin' with 'spamc'
# if you use the spamc/spamd combination)
#
# The condition line ensures that only messages smaller than 250 kB
# (250 * 1024 = 256000 bytes) are processed by SpamAssassin. Most spam
# isn't bigger than a few k and working with big messages can bring
# SpamAssassin to its knees.
#
# The lock file ensures that only 1 spamassassin invocation happens
# at 1 time, to keep the load down.
#

:0fw: spamc.lock
* < 256000
| spamc

# Mails with a score of 15 or higher are almost certainly spam (with 0.05%
# false positives according to rules/STATISTICS.txt). Let's put them in a
# different mbox. (This one is optional.)
#:0:
#* ^X-Spam-Level: \*\*\*\*
#/dev/null
:0 H
*^X-Spam-Level: \*\*\*\*\*\*
/dev/null
#almost-certainly-spam

# All mail tagged as spam (eg. with a score higher than the set threshold)
# is moved to "probably-spam".
:0:
* ^X-Spam-Status: Yes
/dev/null
#probably-spam

# Work around procmail bug: any output on stderr will cause the "F" in
"From"
# to be dropped. This will re-add it.
:0
* ^^rom[ ]
{
  LOG="*** Dropped F off From_ header! Fixing up. "

  :0 fhw
  | sed -e '1s/^/F/'
}

Could anyone spot any mistakes or offer any reason why this isn't working?

I appreciate any advice,

Thanks,

AvidFan



Relevant Pages

  • Re: For sale Brand New Juicy Couture Sidekick II for $120
    ... Ideally spam should be stopped at source, but I don't suppose there's much chance of that happening. ... BogoFilter authors or the SpamAssassin authors. ... There's no way a BAYES engine alone can do this ... out on rule based flexibility and these BL lists. ...
    (Fedora)
  • Re: howto set evolution to work with spamassassin and clamav
    ... > spamassassin and clamav. ... There are two basic ways to setup spamassassin. ... moved to a holding folder, and the filter will stop processing. ... bayes_ignore_header ReSent-Date ...
    (Fedora)
  • RE: Getting a new server
    ... Subject: Getting a new server ... spamassassin can EASILY be set up to allow the users ... I just feed all my spam in and my ... dspam makes it so rediculously easy for both POP and IMAP ...
    (freebsd-questions)
  • Re: smtp time spam filtering
    ... to do scans at smtp time but without any online checks. ... You've already outlined a case where bouncing spam became your problem. ... I used to filter mail lists through spamassassin but I stopped doing ...
    (Debian-User)
  • Re: Spam or Virus mails from Redhat ?
    ... >from a windows box that has been taken over and is now a zombie running ... >mass mailings of spam. ... >You can implement spamassassin on your linux box to filter spam. ...
    (Fedora)