Share Pastebin
Guest
Public paste!

Untitled

By: a guest | Feb 9th, 2010 | Syntax: None | Size: 1.90 KB | Hits: 43 | Expires: Never
Copy text to clipboard
  1. ## use mysql for storage its thread safe
  2. #StorageDriver /usr/lib/dspam/libmysql_drv.so
  3. #StorageDriver /usr/lib/dspam/libsqlite3_drv.so
  4. StorageDriver /usr/lib/dspam/libhash_drv.so
  5. ## set up pipe mail back to postfix
  6. DeliveryHost    127.0.0.1
  7. DeliveryPort    10026
  8. DeliveryIdent   "dspamd"
  9. DeliveryProto   SMTP
  10. ## use procmail for LMA
  11. TrustedDeliveryAgent "/usr/bin/procmail"
  12. ## misc
  13. OnFail error
  14. Trust root
  15. Trust dspam
  16. Trust mail
  17. Trust mailnull
  18. Trust smmsp
  19. Trust daemon
  20. ## training
  21. TrainingMode teft
  22. TestConditionalTraining on
  23. #Feature chained
  24. Feature whitelist
  25. Algorithm graham burton
  26. Tokenizer osb
  27. ProcessorURLContext on
  28. #PValue graham
  29. PValue bcr
  30. ## disable www stats
  31. # pre 3.9 SupressWebStats on
  32. WebStats off
  33. ## mail handling
  34. AllowOverride spamAction
  35. AllowOverride spamSubject
  36. AllowOverride signatureLocation
  37. AllowOverride trainingMode
  38. AllowOverride enableBNR
  39. AllowOverride enableWhitelist
  40. AllowOverride showFactors
  41. AllowOverride whitelistThreshold
  42. AllowOverride statisticalSedation
  43. Preference "spamAction=tag"
  44. Preference "signatureLocation=headers"  # 'message' or 'headers'
  45. Preference "showFactors=off"
  46. Preference "spamSubject=[SPAM]"
  47. Notifications   off
  48. LocalMX 127.0.0.1
  49. ## logging
  50. TrackSources spam
  51. SystemLog on
  52. UserLog   off
  53. ## default filtering for all users
  54. Opt out
  55. ## dspams learning when email to spam or ham is sent
  56. ParseToHeaders off
  57. ChangeModeOnParse on
  58. ChangeUserOnParse off
  59. ## antivirus pipe
  60. ClamAVPort  3310
  61. ClamAVHost  127.0.0.1
  62. ClamAVResponse  accept
  63. ## set up spamd to accept mail from postfix
  64. ServerPID           /var/run/dspam/dspam.pid
  65. ServerMode          auto
  66. ServerPass.Relay1   "xxx"
  67. ServerParameters    "--deliver=innocent"
  68. ServerIdent         "localhost.localdomain"
  69. ServerDomainSocketPath  "/var/run/dspam/dspam.sock"
  70. ClientHost          /var/run/dspam/dspam.sock
  71. ClientIdent         "xxx@Relay1"
  72. ProcessorBias on
  73. Include /etc/dspam/dspam.d/