Re: Score Ignored

2014-10-09 Thread Bowie Bailey

On 10/8/2014 5:03 PM, Axb wrote:

On 10/08/2014 10:48 PM, Robert A. Ober wrote:

On 9/22/14 4:20 PM, RW wrote:

On Mon, 22 Sep 2014 15:11:44 -0500
Robert A. Ober wrote:



*Yes,  my test messages and SPAM hit the rules but ignore the score.*

What score does it have?

Could it be that the score got set after spamd was restarted?

__

What is the easiest way to know what score is applied per rule? Neither
the server log nor the header breaks it down.

I think the SA's docs show you how

http://spamassassin.apache.org/full/3.4.x/doc/Mail_SpamAssassin_Conf.txt


TEMPLATE TAGS

_REPORT_  terse report of tests hit (for header reports)

put this in you local.cf :

add_header all Report _REPORT_

iirc, this will add a nice  X-Spam-Report:  header with a list of rules
AND scores.


This should already be the default for messages marked as spam.  The 
line above will add the report to ham messages as well.


--
Bowie


Re: Score Ignored

2014-10-09 Thread Axb

On 10/09/2014 03:30 PM, Bowie Bailey wrote:

On 10/8/2014 5:03 PM, Axb wrote:

On 10/08/2014 10:48 PM, Robert A. Ober wrote:

On 9/22/14 4:20 PM, RW wrote:

On Mon, 22 Sep 2014 15:11:44 -0500
Robert A. Ober wrote:



*Yes,  my test messages and SPAM hit the rules but ignore the score.*

What score does it have?

Could it be that the score got set after spamd was restarted?

__

What is the easiest way to know what score is applied per rule? Neither
the server log nor the header breaks it down.

I think the SA's docs show you how

http://spamassassin.apache.org/full/3.4.x/doc/Mail_SpamAssassin_Conf.txt


TEMPLATE TAGS

_REPORT_  terse report of tests hit (for header reports)

put this in you local.cf :

add_header all Report _REPORT_

iirc, this will add a nice  X-Spam-Report:  header with a list of rules
AND scores.


This should already be the default for messages marked as spam.  The
line above will add the report to ham messages as well.


I don't see that in the default templates in 10_default_prefs.cf
am I missing something? blind?

if you use report_safe 0 does it really add the full reports?

It's been years since I've used an aboslutely default SA.



Re: Score Ignored

2014-10-09 Thread Bowie Bailey

On 10/9/2014 9:40 AM, Axb wrote:

On 10/09/2014 03:30 PM, Bowie Bailey wrote:

On 10/8/2014 5:03 PM, Axb wrote:

On 10/08/2014 10:48 PM, Robert A. Ober wrote:

On 9/22/14 4:20 PM, RW wrote:

On Mon, 22 Sep 2014 15:11:44 -0500
Robert A. Ober wrote:



*Yes,  my test messages and SPAM hit the rules but ignore the score.*

What score does it have?

Could it be that the score got set after spamd was restarted?

__

What is the easiest way to know what score is applied per rule? Neither
the server log nor the header breaks it down.

I think the SA's docs show you how

http://spamassassin.apache.org/full/3.4.x/doc/Mail_SpamAssassin_Conf.txt


TEMPLATE TAGS

_REPORT_  terse report of tests hit (for header reports)

put this in you local.cf :

add_header all Report _REPORT_

iirc, this will add a nice  X-Spam-Report:  header with a list of rules
AND scores.

This should already be the default for messages marked as spam.  The
line above will add the report to ham messages as well.

I don't see that in the default templates in 10_default_prefs.cf
am I missing something? blind?

if you use report_safe 0 does it really add the full reports?

It's been years since I've used an aboslutely default SA.


I don't know where you would find it in the templates.  I just know that 
by default, SA adds an X-Spam-Report header to spam.  It looks like this 
(blacklisted ip addresses removed to avoid spam filters):


X-Spam-Report:
*  0.8 RCVD_IN_SORBS_WEB RBL: SORBS: sender is an abusable web server
*  [xx.xx.xx.xx listed in dnsbl.sorbs.net]
* -1.0 RCVD_IN_MSPIKE_H3 RBL: Good reputation (+3)
*  [xx.xx.xx.xx listed in wl.mailspike.net]
*  2.0 BAYES_80 BODY: Bayes spam probability is 80 to 95%
*  [score: 0.8911]
*  0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily
*  valid
* -0.0 RCVD_IN_MSPIKE_WL Mailspike good senders
*  0.0 TVD_SPACE_RATIO No description available.
*  0.8 BODY_URI_ONLY Message body is only a URI in one line of text 
or for

*  an image
*  2.8 TVD_SPACE_RATIO_MINFP No description available.
*  0.2 AWL AWL: From: address is in the auto white-list

Ah!  Apparently, this is only done with a setting of report_safe 0.

