mailsystem/DOC/postfwd
2024-04-17 14:43:06 +02:00
..
README.change-initd-script Add postfwd reademe file 'README.change-initd-script'. 2022-09-21 11:12:25 +02:00
README.default-rate-limits Add 'README.default-rate-limits'. 2024-04-17 14:43:06 +02:00
README.postfwd-example.conf Add 'README.postfwd-example.conf', a slightly more extensive configuration for the Postfix firewall. 2023-01-02 13:27:26 +01:00
README.processing-rule-sets Add Readme file adn comments for/in postfwd2 resources. 2022-09-17 12:56:45 +02:00
README.test.postfwd2 Add Readme file adn comments for/in postfwd2 resources. 2022-09-17 12:56:45 +02:00

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

TESTING
=======

First you have to create a ruleset (see Configuration section). Check it with

        postfwd2 f /etc/postfwd.cf C

There is an example policy request distributed with postfwd, called request.sample. Simply change it to meet your requirements and use

        postfwd2 f /etc/postfwd.cf <request.sample

You should get an answer like

        action=<whateveryouconfigured>

For network tests I use netcat:

        nc 127.0.0.1 10045 <request.sample

to send a request to postfwd. If you receive nothing, make sure that postfwd2 is running and listening on the specified network settings.