Hello,

I'm trying to define group preferences  but it does not work.

I'm using dspam-3.10.2

I paste some info:
# cat /usr/local/var/dspam/group
     grp001:shared:*@pre.mydomain.es

# dspam_admin list pref grp001
spamSubject=[SPAM]

# dspam_admin list pref mgim...@pre.mydomain.es
spamSubject=[SPAM_MANEL]

if I send an email to mgim...@pre.mydomain.es the stats are applied to the 
group but for the subject, but on the subject I'm getting "[SPAM_MANEL]". If i 
delete the user pref:

dspam_admin del pref mgim...@pre.mydomain.es spamSubject

the subject applied is the default on "[DEFAULT]" defined in /etc/dspam.conf

is there any way to define group pref? or , must I set every users preferences?

I paste my /etc/dspam.conf

Home /usr/local/var/dspam
StorageDriver /usr/lib64/dspam/libmysql_drv.so
TrustedDeliveryAgent "/usr/bin/procmail"
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 notrain
TestConditionalTraining on
Feature whitelist
Feature tb=5
Algorithm graham burton
Tokenizer osb
PValue bcr
WebStats on
Preference "trainingMode=TEFT"        
Preference "spamAction=tag"           
Preference "spamSubject=[DEFAULT]"      
Preference "statisticalSedation=5"    
Preference "enableBNR=on"             
Preference "enableWhitelist=on"       
Preference "signatureLocation=message"
Preference "tagSpam=on"               
Preference "tagNonspam=off"           
Preference "showFactors=off"          
Preference "optIn=off"                
Preference "optOut=off"               
Preference "whitelistThreshold=10"    
Preference "makeCorpus=off"           
Preference "storeFragments=off"       
Preference "localStore="              
Preference "processorBias=on"         
Preference "fallbackDomain=off"       
Preference "trainPristine=off"        
Preference "optOutClamAV=off"         
Preference "ignoreRBLLookups=off"     
Preference "RBLInoculate=off"         
Preference "notifications=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
AllowOverride notifications
MySQLServer             /var/lib/mysql/mysql.sock
MySQLPort               3306
MySQLUser               dspam
MySQLPass               *******
MySQLDb                 dspam
MySQLCompress           true
MySQLReconnect          true
MySQLCompress           true
MySQLReconnect          true
MySQLUIDInSignature     on
HashRecMax              98317
HashAutoExtend          on
HashMaxExtents          0
HashExtentSize          49157
HashPctIncrease         10
HashMaxSeek             10
HashConnectionCache     10
IgnoreHeader X-Spam-Status
IgnoreHeader X-Spam-Flag
Notifications   on
PurgeSignatures 14
PurgeNeutral    90
PurgeUnused     90
PurgeHapaxes    30
PurgeHits1S     15
PurgeHits1I     15
LocalMX 127.0.0.1
SystemLog       on
UserLog         on
Opt out
ServerQueueSize 32
ServerPID /var/run/dspam/dspam.pid
ServerMode auto
ServerParameters "--deliver=innocent, spam -d %u"
ServerIdent "localhost.localdomain"
ServerDomainSocketPath "/tmp/dspam.sock"
ProcessorURLContext on
ProcessorBias on
StripRcptDomain off
GroupConfig /usr/local/var/dspam/group

Thanks & Regards.

Manel

                                          
------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Dspam-user mailing list
Dspam-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspam-user

Reply via email to