Mail::MtPolicyd::Plugin::RegexList(3pm) | User Contributed Perl Documentation | Mail::MtPolicyd::Plugin::RegexList(3pm) |
Mail::MtPolicyd::Plugin::RegexList - mtpolicyd plugin for regex matching
version 2.03
<Plugin regex-whitelist> module = "RegexList" key = "request:client_name" regex = "^mail-[a-z][a-z]0-f[0-9]*\.google\.com$" regex = "\.bofh-noc\.de$" # file = "/etc/mtpolicyd/regex-whitelist.txt" action = "accept" </Plugin>
This plugin matches a value against a list of regular expressions and executes an action if it matched.
The module takes the following parameters:
One regex per line. Empty lines and lines starting with # will be ignored.
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
2018-06-20 | perl v5.26.2 |