Can remove the sender and/or the recipient from the key of the greylister.
[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, libunbound-dev, pkg-config
5     Install tokyocabinet: http://tokyocabinet.sourceforge.net/
6     Install libev: http://software.schmorp.de/pkg/libev.html
7
8 2)  Compile:
9     $ make
10     $ sudo make install
11
12 3)  Prepare the configuration in /etc/pfixtools
13       - postlicyd.conf, read postlicyd.example.conf to learn more
14       - postlicyd-rsyncrbl.conf, read postlicyd-rsyncrbl.example.conf to learn more
15       - additional files required by the configuration, such as client_whitelist
16         postgrey2postlicyd can be used to migrate from an existing
17         postgrey clients whitelist
18     If you are using RBLs, you should add a crontab entry for postlicyd-rsyncrbl
19
20 4)  Create the spool:
21     # mkdir -p /var/spool/pfixtools/
22     # chown nobody:nogroup /var/spool/pfixtools/
23
24 5)  Policy daemon startup script: /etc/init.d/postlicyd
25     Use your distribution's favorite way to start/stop services.
26     Start the policy daemon:
27     # /etc/init.d/postlicyd start
28
29 6) Tell postfix to use postlicyd as a policy daemon and reload postfix
30