blob: 59671b1decc8453c3178efcc91b9143948d32322 (
plain) (
blame)
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
39
40
41
42
43
44
|
[
{ type: install
message: <<EOM
To enable spamd you need:
1) add required spamd entries to /etc/services, run command
%%PREFIX%%/sbin/add-spamd-to-etc-service
2) Enable spamd in /etc/rc.conf with the following line:
obspamd_enable="YES"
obspamlogd_enable="YES"
For PF you can specify a dedicated pflog interface with parameter
obspamlogd_pflog_if. This interface will be created and removed
by the rc script of spamlogd.
3) Configuration template is available in %%PREFIX%%/etc/spamd as
spamd.conf.sample file. Copy then to spamd.conf file and
edit to suit your needs.
4) mount fdescfs to /dev/fd with the following line in /etc/fstab
fdescfs /dev/fd fdescfs rw 0 0
Note for XEN users:
The XEN kernel ships without modules, therefore you have to add
the following lines to the kernel config and build a new kernel.
options FDESCFS
device pf
device pflog
5) Add following lines to the pf.conf(5)
table <spamd-white> persist
no rdr inet proto tcp from <spamd-white> to any \
port smtp
rdr pass inet proto tcp from any to any \
port smtp -> 127.0.0.1 port spamd
FreeBSD only features (not in OpenBSD):
- sync for spamdb (parameter -Y)
See %%DOCSDIR%%/ for usage.
EOM
}
]
|