policyd-client(1p)

policyd-client1p

Commandline client to query a policyd server

Version

version 2.05

Overview

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.

Usage

  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

Examples

  $ policyd-client -v -h localhost:12347
  client_address=212.178.212.218
  >> request=smtpd_access_policy
  >> instance=0.133885340838791
  >> client_address=212.178.212.218
  >>
  << action=reject IP is blacklisted
  <<
  reject IP is blddacklisted

Releases

5 releases since Debian 9 (Stretch); the text changed 4 times.

  1. 9
  2. 10
  3. 11
  4. 12
  5. 13

Author

Markus Benning <[email protected]>

From mtpolicyd 2.05-1.2 in Debian 13 (Trixie). Parsed by carta from the page's man source.