Mail::MtPolicyd::Client::Response(3pm)

Mail::MtPolicyd::Client::Response3pm

A postfix policyd client response class

Version

version 2.05

Overview

Class to handle a policyd response.

Synopsis

  use Mail::MtPolicyd::Client::Response;
  my $response = Mail::MtPolicyd::Client::Response->new_from_fh( $conn );
  --
  my $response = Mail::MtPolicyd::Client::Response->new(
    action => 'reject',
    attributes => {
      action => 'reject',
    },
  );
  print $response->as_string;

Methods

new_from_fh( $filehandle )

Constructor which reads a response from the supplied filehandle.

as_string

Returns a stringified version of the response.

Attributes

action (required)

The action specified in the response.

attributes

Holds a hash with all key/values of the response.

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.