On Mon, 5 Apr 2010 15:15:30 -0700
Terry Barnum <te...@dop.com> wrote:

> 
> On Apr 5, 2010, at 1:27 PM, Stevan Bajić wrote:
> 
> > On Mon, 5 Apr 2010 13:24:27 -0700
> > Terry Barnum <te...@dop.com> wrote:
> > 
> >> 
> >> On Apr 5, 2010, at 1:07 PM, Stevan Bajić wrote:
> >> 
> >>> Okay. I see the issue. First of all you have to say "thank you" to 
> >>> Richard Valk. He is the one who mentioned that issue to me. The problem 
> >>> is that the documentation for DSPAM is saying that the configuration is 
> >>> by default in /usr/local/etc/dspam.conf or PREFIX/etc but it's not true. 
> >>> Default is /etc/dspam.conf. So please either move your 
> >>> /usr/local/etc/dspam.conf to /etc/dspam.conf or recompile your DSPAM 
> >>> installation and add the line:
> >>> -------------------------------------
> >>> --sysconfdir=/usr/local/etc
> >>> -------------------------------------
> >> 
> >> I will thank Richard. I used the dspam install instructions from his site, 
> >> diymacserver.com.
> >> 
> >> How is dspam working for me right now if it's not seeing/using my 
> >> /usr/local/etc/dspam.conf ?
> >> 
> > Are you sure that DSPAM is using your dspam.conf?
> 
> I'm not sure but I think so. Would DSPAM know how to communicate with mysql 
> without an edited dspam.conf? The dspam_token_data table has 409,700 entries 
> with last_hit on some entries set to 2010-04-05 (today).
> 
Yes. You are right. It looks like dspam.conf is correctly used.



> > Do you run DSPAM in client/server mode?
> 
> I believe so. DSPAM is being launched with --daemon. Here's 
> /usr/local/etc/dspam.conf (comments and passwords removed). These are 
> settings from Richard's how-to.
> 
> Home /usr/local/var/dspam
> StorageDriver /usr/local/lib/dspam/libmysql_drv.dylib
> 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 _dspam
> Trust _postfix
> Trust _www
> TrainingMode teft
>
If you allow me to make suggestions then switch to TOE. TEFT is in the long run 
less accurate then TOE.


> TestConditionalTraining on
> Feature whitelist
> Algorithm graham burton
> Tokenizer chain
>
Allow me here again to make a suggestion. CHAIN is not a bad tokenizer but for 
todays needs in Anti-Spam something more sophisticated like "OSB" is way better.


> PValue bcr
> WebStats on
> 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
> MySQLServer           /var/mysql/mysql.sock
> MySQLUser             xx
> MySQLPass             yy
> MySQLDb                       zz
> MySQLCompress         true
>
I see you are using communication with MySQL over a socket and using 
compression here does not have that big (if at all) benefit. I would suggest 
you to NOT use compression in your case.


> MySQLVirtualTable             dspam_virtual_uids
> MySQLVirtualUIDField          uid
> MySQLVirtualUsernameField     username
> MySQLUIDInSignature   on
> HashRecMax            98317
> HashAutoExtend                on  
> HashMaxExtents                0
> HashExtentSize                49157
> HashPctIncrease               10
> HashMaxSeek           10
> HashConnectionCache   10
> Notifications off
> LocalMX 127.0.0.1
> SystemLog     on
> UserLog               on
> Opt out
> ParseToHeaders on
> ChangeModeOnParse on
> ChangeUserOnParse full
> ServerPID             /var/run/dspam.pid
> ServerParameters      "--deliver=innocent, spam"
>
You should remove the extra space above to only be:
ServerParameters        "--deliver=innocent,spam"


> ServerIdent           "localhost.local"
> ProcessorURLContext on
> ProcessorBias on
> StripRcptDomain off


-- 
Kind Regards from Switzerland,

Stevan Bajić

------------------------------------------------------------------------------
Download Intel&#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
Dspam-user mailing list
Dspam-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspam-user

Reply via email to