get postfwd1 | postfwd2 | tarball | https

postfwd page

News
Feb 2019: New pre-release version of postfwd3 is available at postfwd-2.00-pre7 (tarball). This version contains several changes and will replace postfwd1 and postfwd2 after release. Please refer to the changelog and the manual for more information.
Jan 2019: New versions postfwd-1.39 and postfwd2-1.39 (tarball) offer better support to be run in a docker container. Please refer to the changelogs v1 and v2 and postfwd.org/docker for more information.
Jan 2019: postfwd pre-built docker images are available at DockerHub.
Nov 2018: postfwd can be found at GitHub.
Mar 2018: postfwd.org is now available via HTTPS.

Description
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 (please visit http://www.postfix.org/SMTPD_POLICY_README.html for more information). 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).

Features Ressources

Help


Required PERL modules

postfwd1 (1.10pre8+) postfwd2 (0.07+) optional (since version 1.30) optional (since version 1.32) previous versions (up to 1.10pre7c)

To install them you may either run:

	perl -MCPAN -e shell
	install <Module>
	
or get them from CPAN archive and run:
	perl Makefile.pl
	make
	make test
	make install
	

License
postfwd is free software and released under BSD license, which basically means that you can do what you want as long as you keep the copyright notice:

Copyright (c) 2007, 2008, Jan Peter Kessler
All rights reserved.

Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:

THIS SOFTWARE IS PROVIDED BY ME ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

http://www.postfwd.org/ 2007 by Jan Peter Kessler info (AT) postfwd (DOT) org