policyd-client - commandline client to query a policyd server
policyd-client is a rudimentary tool to query a policy server from the command line. It will generate the instance and request fields all other fields must be specified on stdin and the request is completed by a blank line.
policyd-client [-?hhksv] [long options...] -h -? --usage --help Prints this usage information. -h --host host:port of a policyd -s --socket_path path to a socket of a policyd -k --keepalive use connection keepalive? -v --verbose be verbose, print input/output to STDERR
$ policyd-client -v -h localhost:12347 client_address=188.8.131.52 >> request=smtpd_access_policy >> instance=0.133885340838791 >> client_address=184.108.40.206 >> << action=reject IP is blacklisted << reject IP is blddacklisted
Markus Benning <email@example.com>
This software is Copyright (c) 2014 by Markus Benning <firstname.lastname@example.org>.
This is free software, licensed under:
The GNU General Public License, Version 2, June 1991