Hi All,
I'm trying to set up a simple out-of-the-box dspam that should
work for most users, using a shared group for the benefit of
any new users, using the hash storage driver, because it's the
default and seems to be the fastest and least resource consuming
way of doing things, but I and up with no spam protection at all.
I have a feeling that the new hash storage and shared groups
is not working at all.
Below you'll find my dspam-conf, my /var/lib/dspam/group, and the
output from dspam_stats, there's obviously no spam hits, and that's
long after the learning period of 2500 mails, and there's no corpus
fed at all.
Why?
Cheers
/Lars
/etc/dspam.conf:
----------------
Home /var/lib/dspam
TrustedDeliveryAgent "/usr/lib/cyrus/bin/deliver"
DeliveryHost 127.0.0.1
DeliveryPort 10026
DeliveryIdent localhost
DeliveryProto SMTP
OnFail error
Trust root
Trust mail
Trust dspam
Trust wwwrun
TrainingMode teft
TestConditionalTraining on
Feature noise
Feature chained
Feature whitelist
Algorithm graham burton
PValue graham
ImprobabilityDrive on
Preference "spamAction=deliver"
Preference "spamSubject=[SPAM]"
Preference "enableWhitelist=on"
Preference "showFactors=off"
Preference "signatureLocation=headers" # 'message' or 'headers'
AllowOverride trainingMode
AllowOverride spamAction spamSubject
AllowOverride statisticalSedation
AllowOverride enableBNR
AllowOverride enableWhitelist
AllowOverride signatureLocation
AllowOverride showFactors
AllowOverride optIn optOut
AllowOverride whitelistThreshold
AllowOverride trainPristine
HashRecMax 98317
HashAutoExtend on
HashMaxExtents 0
HashExtentSize 49157
HashMaxSeek 100
HashConnectionCache 10
Lookup "rabl.nuclearelephant.com"
RBLInoculate on
Notifications off
PurgeSignatures 14 # Stale signatures
PurgeNeutral 90 # Tokens with neutralish probabilities
PurgeUnused 90 # Unused tokens
PurgeHapaxes 30 # Tokens with less than 5 hits (hapaxes)
PurgeHits1S 15 # Tokens with only 1 spam hit
PurgeHits1I 15 # Tokens with only 1 innocent hit
LocalMX 127.0.0.1
SystemLog on
UserLog on
TrainPristine on
Opt out
ParseToHeaders on
ChangeModeOnParse on
ChangeUserOnParse on
ClamAVPort 3310
ClamAVHost 127.0.0.1
ClamAVResponse spam
ServerPID /var/run/dspam.pid
ServerMode auto
ServerParameters "--deliver=innocent"
ServerIdent "mail.telcotec.se"
ServerDomainSocketPath "/var/tmp/dspam.sock"
ClientHost /var/tmp/dspam.sock
ProcessorBias on
/var/lib/dspam/group:
users:shared:*
global:classification:*globaluser
dspam_stats -H users:
users:
TP True Positives: 0
TN True Negatives: 2758
FP False Positives: 0
FN False Negatives: 634
SC Spam Corpusfed: 0
NC Nonspam Corpusfed: 0
TL Training Left: 0
SHR Spam Hit Rate 0.00%
HSR Ham Strike Rate: 0.00%
OCA Overall Accuracy: 81.31%
--- End Included Message ---