You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@spamassassin.apache.org by "L. Clayton Parker" <l_...@cacaphony.net> on 2004/07/27 03:01:08 UTC

Required_Hits

Is it normal to have to crank the required_hits setting up to 10 before
ordinary mail gets through?

I just started using Spamassassin to filter a pop account on an ISP
connection. The ISP's spam software was stopping about 3,000 spams a
month, but another 3,000 or so were still getting through. 

I spent the day tweaking their settings and mine both. I am now down to
only a few dozen a day getting through from the ISP, but everything that
did get through was going straight to the spam folder unless it was
caught by another filter first. 

I had to put the filter that calls Spamassassin dead last in order to
let _anything_ through. I finally got one regular email through with
required_hits set to 10 and I only tried that after reading about
someone else's setting things too high on the list.

Lee

-- 
L. Parker
chief cook, bottle washer and sometime sysadmin
cacaphony.net

Re: Required_Hits

Posted by Bob McClure Jr <ro...@earthlink.net>.
On Tue, Jul 27, 2004 at 08:30:00PM -0500, L. Clayton Parker wrote:
> On Tue, 2004-07-27 at 20:09, Robert Menschel wrote:
> > Hello L.,
> > 
> > Monday, July 26, 2004, 6:01:08 PM, you wrote:
> > 
> > LCP> Is it normal to have to crank the required_hits setting up to 10 before
> > LCP> ordinary mail gets through?
> > 
> > Hell no.  non-spam will normally score from 0 to 6 or 7 on a stock 2.6x
> > system without Bayes.  If your non-spam is all getting blocked, you have
> > something seriously wrong.
> > 
> > Bob Menschel
> 
> Ummm, well actually there _was_ something seriously wrong, but I am
> embarrassed to say what I did. Let's just say it was an "operator head
> space error" and let it go at that shall we?
> 
> Now that I have it actually working, it is catching some and not
> catching others,  and it is at the default setting of 5. I was hoping to
> read the scores from the tags in the output mail messages to help me
> refine the setting, but there aren't any there. I switched the call from
> spamassassin to spamd and still get no output.

Umm, do you perchance mean spamc?  And is spamd running?

> Lee
> 
> 
> -- 
> L. Parker
> chief cook, bottle washer and sometime sysadmin
> cacaphony.net

Cheers,
-- 
Bob McClure, Jr.             Bobcat Open Systems, Inc.
robertmcclure@earthlink.net  http://www.bobcatos.com
Jesus built a bridge with two boards and three nails.

Re: Required_Hits

Posted by "L. Clayton Parker" <l_...@cacaphony.net>.
On Tue, 2004-07-27 at 20:09, Robert Menschel wrote:
> Hello L.,
> 
> Monday, July 26, 2004, 6:01:08 PM, you wrote:
> 
> LCP> Is it normal to have to crank the required_hits setting up to 10 before
> LCP> ordinary mail gets through?
> 
> Hell no.  non-spam will normally score from 0 to 6 or 7 on a stock 2.6x
> system without Bayes.  If your non-spam is all getting blocked, you have
> something seriously wrong.
> 
> Bob Menschel

Ummm, well actually there _was_ something seriously wrong, but I am
embarrassed to say what I did. Let's just say it was an "operator head
space error" and let it go at that shall we?

Now that I have it actually working, it is catching some and not
catching others,  and it is at the default setting of 5. I was hoping to
read the scores from the tags in the output mail messages to help me
refine the setting, but there aren't any there. I switched the call from
spamassassin to spamd and still get no output.

Lee


-- 
L. Parker
chief cook, bottle washer and sometime sysadmin
cacaphony.net

Re: Required_Hits

Posted by Robert Menschel <Ro...@Menschel.net>.
Hello L.,

Monday, July 26, 2004, 6:01:08 PM, you wrote:

LCP> Is it normal to have to crank the required_hits setting up to 10 before
LCP> ordinary mail gets through?

Hell no.  non-spam will normally score from 0 to 6 or 7 on a stock 2.6x
system without Bayes.  If your non-spam is all getting blocked, you have
something seriously wrong.

Bob Menschel




Re: Required_Hits

Posted by Bob McClure Jr <ro...@earthlink.net>.
On Mon, Jul 26, 2004 at 10:43:23PM -0500, L. Clayton Parker wrote:
> On Mon, 2004-07-26 at 21:37, L. Clayton Parker wrote:
> > On Mon, 2004-07-26 at 21:19, Bob McClure Jr wrote:
> > 
> > > What version of SA?
> > > 
> > > Have you done any retraining using sa-learn?
> > > 
> > > "man sa-learn" for more information.
> > > 
> > 
> > I think it was 2.6.

