Koozali.org: home of the SME Server

have been trying since months - spam filter too weak

Offline femc

  • ***
  • 54
  • +0/-0
have been trying since months - spam filter too weak
« on: February 03, 2008, 08:19:39 AM »
I know it has been asked before - my spam tagging level is still in the range below 50%

any ideas if something wrong with the below setting :

# config show qpsmtpd
qpsmtpd=service
    Bcc=disabled
    BccMode=cc
    BccUser=maillog
    DNSBL=enabled
    LogLevel=8
    MaxScannerSize=25000000
    RBLList=bl.spamcop.net:combined.njabl.org:dnsbl.ahbl.org:dnsbl-1.uceprotect.net:dnsbl-2.uceprotect.net:list.dsbl.org:multihop.dsbl.org:psbl.surriel.com:zen.spamhaus.org
    RHSBL=enabled
    RequireResolvableFromHost=yes
    SBLList=bogusmx.rfc-ignorant.org:multi.surbl.org:black.uribl.com:rhsbl.sorbs.net:bulk.rhs.mailpolice.com:fraud.rhs.mailpolice.com:porn.rhs.mailpolice.com:adult.rhs.mailpolice.com:ex.dnsbl.org:blackhole.securitysage.com
    access=public
    qplogsumm=disabled
    setprop=qpsmtpd
    status=enabled

Offline pfloor

  • *****
  • 889
  • +1/-0
Re: have been trying since months - spam filter too weak
« Reply #1 on: February 03, 2008, 08:40:13 AM »
Don't really understand your question but I did notice some db settings that look incorrect.

qplogsumm=disabled
setprop=qpsmtpd

I don't think they are doing any harm but you can get rid of them with:

config delprop qpsmtpd qplogsumm
config delprop qpsmtpd setprop


If you are asking about your spam tag and reject level, it is not in qpsmtpd, it is in spamassassin.  Show us the output of:

config show spamassassin

In life, you must either "Push, Pull or Get out of the way!"

Offline femc

  • ***
  • 54
  • +0/-0
Re: have been trying since months - spam filter too weak
« Reply #2 on: February 03, 2008, 01:05:34 PM »
thks for assistance. I am also using LearnAsSpam and wbl, and I have changed the taging from ***SPAM*** to [SPAM]

config show spamassassin
spamassassin=service
    BayesAutoLearnThresholdNonspam=0.10
    BayesAutoLearnThresholdSpam=4.00
    DNSAvailable=yes
    MessageRetentionTime=90
    OkLanguages=all
    OkLocales=all
    RejectLevel=0
    ReportSafe=0
    Sensitivity=veryhigh
    SkipRBLChecks=0
    SortSpam=disabled
    Subject=[SPAM]
    SubjectTag=enabled
    TagLevel=19
    UseBayes=1
    status=enabled

Offline william_syd

  • *****
  • 1,608
  • +0/-0
  • Nothing to see here.
    • http://www.magicwilly.info
Re: have been trying since months - spam filter too weak
« Reply #3 on: February 03, 2008, 01:35:56 PM »
Does your new tag show in emails?
Regards,
William

IF I give advise.. It's only if it was me....

Offline femc

  • ***
  • 54
  • +0/-0
Re: have been trying since months - spam filter too weak
« Reply #4 on: February 03, 2008, 01:49:00 PM »
the [SPAM] tag apperas in spam emails - but unluckily only in less than 50% of all spam. btw - i hardly get any false positive taggings


Offline william_syd

  • *****
  • 1,608
  • +0/-0
  • Nothing to see here.
    • http://www.magicwilly.info
Re: have been trying since months - spam filter too weak
« Reply #5 on: February 03, 2008, 01:59:31 PM »
the [SPAM] tag apperas in spam emails - but unluckily only in less than 50% of all spam. btw - i hardly get any false positive taggings



