logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

Mail::MtPolicyd::Client::Request - a postfix policyd client request class

Author

       Markus Benning <ich@markusbenning.de>

Description

       Class for construction of policyd requests.

   SYNOPSIS
         use Mail::MtPolicyd::Client::Request;

         $request = Mail::MtPolicyd::Client::Request->new(
           'client_address' => '127.0.0.1',
         );

   METHODS
       as_string
           Returns the request in as a string in the policyd request format.

   ATTRIBUTES
       type (default: smtpd_access_policy)
           The type of the request.

       instance (default: rand() )
           The instance ID of the mail processed by the MTA.

       attributes (default: {} )
           A hashref with contains all key/value pairs of the request.

Name

       Mail::MtPolicyd::Client::Request - a postfix policyd client request class

Version

       version 2.05

See Also