get postfwd1 | postfwd2 | tarball

postfwd page

News
Apr 18 2013: New versions postfwd-1.35 and postfwd2-1.35 (tarball with both versions) available. Please read the Changelog.v1 or Changelog.v2 for details.
Apr 18 2013: postfwd.org has moved to a new infrastructure.
Aug 01 2012: Additional rate limit examples available.

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 Get it

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