README.test.postfwd2
This commit is contained in:
parent
1584ed1342
commit
108f4ca9b7
20
DOC/README.test.postfwd2
Normal file
20
DOC/README.test.postfwd2
Normal file
@ -0,0 +1,20 @@
|
||||
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.
|
Loading…
Reference in New Issue
Block a user