Hmm.. thats never worked for me :(

I do use some Clam signatures from http://www.sanesecurity.co.uk/clamav/ I only update them with a manual script when spam is on the rise.

Regards,
William

IF I give advise.. It's only if it was me....

Offline femc

  • ***
  • 54
  • +0/-0
Re: have been trying since months - spam filter too weak
« Reply #6 on: February 03, 2008, 04:10:28 PM »
I looked at this website - do not know how to do

can you give me more instruction ?

Offline pfloor

  • *****
  • 889
  • +1/-0
Re: have been trying since months - spam filter too weak
« Reply #7 on: February 03, 2008, 06:39:36 PM »
Quote
TagLevel=19

This looks too high to me.  Try lowering it to 4.

config setprop spamassassin TagLevel 4
signal-event email-update
In life, you must either "Push, Pull or Get out of the way!"

Offline william_syd

  • *****
  • 1,608
  • +0/-0
  • Nothing to see here.
    • http://www.magicwilly.info
Re: have been trying since months - spam filter too weak
« Reply #8 on: February 04, 2008, 12:13:16 AM »
I looked at this website - do not know how to do

can you give me more instruction ?


Here is the script that I use.

I just placed it in /root and run it when I remember. It really needs to be run from a daily cron.

I have mail and filesystem virus scanning enabled and the day after email usually show a few that its caught during its nightly scan.

Here are my other settings...

[root@tiger ~]# config show spamassassin
spamassassin=service
    DNSAvailable=yes
    MessageRetentionTime=90
    OkLanguages=all
    OkLocales=all
    RejectLevel=8
    ReportSafe=0
    Sensitivity=custom
    SkipRBLChecks=0
    SortSpam=enabled
    Subject=[SPAM]
    SubjectTag=enabled
    TagLevel=4
    UseBayes=0
    status=enabled
[root@tiger ~]#


[root@tiger ~]# config show qpsmtpd
qpsmtpd=service
    Bcc=disabled
    BccMode=cc
    BccUser=maillog
    DNSBL=enabled
    LogLevel=5
    MaxScannerSize=25000000
    RBLList=bl.spamcop.net:combined.njabl.org:dnsbl.ahbl.org:dnsbl-1.uceprotect.net:dnsbl-2.uceprotect.net:list.dsbl.org:multihop.dsbl.org:psbl.surriel.com:sbl-xbl.spamhaus.org
    RHSBL=enabled
    RequireResolvableFromHost=yes
    SBLList=bogusmx.rfc-ignorant.org:multi.surbl.org:black.uribl.com:rhsbl.sorbs.net:bulk.rhs.mailpolice.com:fraud.rhs.mailpolice.com:porn.rhs.mailpolice.com:adult.rhs.mailpolice.com:ex.dnsbl.org:blackhole.securitysage.com
    access=public
    status=enabled
[root@tiger ~]#


« Last Edit: February 04, 2008, 12:16:20 AM by william_syd »
Regards,
William

IF I give advise.. It's only if it was me....

Offline raem

  • *
  • 3,972
  • +4/-0
Re: have been trying since months - spam filter too weak
« Reply #9 on: February 04, 2008, 05:48:22 AM »
femc

You might also change RejectLevel to something like
RejectLevel=14
...

Offline femc

  • ***
  • 54
  • +0/-0
Re: have been trying since months - spam filter too weak
« Reply #10 on: February 12, 2008, 12:32:34 PM »
custom spam rejection level 19 or 20 hardly tags the spam. custom rejection level 5 works super.

Problem solved - I will file a bug report

Offline JonB

  • *
  • 351
  • +0/-0
Re: have been trying since months - spam filter too weak
« Reply #11 on: February 13, 2008, 05:27:19 AM »
A custom reject (block) spam score of 5 is too low. You will block legitimate email. I have found that a custom tag score of 5 and a custom reject score of 10-12 works well with a minimal amount of spam being received.

I don't know why you would want to create a bug as it is all working as it should.

The spam score/level indicates the chances of the email being spam. A lower score means it is less likely to be spam. When you set the custom reject score to 19 you were letting a lot of spam thru. Setting it at 5 means you have a high chance of rejecting legitimate mail. Legitimate mail that may result in a low level spam score include email with high HTML content, HTML content with unusual colors or fonts and my favorite, HTML email signatures the include GIF images.

Jon
...