On Thu, 19 Aug 2010 14:15:41 +0300, "Dmitrijs Jerihovs"  wrote:   


Hello, 

I compiled new version of dspam (dspam-3.9.1-RC1) with following
options:  

 --enable-daemon  

--enable-clamav  

--enable-homedir 


--enable-verbose-debug  

--enable-long-usernames 


--enable-domain-scale  

--enable-virtual-users 


--with-logdir=/var/log/dspam/  

--with-storage-driver=pgsql_drv 


--with-dspam-owner=dspam  

--with-dspam-home=/home/mail/dspam/ 

Easy.
Just disable homedir support (aka: --disable-homedir). You can not
have (
homedir AND (large scale or domain scale) ) at once.

After I send e-mail
and pass it through dspam I can't see any logs in /home/mail/dspam/ (except
for system.log) but I see what dspam creates directory named
/home/mail/dspam/.dspam/ and where I see log and stats files but not in the
domain-scale configuration.  

Can you explain me why ? 

DSPAM.CONF:


Home /home/mail/dspam 

StorageDriver /usr/lib/dspam/libpgsql_drv.so


TrustedDeliveryAgent /usr/sbin/sendmail 

DeliveryHost 127.0.0.1


DeliveryPort 10026 

DeliveryIdent localhost 

DeliveryProto SMTP


OnFail error 

Trust root 

Trust dspam 

Trust apache 

Trust mail


Trust mailnull 

Trust smmsp 

Trust daemon 

Trust postfix 

Debug *


TrainingMode teft 

TestConditionalTraining on 

Feature whitelist


Algorithm graham burton 

Tokenizer chain 

PValue bcr 

WebStats on


Preference "trainingMode=TEFT" # { TOE | TUM | TEFT | NOTRAIN } ->
default:teft 

Preference "spamAction=tag" # { quarantine | tag | deliver }
-> default:quarantine 

Preference "spamSubject=[SPAM]" # { string } ->
default:[SPAM] 

Preference "statisticalSedation=5" # { 0 - 10 } ->
default:0 

Preference "enableBNR=on" # { on | off } -> default:off


Preference "enableWhitelist=on" # { on | off } -> default:on 

Preference
"signatureLocation=headers" # { message | headers } -> default:message


Preference "tagSpam=off" # { on | off } 

Preference "tagNonspam=off" # {
on | off } 

Preference "showFactors=off" # { on | off } -> default:off


Preference "optIn=off" # { on | off } 

Preference "optOut=off" # { on |
off } 

Preference "whitelistThreshold=10" # { Integer } -> default:10


Preference "makeCorpus=off" # { on | off } -> default:off 

Preference
"storeFragments=off" # { on | off } -> default:off 

Preference
"localStore=" # { on | off } -> default:username 

Preference
"processorBias=on" # { on | off } -> default:on 

Preference
"fallbackDomain=off" # { on | off } -> default:off 

Preference
"trainPristine=off" # { on | off } -> default:off 

Preference
"optOutClamAV=off" # { on | off } -> default:off 

Preference
"ignoreRBLLookups=off" # { on | off } -> default:off 

Preference
"RBLInoculate=off" # { on | off } -> default:off 

AllowOverride enableBNR


AllowOverride enableWhitelist 

AllowOverride fallbackDomain


AllowOverride ignoreGroups 

AllowOverride ignoreRBLLookups


AllowOverride localStore 

AllowOverride makeCorpus 

AllowOverride optIn


AllowOverride optOut 

AllowOverride optOutClamAV 

AllowOverride
processorBias 

AllowOverride RBLInoculate 

AllowOverride showFactors


AllowOverride signatureLocation 

AllowOverride spamAction


AllowOverride spamSubject 

AllowOverride statisticalSedation


AllowOverride storeFragments 

AllowOverride tagNonspam 

AllowOverride
tagSpam 

AllowOverride trainPristine 

AllowOverride trainingMode


AllowOverride whitelistThreshold 

AllowOverride dailyQuarantineSummary


PgSQLServer /var/run/postgresql/ 

PgSQLUser dspam 

PgSQLPass eeSigh5a


PgSQLDb dspam 

PgSQLConnectionCache 3 

PgSQLUIDInSignature on


PgSQLVirtualTable dspam_virtual_uids 

PgSQLVirtualUIDField uid


PgSQLVirtualUsernameField username 

HashRecMax 98317 

HashAutoExtend on


HashMaxExtents 0 

HashExtentSize 49157 

HashPctIncrease 10


HashMaxSeek 10 

HashConnectionCache 10 

 # 'strict' enforces both
verify and map 

 # There are plans to support both MySQL and Postgres. 


# an executable lookup program and its arguments. 

 # and ExtLookupMode
'map' or 'strict' 

Notifications off 

PurgeSignature off # Specified in
purge.sql 

PurgeNeutral 90 

PurgeUnused off # Specified in purge.sql


PurgeHapaxes off # Specified in purge.sql 

PurgeHits1S off # Specified
in purge.sql 

PurgeHits1I off # Specified in purge.sql 

LocalMX 127.0.0.1


SystemLog on 

UserLog on 

Opt out 

TrackSources spam 

ParseToHeaders
off 

ChangeModeOnParse on 

ChangeUserOnParse off 

MaxMessageSize 4194304


ClamAVPort 3310 

ClamAVHost 127.0.0.1 

ClamAVResponse accept


ServerMode auto 

ProcessorURLContext on 

ProcessorBias on


StripRcptDomain off 

-- 
Kind Regards from Switzerland,

Stevan Bajić
 
------------------------------------------------------------------------------
This SF.net email is sponsored by 

Make an app they can't live without
Enter the BlackBerry Developer Challenge
http://p.sf.net/sfu/RIM-dev2dev 
_______________________________________________
Dspam-user mailing list
Dspam-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspam-user

Reply via email to