Mail::MtPolicyd::Plugin::PostfixMap(3pm) | User Contributed Perl Documentation | Mail::MtPolicyd::Plugin::PostfixMap(3pm) |
Mail::MtPolicyd::Plugin::PostfixMap - mtpolicyd plugin for accessing a postfix access map
version 2.05
<Plugin whitelist> module="PostfixMap" db_file="/etc/postfix/whitelist.db" match_action=dunno </Plugin> <Plugin blacklist> moduel="PostfixMap" db_file="/etc/postfix/blacklist.db" match_action="reject you are blacklisted!" </Plugin>
Plugin checks the client_address against a postfix hash table.
It will only check if the IP address matches the list. 'OK' or a numerical value will be interpreted as a 'true' value. All other actions or values will be treaded as 'false'.
/etc/postfix/whitelist:
123.123.123.123 OK 123.123.122 OK 123.12 OK fe80::250:56ff:fe85:56f5 OK fe80::250:56ff:fe83 OK
generate whitelist.db:
$ postmap whitelist
The module takes the following parameters:
By default the plugin will do nothing. One of the following actions should be specified:
Markus Benning <ich@markusbenning.de>
This software is Copyright (c) 2014 by Markus Benning <ich@markusbenning.de>.
This is free software, licensed under:
The GNU General Public License, Version 2, June 1991
2022-10-15 | perl v5.34.0 |