From: Florent Bruneau Date: Sun, 12 Oct 2008 11:08:22 +0000 (+0200) Subject: Add mYk's installation file. X-Git-Url: http://git.madism.org/?a=commitdiff_plain;h=90966df1a5149c39beed4f6a3c5d6a7699b83024;p=apps%2Fpfixtools.git Add mYk's installation file. Signed-off-by: Florent Bruneau --- diff --git a/INSTALL b/INSTALL new file mode 100644 index 0000000..ca1d3e5 --- /dev/null +++ b/INSTALL @@ -0,0 +1,29 @@ +Installation instruction for pfixtools + +1) Install dependencies; you will need at least the following packages: + gperf, libbz2-dev, libsrs2-dev, libunbound-dev, pkg-config + Install tokyocabinet: http://tokyocabinet.sourceforge.net/ + +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 + - additional files required by the configuration, such as client_whitelist + postgrey2postlicyd can be used to migrate from an existing + postgrey clients whitelist + 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 +