hi all ,

i have tested dspam-cvs latest and find out that 
dspam return code seems to be allways 0 .
Is "Broken returnCodes" not working anymore ?

Example Test command
----------------------------
#/opt/dspam/bin/dspam --user [protected] --class=spam --source=error \
--feature=whitelist,tb=3 --signature=[protected]

#echo $?
0

The same command with dspam-3.8.0[stable] is working fine and reporting
return code 99
( is spam )


System Log:
------------------------------------------------------------------------
-----------------------------
1224491227      M       <None Specified>        [signature protected]
<None Specified>\
        0.650187        [user protceted] Retrained



My Compile options are
---------------------------
./configure --prefix=/opt/dspam-cvs \
--enable-domain-scale \
--enable-clamav \
--enable-mysql \
--with-storage-driver=mysql_drv \
--with-mysql-includes=/usr/include/mysql \
--with-mysql-libraries=/usr/lib/mysql \
--enable-homedir \
--with-dspam-group=vmail \
--with-dspam-home-group=vmail \
--enable-virtual-users \
--enable-preferences-extension \
--enable-spam-delivery \
--enable-delivery-to-stdout \
--enable-daemon \
--disable-trusted-user-security \
--disable-mysql4-initialization

my dspam.conf
------------------

Home /opt/dspam/var/dspam
StorageDriver /opt/dspam/lib/dspam/libmysql_drv.so
TrustedDeliveryAgent "/opt/maildrop/bin/maildrop"
QuarantineAgent "/opt/maildrop/bin/maildrop -d %u"
OnFail error
Trust root
Trust vmail
Trust daemon
Debug *
TrainingMode toe
TestConditionalTraining on
Feature noise
Feature whitelist
Feature tb=5
Algorithm chi-square
Tokenizer sbph
PValue robinson
WebStats off
ImprobabilityDrive on
Preference "spamAction=quarantine"
Preference "showFactors=on"
AllowOverride trainingMode
AllowOverride spamAction spamSubject
AllowOverride statisticalSedation
AllowOverride enableBNR
AllowOverride enableWhitelist
AllowOverride signatureLocation
AllowOverride showFactors
AllowOverride optIn optOut
AllowOverride whitelistThreshold
# Mysql client and Server  version 5.0.37
MySQLServer             [protected]
MySQLPort               3306
MySQLUser               [protceted]
MySQLPass               [protected]
MySQLDb                 dspam
MySQLCompress           true
MySQLReconnect          true

MySQLWriteServer        [protected]
MySQLWritePort          3306
MySQLWriteUser          [protected]
MySQLWritePass          [protected]
MySQLWriteDb            dspam
MySQLCompress           true
MySQLReconnect          true

MySQLReadSignaturesFromWriteDb  on
MySQLVirtualTable          dspam_virtual_uids
MySQLVirtualUIDField       uid
MySQLVirtualUsernameField  username

Notifications   off
PurgeNeutral   90
LocalMX 127.0.0.1
SystemLog on
Opt out
Broken returnCodes
Broken case
Broken lineStripping
MaxMessageSize 1024000
ClamAVPort      3310
ClamAVHost      127.0.0.1
ClamAVResponse  spam
ProcessorURLContext on
ProcessorBias on

kind regards
Stefan Berger



!DSPAM:1011,48fc46ba150924740516693!


Reply via email to