Source code pulled from OpenBSD for OpenNTPD. The place to contribute to this code is via the OpenBSD CVS tree.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

77 lines
2.4 KiB

21 years ago
21 years ago
21 years ago
21 years ago
21 years ago
21 years ago
21 years ago
21 years ago
  1. # $OpenBSD: spamd.conf,v 1.19 2006/07/11 05:40:33 djm Exp $
  2. #
  3. # spamd config file, read by spamd-setup(8) for spamd(8)
  4. #
  5. # See spamd.conf(5)
  6. #
  7. # Configures whitelists and blacklists for spamd
  8. #
  9. # Strings follow getcap(3) convention escapes, other than you
  10. # can have a bare colon (:) inside a quoted string and it
  11. # will deal with it. See spamd-setup(8) for more details.
  12. #
  13. # "all" must be here, and defines the order in which lists are applied.
  14. # Whitelists apply to the previous blacklist. More than one whitelist
  15. # may be applied to each blacklist.
  16. #
  17. # As of November 2004, a place to search for black lists is
  18. # http://spamlinks.net/filter-bl.htm
  19. #
  20. # Some of the URLs below point to www.openbsd.org locations. Those
  21. # files are likely to be mirrored to other OpenBSD www mirrors located
  22. # around the world. Hence, it is possible to edit this file and rewrite
  23. # www.openbsd.org with, for instance, to www.de.openbsd.org
  24. all:\
  25. :spews1:china:korea:
  26. # Mirrored from http://www.spews.org/spews_list_level1.txt
  27. spews1:\
  28. :black:\
  29. :msg="SPAM. Your address %A is in the spews level 1 database\n\
  30. See http://www.spews.org/ask.cgi?x=%A for more details":\
  31. :method=http:\
  32. :file=www.openbsd.org/spamd/spews_list_level1.txt.gz:
  33. # Mirrored from http://www.spews.org/spews_list_level2.txt
  34. spews2:\
  35. :black:\
  36. :msg="SPAM. Your address %A is in the spews level 2 database\n\
  37. See http://www.spews.org/ask.cgi?x=%A for more details":\
  38. :method=http:\
  39. :file=www.openbsd.org/spamd/spews_list_level2.txt.gz:
  40. # Mirrored from http://www.okean.com/chinacidr.txt
  41. china:\
  42. :black:\
  43. :msg="SPAM. Your address %A appears to be from China\n\
  44. See http://www.okean.com/asianspamblocks.html for more details":\
  45. :method=http:\
  46. :file=www.openbsd.org/spamd/chinacidr.txt.gz:
  47. # Mirrored from http://www.okean.com/koreacidr.txt
  48. korea:\
  49. :black:\
  50. :msg="SPAM. Your address %A appears to be from Korea\n\
  51. See http://www.okean.com/asianspamblocks.html for more details":\
  52. :method=http:\
  53. :file=www.openbsd.org/spamd/koreacidr.txt.gz:
  54. #relaydb-black:\
  55. # :black:\
  56. # :msg="SPAM. Your address %A is in my relaydb list.":\
  57. # :method=exec:\
  58. # :file=/usr/local/bin/relaydb -4lb:
  59. #relaydb-white:\
  60. # :white:\
  61. # :method=exec:\
  62. # :file=/usr/local/bin/relaydb -4lw:
  63. # Whitelists are done like this, and must be added to "all" after each
  64. # blacklist from which you want the addresses in the whitelist removed.
  65. #
  66. #whitelist:\
  67. # :white:\
  68. # :method=file:\
  69. # :file=/var/db/whitelist.txt: