1Mail::MIMEDefang::Net(3M)ail::MIMEDefang::Net DocumentatiMoanil::MIMEDefang::Net(3)
2
3
4

NAME

6       Mail::MIMEDefang::Net - Network related methods for email filters
7

DESCRIPTION

9       Mail::MIMEDefang::Net are a set of methods that can be called from
10       mimedefang-filter to call network related services.
11

METHODS

13       expand_ipv6_address
14           Method that returns an IPv6 address with all zero fields explicitly
15           expanded, any field shorter than 4 hex digits will be padded with
16           zeros.
17
18       reverse_ip_address_for_rbl
19           Method that returns the ip address in the appropriately-reversed
20           format used for RBL lookups.
21
22       relay_is_blacklisted
23           Method that returns the result of the lookup (eg 127.0.0.2).
24           Parameters are the ip address of the relay host and the domain of
25           the rbl server.
26
27       is_public_ip4_address $ip_addr
28           Returns true if $ip_addr is a publicly-routable IPv4 address, false
29           otherwise
30
31       is_public_ip6_address $ip_addr
32           Returns true if $ip_addr is a publicly-routable IPv6 address, false
33           otherwise
34
35       get_mx_ip_addresses $domain [$resolver_object]
36           Get IP addresses of all MX hosts for given domain.  If there are no
37           MX hosts, then return A records.
38
39       md_get_bogus_mx_hosts $domain
40           Returns a list of "bogus" IP addresses that are in $domain's list
41           of MX records.  A "bogus" IP address is
42           loopback/private/multicast/etc.
43
44       relay_is_blacklisted_multi
45           Method that rerurns a hash table with one entry per original
46           domain.  Entries in hash will be: "{ $domain =<gt" $return }>,
47           where $return is one of SERVFAIL, NXDOMAIN or a list of IP
48           addresses as a dotted-quad.
49
50       relay_is_blacklisted_multi_count
51           Method that returns a number indicating how many RBLs the host was
52           blacklisted in.
53
54       relay_is_blacklisted_multi_list
55           Method that returns an array indicating the domains in which the
56           relay is blacklisted.
57
58
59
603.3                               2023-01-18          Mail::MIMEDefang::Net(3)
Impressum