postfwd - Postfix policyd to combine complex restrictions in a ruleset

Distribution: Ubuntu 16.04 LTS (Xenial Xerus)
Repository: Ubuntu Universe amd64
Package name: postfwd
Package version: 1.35
Package release: 3
Package architecture: all
Package type: deb
Installed size: 574 B
Download size: 191.00 KB
Official Mirror:
Postfwd is written in perl to combine complex postfix restrictions in a ruleset similar to those of the most firewalls. The program uses the postfix policy delegation protocol to control access to the mail system before a message has been accepted. It allows you to choose an action (e.g. reject, dunno) for a combination of several smtp parameters (like sender and recipient address, size or the client's TLS fingerprint).



  • postfwd2


    Binary package: postfwd_1.35-3_all.deb
    Source package: postfwd

    Install Howto

    1. Update the package index:
      # sudo apt-get update
    2. Install postfwd deb package:
      # sudo apt-get install postfwd


    • /etc/default/postfwd
    • /etc/init.d/postfwd
    • /usr/sbin/postfwd1
    • /usr/sbin/postfwd2
    • /usr/share/doc/postfwd/README.Debian
    • /usr/share/doc/postfwd/changelog.Debian.gz
    • /usr/share/doc/postfwd/copyright
    • /usr/share/doc/postfwd/postfwd-ARCH.png
    • /usr/share/doc/postfwd/
    • /usr/share/doc/postfwd/postfwd.txt.gz
    • /usr/share/doc/postfwd/postfwd2-chroot.txt
    • /usr/share/doc/postfwd/postfwd2.CHANGELOG.gz
    • /usr/share/doc/postfwd/postfwd2.txt.gz
    • /usr/share/doc/postfwd/quick.txt.gz
    • /usr/share/doc/postfwd/
    • /usr/share/doc/postfwd/versions.txt
    • /usr/share/doc/postfwd/examples/example-cfg2.txt.gz
    • /usr/share/doc/postfwd/examples/
    • /usr/share/doc/postfwd/examples/postfwd.plugins.sample.gz
    • /usr/share/doc/postfwd/examples/request.sample
    • /usr/share/man/man1/postfwd1.1.gz
    • /usr/share/man/man1/postfwd2.1.gz


    2014-10-13 - Jan Wagner <> postfwd (1.35-3) unstable; urgency=medium * [965e0d7] Remove shiped html files from binaries * [17c1925] Bump Standards-Version to 3.9.6, no changes needed

    2014-03-09 - Jan Wagner <> postfwd (1.35-2) unstable; urgency=low * Migrate over example installation to postfwd.examples * Add plugins/*.sample to examples * [6f4f77b] Remove generated hapolicy manpage in clean target * [05ca589] Updating standards version to 3.9.4, no changes needed * [bb64a82] Source init functions in init script * [5d8b250] Update Vcs-headers * [0df5d0a] Updating standards version to 3.9.5, no changes needed * [86f8f61] Add travis-ci config * [010082b] Remove unneeded purge from travis config * [7542e86] Reorder and comment .travis.yml * [7025f4f] Add lintian checks after build * [ddbfcc0] Update to recent copyright format * [b9b503e] Move samples into /usr/share/doc/postfwd/examples * [1e7c202] Add 10_fix_wording_manpages.patch to fix manpages * [f7da50f] travis-ci: Remove dpatch from build-deps * [dd5f01d] Add 20_fix_postfwd1_default_umask.patch to fix postfwd default umask (Closes: #717607), thanks Jesse Norell * [172a432] Fix bug report source format move

    2013-05-22 - Jan Wagner <> postfwd (1.35-1) unstable; urgency=low * New upstream release - fixed fixed taint mode logging error - check_* functions use print/getline instead of send/recv for large --dumpcache output - log_* routines added to allow the same plugins for postfwd1 and postfwd2 - added more information when using --debug=cleanup - new sendmail(sendmail-path::from::to::subject::body) action - rate(), size() and rcpt() function index is now case insensitive by default - fixed segfault when using new perl versions (Closes: #697653)

    2012-03-29 - Jan Wagner <> postfwd (1.33-1) UNRELEASED; urgency=low * New upstream release - fixed bug when computing scores with more than 1 digit after the "." - fixed bug when computing negative values with the set action - ITEMS plugins returning zero values were handled incorrectly - max command recursion was not reset for each rule - fixed warning about use of (uninitialized value) when STORABLE is available but no cache file was defined (Closes: #697657) * Fix comment in /etc/default/postfwd (Closes: #679924), thanks Jeroen Koekkoek * Fix typo in README.Debian (closes: #691242), thanks Axel Beckert

    2012-03-29 - Jan Wagner <> postfwd (1.32-2) unstable; urgency=low * Switch over to packaging format 3.0 (quilt) (Closes: #664368) * Updating standards version to 3.9.3, no changes needed * Remove build-dependency of dpatch * Use dh_prep instead of dh_clean -k * Add build-arch and build-indep targets to debian/rules