From the report_safe section of the Mail::SpamAssassin::Conf man page:
If this option is set to 0, incoming spam is only modified by 
adding some X-Spam- headers
and no changes will be made to the body.  In addition, a header 
named X-Spam-Report will be

added to spam.

The line:
add_header all Report _REPORT_
will add this header to all messages regardless of spam status.

--
Bowie


Re: Score Ignored

2014-10-08 Thread Robert A. Ober

On 9/22/14 4:20 PM, RW wrote:

On Mon, 22 Sep 2014 15:11:44 -0500
Robert A. Ober wrote:



*Yes,  my test messages and SPAM hit the rules but ignore the score.*

What score does it have?

Could it be that the score got set after spamd was restarted?

__

What is the easiest way to know what score is applied per rule? Neither 
the server log nor the header breaks it down.


Not sure what you mean by the score set after spamd was restarted. Don't 
know how that would happen.


To answer earlier ideas/questions,  I have retyped and the rules are not 
duplicated.


Baffled and annoyed,
Robert A. Ober


Re: Score Ignored

2014-10-08 Thread Axb

On 10/08/2014 10:48 PM, Robert A. Ober wrote:

On 9/22/14 4:20 PM, RW wrote:

On Mon, 22 Sep 2014 15:11:44 -0500
Robert A. Ober wrote:



*Yes,  my test messages and SPAM hit the rules but ignore the score.*

What score does it have?

Could it be that the score got set after spamd was restarted?

__

What is the easiest way to know what score is applied per rule? Neither
the server log nor the header breaks it down.


I think the SA's docs show you how

http://spamassassin.apache.org/full/3.4.x/doc/Mail_SpamAssassin_Conf.txt


TEMPLATE TAGS


_REPORT_  terse report of tests hit (for header reports)

put this in you local.cf :

add_header all Report _REPORT_

iirc, this will add a nice  X-Spam-Report:  header with a list of rules 
AND scores.


and when in doubt, rtfm:
http://spamassassin.apache.org/full/3.4.x/doc/
and/or in the local box via perldoc spamassassin




Re: Score Ignored

2014-10-08 Thread Karsten Bräckelmann
On Wed, 2014-10-08 at 15:48 -0500, Robert A. Ober wrote:
  On Mon, 22 Sep 2014 15:11:44 -0500 Robert A. Ober wrote:

   *Yes,  my test messages and SPAM hit the rules but ignore the score.*

 What is the easiest way to know what score is applied per rule? Neither 
 the server log nor the header breaks it down.

Wait. If there's no Report, if you do not have the list of rules hit and
its respective scores, how do you tell your custom rule's score is
ignored by SA?


Besides the Report as mentioned by Axb already, you also can modify the
default Status header to include per-rule scores.

add_header all Status _YESNO_, score=_SCORE_ required=_REQD_ 
tests=_TESTSSCORES(,)_ autolearn=_AUTOLEARN_ version=_VERSION_


-- 
char *t=\10pse\0r\0dtu\0.@ghno\x4e\xc8\x79\xf4\xab\x51\x8a\x10\xf4\xf4\xc4;
main(){ char h,m=h=*t++,*x=t+2*h,c,i,l=*x,s=0; for (i=0;il;i++){ i%8? c=1:
(c=*++x); c128  (s+=h); if (!(h=1)||!t[s+h]){ putchar(t[s]);h=m;s=0; }}}



Score Ignored

2014-09-22 Thread Robert A. Ober

*Hello Folks,

This working elsewhere for me but on my own server the score for the 
rules I wrote are being ignored.  Example rule:


header SUBJECT_NOTIFICATION  Subject =~ /\bNotification\b/i
score  SUBJECT_NOTIFICATION  3.0

Spamd uses the rule but does not apply the score.  I am on 3.3.2 on 
Mageia 3 with Postfix and Procmail.


Any ideas?

Thanks,
Robert A. Ober*

--
Folks,
Please be aware that I am not always watching email so text me
or go old school and call me at 281-772-3596 if you need help within a few 
hours.




Re: Score Ignored

2014-09-22 Thread Alex Regan



This working elsewhere for me but on my own server the score for the
rules I wrote are being ignored.  Example rule:

header SUBJECT_NOTIFICATION  Subject =~ /\bNotification\b/i
score  SUBJECT_NOTIFICATION  3.0

Spamd uses the rule but does not apply the score.  I am on 3.3.2 on
Mageia 3 with Postfix and Procmail.


What file do you have this rule stored in? Are you sure it's being read 
on start-up?


Have you tried to lint your rules?

# spamassassin --lint

Use spamassassin -t -D  myfile 21 |less and read through the debug 
output for any possible errors and a reference to your cf file.


Regards,
Alex





Any ideas?

Thanks,
Robert A. Ober*

--
Folks,
Please be aware that I am not always watching email so text me
or go old school and call me at 281-772-3596 if you need help within a few 
hours.




Re: Score Ignored

2014-09-22 Thread Robert A. Ober

