-
Notifications
You must be signed in to change notification settings - Fork 7
/
INSTALL
30 lines (22 loc) · 1.05 KB
/
INSTALL
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
Installation instruction for pfixtools
0) Initialize ``common'' submodule
git submodule update -i
1) Install dependencies; you will need at least the following packages:
gperf, libbz2-dev, libsrs2-dev, libssl-dev, libev-dev, libtokyocabinet-dev, libunbound-dev, libpcre3-dev, pkg-config
For the documentation, you'll need:
xmlto, docbook-xsl and asciidoc
2) Compile:
$ make
$ sudo make install
3) Prepare the configuration in /etc/pfixtools
- postlicyd.conf, read postlicyd.example.conf to learn more
- postlicyd-rsyncrbl.conf, read postlicyd-rsyncrbl.example.conf to learn more
If you are using RBLs, you should add a crontab entry for postlicyd-rsyncrbl
4) Create the spool:
# mkdir -p /var/spool/pfixtools/
# chown nobody:nogroup /var/spool/pfixtools/
5) Policy daemon startup script: /etc/init.d/postlicyd
Use your distribution's favorite way to start/stop services.
Start the policy daemon:
# /etc/init.d/postlicyd start
6) Tell postfix to use postlicyd as a policy daemon and reload postfix