To find out:

  spamassassin -V

You'd do well to upgrade if it isn't 2.63.  You could even try 3.0 beta.

> > Nope, I haven't tried to retrain it. I never
> > "trained" it in the first place. I don't think the bayesian filters are
> > even turned on.

In 2.63 they are turned on by default.  Look in your ~/.spamassassin/
for bayes*.  If they have current timestamps, it's using it.

BTW, re: user_prefs - ~/.spamassassin/user_prefs is the operable
file.  user_prefs.cf is not.

> > However, I was wrong about the mail getting through at a setting of 10,
> > it was a fluke kicked out by a filter so that SA never saw it.
> 
> Okay, I have a partial fix. It is now letting messages through and 10
> may be too high after all. It let through two messages that should have
> scored as SPAM but didn't. Except that there are no scores in the
> headers. I thought tagging is supposed to be on by default but I set the
> -t switch and still no header output.

Check your global settings in /etc/mail/spamassassin/local.cf

> Lee
> 
> -- 
> L. Parker
> chief cook, bottle washer and sometime sysadmin
> cacaphony.net

Cheers,
-- 
Bob McClure, Jr.             Bobcat Open Systems, Inc.
robertmcclure@earthlink.net  http://www.bobcatos.com
Worry is the darkroom in which negatives are developed.

Re: Required_Hits

Posted by "L. Clayton Parker" <l_...@cacaphony.net>.
On Mon, 2004-07-26 at 21:37, L. Clayton Parker wrote:
> On Mon, 2004-07-26 at 21:19, Bob McClure Jr wrote:
> 
> > What version of SA?
> > 
> > Have you done any retraining using sa-learn?
> > 
> > "man sa-learn" for more information.
> > 
> 
> I think it was 2.6. Nope, I haven't tried to retrain it. I never
> "trained" it in the first place. I don't think the bayesian filters are
> even turned on.
> 
> However, I was wrong about the mail getting through at a setting of 10,
> it was a fluke kicked out by a filter so that SA never saw it.

Okay, I have a partial fix. It is now letting messages through and 10
may be too high after all. It let through two messages that should have
scored as SPAM but didn't. Except that there are no scores in the
headers. I thought tagging is supposed to be on by default but I set the
-t switch and still no header output.

Lee

-- 
L. Parker
chief cook, bottle washer and sometime sysadmin
cacaphony.net

Re: Required_Hits

Posted by "L. Clayton Parker" <l_...@cacaphony.net>.
On Mon, 2004-07-26 at 21:19, Bob McClure Jr wrote:

> What version of SA?
> 
> Have you done any retraining using sa-learn?
> 
> "man sa-learn" for more information.
> 

I think it was 2.6. Nope, I haven't tried to retrain it. I never
"trained" it in the first place. I don't think the bayesian filters are
even turned on.

However, I was wrong about the mail getting through at a setting of 10,
it was a fluke kicked out by a filter so that SA never saw it.

Not only that, but whitelisting doesn't seem to work either. There are 2
user_prefs files in my LOCALUSER/.spamassassin folder, one is just
user_prefs and the other is user_prefs.cf. Perhaps this is confusing
things?

Lee

-- 
L. Parker
chief cook, bottle washer and sometime sysadmin
cacaphony.net

Re: Required_Hits

Posted by Bob McClure Jr <ro...@earthlink.net>.
On Mon, Jul 26, 2004 at 08:01:08PM -0500, L. Clayton Parker wrote:
> Is it normal to have to crank the required_hits setting up to 10 before
> ordinary mail gets through?
> 
> I just started using Spamassassin to filter a pop account on an ISP
> connection. The ISP's spam software was stopping about 3,000 spams a
> month, but another 3,000 or so were still getting through. 
> 
> I spent the day tweaking their settings and mine both. I am now down to
> only a few dozen a day getting through from the ISP, but everything that
> did get through was going straight to the spam folder unless it was
> caught by another filter first. 
> 
> I had to put the filter that calls Spamassassin dead last in order to
> let _anything_ through. I finally got one regular email through with
> required_hits set to 10 and I only tried that after reading about
> someone else's setting things too high on the list.
> 
> Lee
> 
> -- 
> L. Parker
> chief cook, bottle washer and sometime sysadmin
> cacaphony.net

What version of SA?

Have you done any retraining using sa-learn?

"man sa-learn" for more information.

Cheers,
-- 
Bob McClure, Jr.             Bobcat Open Systems, Inc.
robertmcclure@earthlink.net  http://www.bobcatos.com
Worry is the darkroom in which negatives are developed.