On 9/22/14, 12:56 PM, Alex Regan wrote:



This working elsewhere for me but on my own server the score for the
rules I wrote are being ignored.  Example rule:

header SUBJECT_NOTIFICATION  Subject =~ /\bNotification\b/i
score  SUBJECT_NOTIFICATION  3.0

Spamd uses the rule but does not apply the score.  I am on 3.3.2 on
Mageia 3 with Postfix and Procmail.


What file do you have this rule stored in?

__

*local.cf*

Are you sure it's being read on start-up?


_

*Yes,  my test messages and SPAM hit the rules but ignore the score.*


Have you tried to lint your rules?

# spamassassin --lint

_

*That gave me a bunch of redefined errors in IP.pm so I am updating that.*


Use spamassassin -t -D  myfile 21 |less and read through the 
debug output for any possible errors and a reference to your cf file.

__

*So that is fun;-)  Lots to read.   Anyway,  what is to be substituted 
for myfile?  A test message?The local.cf?**

**
**Thanks Much,**
**Robert A. Ober*



Re: Score Ignored

2014-09-22 Thread Bowie Bailey

On 9/22/2014 4:11 PM, Robert A. Ober wrote:




header SUBJECT_NOTIFICATION  Subject =~ /\bNotification\b/i
score  SUBJECT_NOTIFICATION  3.0


*Yes,  my test messages and SPAM hit the rules but ignore the score.*


Double-check your rule and score lines for any minor typos -- 
particularly in the name of the rule.


--
Bowie


Re: Score Ignored

2014-09-22 Thread David B Funk

On Mon, 22 Sep 2014, Bowie Bailey wrote:


On 9/22/2014 4:11 PM, Robert A. Ober wrote:




header SUBJECT_NOTIFICATION  Subject =~ /\bNotification\b/i
score  SUBJECT_NOTIFICATION  3.0


*Yes,  my test messages and SPAM hit the rules but ignore the score.*


Double-check your rule and score lines for any minor typos -- particularly in 
the name of the rule.


AND make sure you don't have a subsequent rule that has the same name.
The rule parsing system says last man wins so if there's a subsquent
rule (either in that same file or in another file that is included later
in the parsing process) with the same name it will over-ride your
rule in question.


