Skip to content

The pfixtools project is a collection of postfix-related tools. The pfixtools are written in C.

License

Notifications You must be signed in to change notification settings

Fruneau/pfixtools

Repository files navigation

pfixtools

pfixtools is a suite of tools aiming at complementing postfix, to make it even more customizable, while keeping really high performance levels. This is in particular why all the major Postfix Tools are written in plain C.

This suite contains at the time of the writing, two major tools.

pfix-srsd

this daemon brings SRS to postfix using its tcp_table(5) or socketmap_table(5) mechanisms. It allows plugging SRS into canonical(5) or transport(5) rewrites quite easily.

postlicyd

this is a postfix policy daemon. It includes greylisting, rbl lookups, counters, SMTP session tracking, in a way that allow very fine grained schemes. It’s for example quite easy to reject a mail just at the SMTP DATA command using results from filtering done at the RCPT TO or even the MAIL FROM commands.

Its configuration file is described in postlicyd.conf.

Download

The sources are availble from github.

Previous versions (see [browser:ChangeLog]):

Installation

Supported platforms

The pfixtools have been currently successfully compiled and installed on the following platorms:

  • Linux: gentoo, debian etch, debian lenny, arch linux, centos 6.x

  • MacOS X 10.5 (Leopard), 10.6 (Snow Leopard)

Known bugs:

  • dns lookup crashed on debian lenny due to a bug in the version of libunbound shipped in the distribution. A workaround is to manually install a more recent version of the library (known to work with libunbound 1.4).

Other platforms might work with some Makefile tuning if gcc is available.

Requirements

The following libraries are required to build and run the pfixtools:

The following are build-time dependencies:

  • gcc: 4.0 or later

  • pkg-config (postlicyd only)

  • gperf (postlicyd only)

  • libpcre3

  • xmlto, docbook-xsl and asciidoc to build the documentation (this is only a stub of documentation)

Compilation

To install the pfixtools, just run make all doc and sudo make install.

If you don’t want to compile all the tools, you can run make toolname and sudo make install-toolname. You can also specify the installation prefix and a sandbox path sudo make install prefix=/my/prefix DESTDIR=/my/sandbox.

These programs are free softwares distributed AS IS. Please refer to the LICENSE file for details.

Authors:

Contributors:

About

The pfixtools project is a collection of postfix-related tools. The pfixtools are written in C.

Resources

License

Stars

Watchers

Forks

Packages

No packages published