Mail::MtPolicyd::AddressList(3pm)

Mail::MtPolicyd::AddressList3pm

A class for ip address lists

Version

version 2.05

Attributes

list

Contains an ArrayRef of NetAddr::IP which holds the all entries of this object.

Methods

add

Add a list of NetAddr::IP objects to the list.

is_empty

Returns a true value when empty.

count

Returns the number of entries.

add_localhost

Add localhost addresses to list.

add_string

Takes a list of IP address strings.

The strings itself can contain a list of comma/space separated addresses.

Then a list of NetAddr::IP objects is created and pushed to the list.

match

Returns true if the give NetAddr::IP object matches an entry of the list.

match_string

Same as match(), but takes an string instead of NetAddr::IP object.

as_string

Returns a comma separated string with all addresses.

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.