--
Dave Funk  University of Iowa
dbfunk (at) engineering.uiowa.eduCollege of Engineering
319/335-5751   FAX: 319/384-0549   1256 Seamans Center
Sys_admin/Postmaster/cell_adminIowa City, IA 52242-1527
#include std_disclaimer.h
Better is not better, 'standard' is better. B{


Re: Score Ignored

2014-09-22 Thread RW
On Mon, 22 Sep 2014 15:11:44 -0500
Robert A. Ober wrote:


 *Yes,  my test messages and SPAM hit the rules but ignore the score.*

What score does it have?

Could it be that the score got set after spamd was restarted?


Re: local score ignored

2013-04-20 Thread Matus UHLAR - fantomas

What output does the command sa-learn --dump magic produce?



On Fri, 19 Apr 2013, Joe Acquisto-j4 wrote:

0.000  0   1872  0  non-token data: nspam
0.000  0   9184  0  non-token data: nham


On 19.04.13 07:41, John Hardin wrote:
Generally you want the ratio of trained messages to reflect the ratio 
of mail you're seeing. Most people get a lot more spam than ham, so 
it looks like you need a lot more spam trained in.


I try to maintain at least a 2:1 spam:ham ratio.


well, I have similar ratio than above:

0.000  0   1736  0  non-token data: nspam
0.000  0  54729  0  non-token data: nham

and it still catches most of spam...
Note that false negatives (non-catched spam) are still better than false
positives (catched non-spam).

--
Matus UHLAR - fantomas, uh...@fantomas.sk ; http://www.fantomas.sk/
Warning: I wish NOT to receive e-mail advertising to this address.
Varovanie: na tuto adresu chcem NEDOSTAVAT akukolvek reklamnu postu.
I feel like I'm diagonally parked in a parallel universe. 


Re: local score ignored

2013-04-19 Thread Joe Acquisto-j4
 On 4/19/2013 at 12:06 AM, John Hardin jhar...@impsec.org wrote:
 On Thu, 18 Apr 2013, Joe Acquisto-j4 wrote:
 
 On 4/18/2013 at 7:21 AM, Matus UHLAR - fantomas uh...@fantomas.sk wrote:
 On 18.04.13 06:45, Joe Acquisto-j4 wrote:
 I was concerned about this:

 [score: 0.4968]

 This meant that BAYES has computer 49.56% probability that the mail is spam
 and the rest (50.44%) that it is HAM.

 ok

 DO NOT play with BAYES_50 score.

 ?  What can it hurt?
 
 BAYES_50 is the bayes classifier's way of saying insufficient data or I 
 don't know.
 
 Do you really want to assign 3 points for I don't know?
 
 -- 
   John Hardin KA7OHZhttp://www.impsec.org/~jhardin/ 
   jhar...@impsec.orgFALaholic #11174 pgpk -a jhar...@impsec.org 
   key: 0xB8732E79 -- 2D8C 34F4 6411 F507 136C  AF76 D822 E6E6 B873 2E79
 ---
Ten-millimeter explosive-tip caseless, standard light armor
piercing rounds. Why?
 ---
   Tomorrow: the 238th anniversary of The Shot Heard 'Round The World

In this case, from the samples I've seen.   Absolutely, yes. 

For me, this last few days, I have seen lots of missed spam that has virtually 
nothing else to trigger on.  

Been so irritated by this I considered giving it a 5.0.   But, even for me, 
that's over the top.

joe a



Re: local score ignored

2013-04-19 Thread Matus UHLAR - fantomas

On 4/18/2013 at 7:21 AM, Matus UHLAR - fantomas uh...@fantomas.sk wrote:

Train your bayes database, if you get many spams with this small score.


On 18.04.13 21:45, Joe Acquisto-j4 wrote:

All I can do is feed it.


that is what you should do. You need to train on both spam and ham, since
the BAYES filter must know how they differ...


DO NOT play with BAYES_50 score.


?  What can it hurt?


you can get many false positives.
--
Matus UHLAR - fantomas, uh...@fantomas.sk ; http://www.fantomas.sk/
Warning: I wish NOT to receive e-mail advertising to this address.
Varovanie: na tuto adresu chcem NEDOSTAVAT akukolvek reklamnu postu.
Christian Science Programming: Let God Debug It!.


Re: local score ignored

2013-04-19 Thread Matus UHLAR - fantomas

On 4/19/2013 at 12:06 AM, John Hardin jhar...@impsec.org wrote:

BAYES_50 is the bayes classifier's way of saying insufficient data or I
don't know.

Do you really want to assign 3 points for I don't know?


On 19.04.13 06:09, Joe Acquisto-j4 wrote:

In this case, from the samples I've seen.   Absolutely, yes.


as I said, the problem is that your BAYES database does not have enough of
spam/ham samples. You have to feed it, not to increase score for BAYES_50.
With your logic you can give high score to any other rule that hits, e.g.
HTML_MESSAGE.


For me, this last few days, I have seen lots of missed spam that has
virtually nothing else to trigger on.


do you have network checks enabled? Plugins allowed? packages installed?
blacklist, uribl?
razor, pyzor, DCC, they all need plugins and installed clients.
Do you have your trusted_networks and internal_networks properly set?


Been so irritated by this I considered giving it a 5.0.   But, even for me,
that's over the top.


If you receive many spam with BAYES_50, there's something wrong with your
BAYES database, even disabling could behave better (but training would do
much better.

What output does the command sa-learn --dump magic produce?

--
Matus UHLAR - fantomas, uh...@fantomas.sk ; http://www.fantomas.sk/
Warning: I wish NOT to receive e-mail advertising to this address.
Varovanie: na tuto adresu chcem NEDOSTAVAT akukolvek reklamnu postu.
(R)etry, (A)bort, (C)ancer


Re: local score ignored

2013-04-19 Thread Joe Acquisto-j4
 On 4/19/2013 at 6:29 AM, Matus UHLAR - fantomas uh...@fantomas.sk wrote:
 On 4/18/2013 at 7:21 AM, Matus UHLAR - fantomas uh...@fantomas.sk wrote:
 Train your bayes database, if you get many spams with this small score.
 
 On 18.04.13 21:45, Joe Acquisto-j4 wrote:
All I can do is feed it.
 
 that is what you should do. You need to train on both spam and ham, since
 the BAYES filter must know how they differ...
 


That has always given me pause, as I get very little ham.  Got one this AM. 
which I will feed
but that's the first in at least a month. 

I gather that aged info is not useful?

joe a.





Re: local score ignored

2013-04-19 Thread Niamh Holding

Hello Joe,

Friday, April 19, 2013, 12:02:32 PM, you wrote:

JAj That has always given me pause, as I get very little ham.  Got one this 
AM. which I will feed
JAj but that's the first in at least a month.

You only get one ham email a month?

-- 
Best regards,
 Niamhmailto:ni...@fullbore.co.uk

pgptqWiV1kyZ8.pgp
Description: PGP signature


Re: local score ignored

2013-04-19 Thread Joe Acquisto-j4
 On 4/19/2013 at 6:35 AM, Matus UHLAR - fantomas uh...@fantomas.sk wrote:
 On 4/19/2013 at 12:06 AM, John Hardin jhar...@impsec.org wrote:
 BAYES_50 is the bayes classifier's way of saying insufficient data or I
 don't know.

 Do you really want to assign 3 points for I don't know?
 
 On 19.04.13 06:09, Joe Acquisto-j4 wrote:
In this case, from the samples I've seen.   Absolutely, yes.
 
 as I said, the problem is that your BAYES database does not have enough of
 spam/ham samples. You have to feed it, not to increase score for BAYES_50.
 With your logic you can give high score to any other rule that hits, e.g.
 HTML_MESSAGE.


Well, I *could* do a lot of things.  And have.  (See these scars?)

 
For me, this last few days, I have seen lots of missed spam that has
 virtually nothing else to trigger on.
 
 do you have network checks enabled? Plugins allowed? packages installed?
 blacklist, uribl?
 razor, pyzor, DCC, they all need plugins and installed clients.

I have to check.   I set this up a while ago cron'd up feeding BAYES and such
and sat back.

 Do you have your trusted_networks and internal_networks properly set?
 
Probably.

Been so irritated by this I considered giving it a 5.0.   But, even for me,
 that's over the top.
 
 If you receive many spam with BAYES_50, there's something wrong with your
 BAYES database, even disabling could behave better (but training would do
 much better.

I have suspected such, but . . .

 What output does the command sa-learn --dump magic produce?
 
 -- 


0.000  0  3  0  non-token data: bayes db version
0.000  0   1872  0  non-token data: nspam
0.000  0   9184  0  non-token data: nham
0.000  0 140303  0  non-token data: ntokens
0.000  0 1364766063  0  non-token data: oldest atime
0.000  0 1366368683  0  non-token data: newest atime
0.000  0 1366367890  0  non-token data: last journal sync atime
0.000  0 1366146116  0  non-token data: last expiry atime
0.000  01382400  0  non-token data: last expire atime delta
0.000  0  26360  0  non-token data: last expire reduction 
count

joe a.




Re: local score ignored

2013-04-19 Thread Matus UHLAR - fantomas

On 4/19/2013 at 6:29 AM, Matus UHLAR - fantomas uh...@fantomas.sk wrote:

that is what you should do. You need to train on both spam and ham, since
the BAYES filter must know how they differ...


On 19.04.13 07:02, Joe Acquisto-j4 wrote:

That has always given me pause, as I get very little ham.  Got one this AM. 
which I will feed
but that's the first in at least a month.

I gather that aged info is not useful?


I think that could be useful, mostly when it's aged HAM, but even aged spam
is better than no spam...
Training missed spam is more important but even training catched spam helps
In your case (just a few ham) I'd train _all_ ham and all spam that does not
hit BAYES_99

I looked at my spam history - only ~10% of my spam does not hit BAYES_99
and last spam hitting BAYES_50 was about a year and 500 spams ago.

--
Matus UHLAR - fantomas, uh...@fantomas.sk ; http://www.fantomas.sk/
Warning: I wish NOT to receive e-mail advertising to this address.
Varovanie: na tuto adresu chcem NEDOSTAVAT akukolvek reklamnu postu.
Due to unexpected conditions Windows 2000 will be released
in first quarter of year 1901


Re: local score ignored

2013-04-19 Thread Joe Acquisto-j4
That's all *I* seem to get.   Other users may differ, but I have them 
instructions on how
to forward stuff for training.

This is a rather small system compared to what many of you deal with.

joe a.

 Niamh Holding ni...@fullbore.co.uk 04/19/13 7:11 AM 

Hello Joe,

Friday, April 19, 2013, 12:02:32 PM, you wrote:

JAj That has always given me pause, as I get very little ham.  Got one this 
AM. which I will feed
JAj but that's the first in at least a month.

You only get one ham email a month?

-- 
Best regards,
 Niamhmailto:ni...@fullbore.co.uk



Re: local score ignored

2013-04-19 Thread Matus UHLAR - fantomas

Niamh Holding ni...@fullbore.co.uk 04/19/13 7:11 AM 

You only get one ham email a month?


On 19.04.13 09:22, Joe Acquisto-j4 wrote:

That's all *I* seem to get.   Other users may differ, but I have them
instructions on how to forward stuff for training.



This is a rather small system compared to what many of you deal with.


Do you use shared bayes database? Note that this may not be ideal for many
users, since different users can have different opinions pon what is spam
and what is ham.

Also, are you sure SA is using the same BAYES database you are feeding?
It's quite possible that database you have trained is not used (and this
would explain your problem).
The question is how is SA called and how do people train the database...

--
Matus UHLAR - fantomas, uh...@fantomas.sk ; http://www.fantomas.sk/
Warning: I wish NOT to receive e-mail advertising to this address.
Varovanie: na tuto adresu chcem NEDOSTAVAT akukolvek reklamnu postu.
Save the whales. Collect the whole set.


Re: local score ignored

2013-04-19 Thread John Hardin

On Fri, 19 Apr 2013, Joe Acquisto-j4 wrote:

On 18.04.13 21:45, Joe Acquisto-j4 wrote:

All I can do is feed it.


that is what you should do. You need to train on both spam and ham, since
the BAYES filter must know how they differ...


That has always given me pause, as I get very little ham.  Got one this AM. 
which I will feed
but that's the first in at least a month.

I gather that aged info is not useful?


Ham changes character over time much less than spam. Train with whatever 
you have to start, then train with misclassified messages.


--
 John Hardin KA7OHZhttp://www.impsec.org/~jhardin/
 jhar...@impsec.orgFALaholic #11174 pgpk -a jhar...@impsec.org
 key: 0xB8732E79 -- 2D8C 34F4 6411 F507 136C  AF76 D822 E6E6 B873 2E79
---
  Ten-millimeter explosive-tip caseless, standard light armor
  piercing rounds. Why?
---
 Today: the 238th anniversary of The Shot Heard 'Round The World


Re: local score ignored

2013-04-19 Thread John Hardin

On Fri, 19 Apr 2013, Joe Acquisto-j4 wrote:


What output does the command sa-learn --dump magic produce?


0.000  0   1872  0  non-token data: nspam
0.000  0   9184  0  non-token data: nham


Generally you want the ratio of trained messages to reflect the ratio of 
mail you're seeing. Most people get a lot more spam than ham, so it looks 
like you need a lot more spam trained in.


I try to maintain at least a 2:1 spam:ham ratio.

--
 John Hardin KA7OHZhttp://www.impsec.org/~jhardin/
 jhar...@impsec.orgFALaholic #11174 pgpk -a jhar...@impsec.org
 key: 0xB8732E79 -- 2D8C 34F4 6411 F507 136C  AF76 D822 E6E6 B873 2E79
---
  Ten-millimeter explosive-tip caseless, standard light armor
  piercing rounds. Why?
---
 Today: the 238th anniversary of The Shot Heard 'Round The World


Re: local score ignored

2013-04-19 Thread Bowie Bailey

On 4/19/2013 7:10 AM, Joe Acquisto-j4 wrote:


0.000  0  3  0  non-token data: bayes db version
0.000  0   1872  0  non-token data: nspam
0.000  0   9184  0  non-token data: nham
0.000  0 140303  0  non-token data: ntokens
0.000  0 1364766063  0  non-token data: oldest atime
0.000  0 1366368683  0  non-token data: newest atime
0.000  0 1366367890  0  non-token data: last journal sync atime
0.000  0 1366146116  0  non-token data: last expiry atime
0.000  01382400  0  non-token data: last expire atime delta
0.000  0  26360  0  non-token data: last expire reduction 
count


You are learning to the same DB that's being used by SA, right?

--
Bowie


Re: local score ignored

2013-04-19 Thread Benny Pedersen

Joe Acquisto-j4 skrev den 2013-04-19 13:10:


0.000  0   1872  0  non-token data: nspam
0.000  0   9184  0  non-token data: nham


any use of whitelist_from ?

score whitelist_from 0.001

why ?, whitelist_from can be forged, and will poison bayes if not 
carefull with scores


default score is -100 :(

--
senders that put my email into body content will deliver it to my own 
trashcan, so if you like to get reply, dont do it


Re: local score ignored

2013-04-19 Thread Joe Acquisto-j4
 On 4/19/2013 at 10:41 AM, John Hardin jhar...@impsec.org wrote:
 On Fri, 19 Apr 2013, Joe Acquisto-j4 wrote:
 
 What output does the command sa-learn --dump magic produce?

 0.000  0   1872  0  non-token data: nspam
 0.000  0   9184  0  non-token data: nham
 
 Generally you want the ratio of trained messages to reflect the ratio of 
 mail you're seeing. Most people get a lot more spam than ham, so it looks 
 like you need a lot more spam trained in.
 
 I try to maintain at least a 2:1 spam:ham ratio.
 
 -- 
   John Hardin KA7OHZhttp://www.impsec.org/~jhardin/ 
   jhar...@impsec.orgFALaholic #11174 pgpk -a jhar...@impsec.org 
   key: 0xB8732E79 -- 2D8C 34F4 6411 F507 136C  AF76 D822 E6E6 B873 2E79
 ---
Ten-millimeter explosive-tip caseless, standard light armor
piercing rounds. Why?
 ---
   Today: the 238th anniversary of The Shot Heard 'Round The World


Interesting.  I had not paid attention.   From my personal experience, the 
totals seem reversed.   I will have to check
how others are feeding.   I suspect a certain other party may have their 
signals crossed on what to send where.

In which case, I may have to clear bayes and re-feed.

joe a



local score ignored

2013-04-18 Thread Joe Acquisto-j4
I'm missing something.   

Find a fair amount of missed SPAM showing, among others:

*  0.8 BAYES_50 BODY: Bayes spam probability is 40 to 60%
*  [score: 0.4968]   

Bayes is way too low, in my HO.  I am puzzled by the line after it. 

I set local.cf with: score BAYES_50_BODY 3.6 and restarted sa.

Still comes thru with the low score.  Am I sticking it in the wrong place?  Or 
can it not be overridden?   I do not recall if the odd second line was there 
before I made the change.




Re: local score ignored

2013-04-18 Thread Axb

On 04/18/2013 12:11 PM, Joe Acquisto-j4 wrote:

I'm missing something.

Find a fair amount of missed SPAM showing, among others:

*  0.8 BAYES_50 BODY: Bayes spam probability is 40 to 60% *
[score: 0.4968]

Bayes is way too low, in my HO.


it's obviously not learning enough of whatever it's not scoring higher...


 I am puzzled by the line after it.

I set local.cf with: score BAYES_50_BODY 3.6 and restarted sa.

Still comes thru with the low score.  Am I sticking it in the wrong
place?  Or can it not be overridden?   I do not recall if the odd
second line was there before I made the change.


seems like a phatphingers error:

should be:

score BAYES_50 3.6

and NOT:

score BAYES_50_BODY 3.6







Re: local score ignored

2013-04-18 Thread Joe Acquisto-j4
 On 4/18/2013 at 6:15 AM, Axb axb.li...@gmail.com wrote:
 On 04/18/2013 12:11 PM, Joe Acquisto-j4 wrote:
 I'm missing something.

 Find a fair amount of missed SPAM showing, among others:

 *  0.8 BAYES_50 BODY: Bayes spam probability is 40 to 60% *
 [score: 0.4968]

 Bayes is way too low, in my HO.
 
 it's obviously not learning enough of whatever it's not scoring higher...
 
  I am puzzled by the line after it.

 I set local.cf with: score BAYES_50_BODY 3.6 and restarted sa.

 Still comes thru with the low score.  Am I sticking it in the wrong
 place?  Or can it not be overridden?   I do not recall if the odd
 second line was there before I made the change.
 
 seems like a phatphingers error:
 
 should be:
 
 score BAYES_50 3.6
 
 and NOT:
 
 score BAYES_50_BODY 3.6

Boy, that phingers guy is a real PITA.   More like phathead, as that's what I 
intended.  But right after I posted I re-examined and said to myself self . . 
.  

Thanks.  Might the odd line be a result of that?

joea.





Re: local score ignored

2013-04-18 Thread Axb

On 04/18/2013 12:23 PM, Joe Acquisto-j4 wrote:

On 4/18/2013 at 6:15 AM, Axb axb.li...@gmail.com wrote:

On 04/18/2013 12:11 PM, Joe Acquisto-j4 wrote:

I'm missing something.

Find a fair amount of missed SPAM showing, among others:

*  0.8 BAYES_50 BODY: Bayes spam probability is 40 to 60% *
[score: 0.4968]

Bayes is way too low, in my HO.


it's obviously not learning enough of whatever it's not scoring higher...


  I am puzzled by the line after it.

I set local.cf with: score BAYES_50_BODY 3.6 and restarted sa.

Still comes thru with the low score.  Am I sticking it in the wrong
place?  Or can it not be overridden?   I do not recall if the odd
second line was there before I made the change.


seems like a phatphingers error:

should be:

score BAYES_50 3.6

and NOT:

score BAYES_50_BODY 3.6


Boy, that phingers guy is a real PITA.   More like phathead, as that's what I intended.  
But right after I posted I re-examined and said to myself self . . .

Thanks.  Might the odd line be a result of that?


What odd line? report looks normal



Re: local score ignored

2013-04-18 Thread Joe Acquisto-j4
 On 4/18/2013 at 6:38 AM, Axb axb.li...@gmail.com wrote:
 On 04/18/2013 12:23 PM, Joe Acquisto-j4 wrote:
 On 4/18/2013 at 6:15 AM, Axb axb.li...@gmail.com wrote:
 On 04/18/2013 12:11 PM, Joe Acquisto-j4 wrote:
 I'm missing something.

 Find a fair amount of missed SPAM showing, among others:

 *  0.8 BAYES_50 BODY: Bayes spam probability is 40 to 60% *
 [score: 0.4968]

 Bayes is way too low, in my HO.

 it's obviously not learning enough of whatever it's not scoring higher...

   I am puzzled by the line after it.

 I set local.cf with: score BAYES_50_BODY 3.6 and restarted sa.

 Still comes thru with the low score.  Am I sticking it in the wrong
 place?  Or can it not be overridden?   I do not recall if the odd
 second line was there before I made the change.

 seems like a phatphingers error:

 should be:

 score BAYES_50 3.6

 and NOT:

 score BAYES_50_BODY 3.6

 Boy, that phingers guy is a real PITA.   More like phathead, as that's what 
 I intended.  But right after I posted I re-examined and said to myself self 
 . 
 . .

 Thanks.  Might the odd line be a result of that?
 
 What odd line? report looks normal

I was concerned about this:

 [score: 0.4968]

On a line by itself.  But I see similar in all headers, now that I bother to 
look.

Excuse the morning fog, please.

joe a.



Re: local score ignored

2013-04-18 Thread Jari Fredriksson
18.04.2013 13:45, Joe Acquisto-j4 kirjoitti:
 On 4/18/2013 at 6:38 AM, Axb axb.li...@gmail.com wrote:
 On 04/18/2013 12:23 PM, Joe Acquisto-j4 wrote:
 On 4/18/2013 at 6:15 AM, Axb axb.li...@gmail.com wrote:
 On 04/18/2013 12:11 PM, Joe Acquisto-j4 wrote:
 I'm missing something.

 Find a fair amount of missed SPAM showing, among others:

 *  0.8 BAYES_50 BODY: Bayes spam probability is 40 to 60% *
 [score: 0.4968]

 Bayes is way too low, in my HO.
 it's obviously not learning enough of whatever it's not scoring higher...

   I am puzzled by the line after it.

 I set local.cf with: score BAYES_50_BODY 3.6 and restarted sa.

 Still comes thru with the low score.  Am I sticking it in the wrong
 place?  Or can it not be overridden?   I do not recall if the odd
 second line was there before I made the change.
 seems like a phatphingers error:

 should be:

 score BAYES_50 3.6

 and NOT:

 score BAYES_50_BODY 3.6
 Boy, that phingers guy is a real PITA.   More like phathead, as that's what 
 I intended.  But right after I posted I re-examined and said to myself self 
 . 
 . .
 Thanks.  Might the odd line be a result of that?
 What odd line? report looks normal
 I was concerned about this:

  [score: 0.4968]

 On a line by itself.  But I see similar in all headers, now that I bother to 
 look.

 Excuse the morning fog, please.

 joe a.


BAYES_50 means: Can's say if this is SPAM or HAM. I have the score
near for it. For HAM I use negative scores, for SPAM positive. But
BAYES_50 is not SPAM, nor HAM. 3.6 is way too much spammy score for it,
IMHO.


-- 

There is an old time toast which is golden for its beauty.
When you ascend the hill of prosperity may you not meet a friend.
-- Mark Twain




signature.asc
Description: OpenPGP digital signature


Re: local score ignored

2013-04-18 Thread Matus UHLAR - fantomas

On 18.04.13 06:45, Joe Acquisto-j4 wrote:

I was concerned about this:

[score: 0.4968]


This meant that BAYES has computer 49.56% probability that the mail is spam
and the rest (50.44%) that it is HAM.

Train your bayes database, if you get many spams with this small score.

DO NOT play with BAYES_50 score.

--
Matus UHLAR - fantomas, uh...@fantomas.sk ; http://www.fantomas.sk/
Warning: I wish NOT to receive e-mail advertising to this address.
Varovanie: na tuto adresu chcem NEDOSTAVAT akukolvek reklamnu postu.
2B|!2B, that's a question!


Re: local score ignored

2013-04-18 Thread Joe Acquisto-j4
 On 4/18/2013 at 7:21 AM, Matus UHLAR - fantomas uh...@fantomas.sk wrote:
 On 18.04.13 06:45, Joe Acquisto-j4 wrote:
I was concerned about this:

 [score: 0.4968]
 
 This meant that BAYES has computer 49.56% probability that the mail is spam
 and the rest (50.44%) that it is HAM.

ok

 Train your bayes database, if you get many spams with this small score.

All I can do is feed it.

 
 DO NOT play with BAYES_50 score.

?  What can it hurt?

joe a.



Re: local score ignored

2013-04-18 Thread Dave Warren

On 2013-04-18 19:45, Joe Acquisto-j4 wrote:

DO NOT play with BAYES_50 score.

?  What can it hurt?


It can cause significant false positives, since BAYES_50 indicates at 
the there's a 50% chance that this message isn't spam.


--
Dave Warren
http://www.hireahit.com/
http://ca.linkedin.com/in/davejwarren



Re: local score ignored

2013-04-18 Thread John Hardin

On Thu, 18 Apr 2013, Joe Acquisto-j4 wrote:


On 4/18/2013 at 7:21 AM, Matus UHLAR - fantomas uh...@fantomas.sk wrote:

On 18.04.13 06:45, Joe Acquisto-j4 wrote:

I was concerned about this:

[score: 0.4968]


This meant that BAYES has computer 49.56% probability that the mail is spam
and the rest (50.44%) that it is HAM.


ok


DO NOT play with BAYES_50 score.


?  What can it hurt?


BAYES_50 is the bayes classifier's way of saying insufficient data or I 
don't know.


Do you really want to assign 3 points for I don't know?

--
 John Hardin KA7OHZhttp://www.impsec.org/~jhardin/
 jhar...@impsec.orgFALaholic #11174 pgpk -a jhar...@impsec.org
 key: 0xB8732E79 -- 2D8C 34F4 6411 F507 136C  AF76 D822 E6E6 B873 2E79
---
  Ten-millimeter explosive-tip caseless, standard light armor
  piercing rounds. Why?
---
 Tomorrow: the 238th anniversary of The Shot Heard 'Round The World