Enhancement #1909

Adjust bayes scores

Added by Filippo Carletti over 8 years ago. Updated about 8 years ago.

Status:CLOSEDStart date:
Priority:NormalDue date:
Assignee:-% Done:

100%

Category:nethserver-mail-filter
Target version:v6.4-beta2
Resolution: NEEDINFO:No

Description

With a properly trained bayesian filter db, the SpamAssassin scores are more effective if slightly adjusted.
Simply add a file called /etc/mail/spamassassin/nethesis_bayes_score.cf containing:
score BAYES_60 2.5
score BAYES_80 3.5
score BAYES_95 4.5
score BAYES_99 5

Associated revisions

Revision 020c20a0
Added by Giacomo Sanchietti about 8 years ago

nethesis_bayes_score.cf: add custom bayes scores. Refs #1909

History

#1 Updated by Giacomo Sanchietti over 8 years ago

  • Target version changed from ~FUTURE to v6.4-beta2

#2 Updated by Davide Principi about 8 years ago

  • Estimated time set to 1.00
  • NEEDINFO changed from No to Yes

Do the adjusted scores have to be enabled "dynamically" after the training completes?

#3 Updated by Filippo Carletti about 8 years ago

  • Description updated (diff)

#4 Updated by Filippo Carletti about 8 years ago

Davide Principi wrote:

Do the adjusted scores have to be enabled "dynamically" after the training completes?

No, training is also automatic and bayes are used only after training is completed (200 spam + 200 ham mails), either automatic or manual.

#5 Updated by Davide Principi about 8 years ago

  • Status changed from NEW to TRIAGED
  • % Done changed from 0 to 20
  • NEEDINFO changed from Yes to No

#6 Updated by Giacomo Sanchietti about 8 years ago

  • Status changed from TRIAGED to ON_DEV
  • Assignee set to Giacomo Sanchietti
  • % Done changed from 20 to 30

#7 Updated by Giacomo Sanchietti about 8 years ago

  • Status changed from ON_DEV to MODIFIED
  • % Done changed from 30 to 70

#8 Updated by Giacomo Sanchietti about 8 years ago

  • Status changed from MODIFIED to ON_DEV
  • % Done changed from 70 to 30

Package in nethserver-testing: nethserver-mail-filter-1.1.1

Test:
  • yum --enablerepo=nethserver-testing update nethserver-mail-filter
  • Check the file is loaded: su amavis -c 'spamassassin -D < test.eml' 2>&1 | grep nethesis_bayes_score.cf

#9 Updated by Giacomo Sanchietti about 8 years ago

  • Status changed from ON_DEV to MODIFIED
  • % Done changed from 30 to 70

#10 Updated by Giacomo Sanchietti about 8 years ago

  • Status changed from MODIFIED to ON_QA
  • % Done changed from 70 to 80

#11 Updated by Davide Principi about 8 years ago

  • Assignee deleted (Giacomo Sanchietti)

ON_QA: Assignee reset

#12 Updated by Davide Principi about 8 years ago

  • Assignee set to Davide Principi

#13 Updated by Davide Principi about 8 years ago

  • Status changed from ON_QA to VERIFIED
  • Assignee deleted (Davide Principi)
  • % Done changed from 70 to 90

VERIFIED

   # su amavis -c 'spamassassin -D < /tmp/sample-spam.txt' 2>&1  | grep nethesis
Jul 26 13:02:19.313 [11940] dbg: config: read file /etc/mail/spamassassin/nethesis_bayes_score.cf

#14 Updated by Davide Principi about 8 years ago

  • Status changed from VERIFIED to CLOSED
  • % Done changed from 90 to 100

Moved to nethserver-updates repository

Also available in: Atom PDF