## $Id: dspam.conf.in,v 1.72 2006/05/14 15:40:42 jonz Exp $
## dspam.conf -- DSPAM configuration file
##

#
# DSPAM Home: Specifies the base directory to be used for DSPAM storage
#
Home /usr/local/var/dspam

StorageDriver /usr/local/lib/libhash_drv.so

TrustedDeliveryAgent "/usr/local/bin/maildir_mod Maildir -d %u"

#UntrustedDeliveryAgent "/usr/bin/procmail -d %u"
#DeliveryHost        127.0.0.1
#DeliveryPort        24
#DeliveryIdent       localhost
#DeliveryProto       LMTP

#FallbackDomains on

#QuarantineAgent    "/usr/bin/procmail -d spam"
#EnablePlusedDetail    on

#QuarantineMailbox    +quarantine

OnFail error

Trust root
Trust mail
Trust mailnull
Trust smmsp
Trust daemon
Trust nobody
Trust vpopmail

#Debug *
#Debug bob bill
#
#DebugOpt process spam fp

#ClassAliasSpam badstuff
#ClassAliasNonspam goodstuff

TrainingMode teft
TestConditionalTraining on

#Feature sbph
#Feature noise
Feature chained
Feature whitelist

#Feature tb=5

#Algorithm chi-square
#Algorithm naive
Algorithm graham burton

PValue graham

#SupressWebStats on

#ImprobabilityDrive on

Preference "spamAction=tag"
Preference "signatureLocation=message"    # 'message' or 'headers'
Preference "showFactors=on"

AllowOverride trainingMode
AllowOverride spamAction spamSubject
AllowOverride statisticalSedation
AllowOverride enableBNR
AllowOverride enableWhitelist
AllowOverride signatureLocation
AllowOverride showFactors
AllowOverride optIn optOut
AllowOverride whitelistThreshold


# --- Hash ---
HashRecMax        98317
HashAutoExtend on HashMaxExtents 0
HashExtentSize        49157
HashMaxSeek        100
#HashConcurrentUser    user
HashConnectionCache    10

#
#FailoverAttempts       1

#
#IgnoreHeader X-Spam-Status
#IgnoreHeader X-Spam-Scanned
#IgnoreHeader X-Virus-Scanner-Result

#Lookup    "sbl.yourdomain.com"

#RBLInoculate off

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: in or out; determines DSPAM's default filtering behavior. If this value
# is set to in, users must opt-in to filtering by dropping a .dspam file in
# /var/dspam/opt-in/user.dspam (or if you have homedirs configured, a .dspam
# folder in their home directory).  The default is opt-out, which means all
# users will be filtered unless a .nodspam file is dropped in
# /var/dspam/opt-out/user.nodspam
#
Opt out

#TrackSources spam nonspam



#ParseToHeaders on
#ChangeModeOnParse on
#ChangeUserOnParse on

#Broken returnCodes
#Broken case
#Broken lineStripping

#MaxMessageSize 4194304

#ClamAVPort    3310
#ClamAVHost    127.0.0.1
#ClamAVResponse accept

ProcessorBias on

## EOF



Martins
Lars Stavholm wrote:
Martins Junkers wrote:
Hi there!

I am using DSPAM for one week and its just amazing!

I have following question:

I am using domain-scale file storage. Have enabled it when configuring
and in Web UI. At the same time dspam_stats both from command line and
Web UI output all list with users in form:

anna              TP:     0 TN:     0 FP:     0 FN:     0 SC:     0
NC:     0
agita             TP:     0 TN:     0 FP:     0 FN:     0 SC:     0
NC:     0
aivis             TP:     0 TN:     0 FP:     0 FN:     0 SC:     0
NC:     0


And there are no domain names displayed. Should look something like this:

[EMAIL PROTECTED]              TP:     0 TN:     0 FP:     0 FN:     0
SC:     0 NC:     0
[EMAIL PROTECTED]             TP:     0 TN:     0 FP:     0 FN:     0
SC:     0 NC:     0
[EMAIL PROTECTED] TP: 0 TN: 0 FP: 0 FN: 0 SC: 0 NC: 0


Is there any options or normal solution options for dspam_stats or in
dspam.conf

Currently i using workaround: scripts that get generate usernames from
dspam/data/..... (domains)

Storage looks like:

dspam/data/denovo.lv/anna
dspam/data/fiber.lv/agita
dspam/data/aivis.lv/aivis


This is necessary only for administration purposes. Authorisation and
dspam.cgi in Web UI for users works without problems when full email is
specified.


My compile configuration:
DSPAM+vpopmail+qmail

./configure \
--with-dspam-group=dspam \
--with-dspam-home-group=dspam \
--with-dspam-owner=vpopmail \
--with-dspam-group=vchkpw \
--with-delivery-agent="/usr/local/bin/maildir_mod Maildir -d %u" \
--enable-virtual-users \
--enable-preferences-extension \
--enable-clamav \
--enable-domain-scale

And your dspam.conf looks like?
/Lars

!DSPAM:45ab682d98401652974816!




Reply via email to