pfix-srsd: add a -I option
[apps/pfixtools.git] / INSTALL
1 Installation instruction for pfixtools
2
3 1)  Install dependencies; you will need at least the following packages:
4         gperf, libbz2-dev, libsrs2-dev, libev-dev, libunbound-dev, pkg-config
5     For the documentation, you'll need:
6         xmlto, docbook-xsl and asciidoc
7
8     Install tokyocabinet: http://tokyocabinet.sourceforge.net/
9     Install libev: http://software.schmorp.de/pkg/libev.html
10
11 2)  Compile:
12     $ make
13     $ sudo make install
14
15 3)  Prepare the configuration in /etc/pfixtools
16       - postlicyd.conf, read postlicyd.example.conf to learn more
17       - postlicyd-rsyncrbl.conf, read postlicyd-rsyncrbl.example.conf to learn more
18       - additional files required by the configuration, such as client_whitelist
19         postgrey2postlicyd can be used to migrate from an existing
20         postgrey clients whitelist
21     If you are using RBLs, you should add a crontab entry for postlicyd-rsyncrbl
22
23 4)  Create the spool:
24     # mkdir -p /var/spool/pfixtools/
25     # chown nobody:nogroup /var/spool/pfixtools/
26
27 5)  Policy daemon startup script: /etc/init.d/postlicyd
28     Use your distribution's favorite way to start/stop services.
29     Start the policy daemon:
30     # /etc/init.d/postlicyd start
31
32 6) Tell postfix to use postlicyd as a policy daemon and reload postfix
33