summaryrefslogtreecommitdiff
path: root/etc/mail/spamd.conf
blob: 1334e04160740246c45b579b8edbcc14057efe6c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
# $OpenBSD: spamd.conf,v 1.9 2018/07/22 17:09:43 jmc Exp $
#
# spamd(8) configuration file, read by spamd-setup(8).
# See also spamd.conf(5).
#
# Configures lists for spamd(8).
#
# Strings follow getcap(3) convention escapes, except you
# can have a bare colon (:) inside a quoted string and it
# will deal with it. See spamd-setup(8) for more details.
#
# "all" must be here, and defines the order in which lists are applied.
# Lists specified with the :white: capability apply to the previous
# list with a :black: capability.
#
# As of June 2016, a place to search for blacklists is
#     http://en.wikipedia.org/wiki/Comparison_of_DNS_blacklists
# - most of these are DNS-based only and cannot be used with spamd(8),
# but some of the lists also provide access to text files via rsync.

all:\
	:nixspam:

# Nixspam recent sources list.
# Mirrored from http://www.heise.de/ix/nixspam
nixspam:\
	:black:\
	:msg="Your address %A is in the nixspam list\n\
	See http://www.heise.de/ix/nixspam/dnsbl_en/ for details":\
	:method=https:\
	:file=www.openbsd.org/spamd/nixspam.gz

# An example of a list containing addresses which should not talk to spamd.
#
#override:\
#	:white:\
#	:method=file:\
#	:file=/var/db/override.txt: