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

test-filter-module - A tester for Courier::Filter modules

Author

       Julian Mehnle <julian@mehnle.net>

perl v5.20.2                                       2015-11-28                             TEST-FILTER-MODULE(1p)

Description

       This is a tester for Courier::Filter modules.  It sets up the specified Courier::Filter::Module::module
       filter module, using any supplied options, and then queries the filter module for consideration of the
       given message file and zero or more control files.  More than one message/control files tuple may also be
       specified, in which case the filter module is applied to each message and its respective control file(s).
       Filter module options must be specified in the format -option=expr, where expr may be any valid Perl
       expression.

Examples

test-filter-module DNSBL -zones='["bl.foo.org", "bl.bar.org"]' test.rfc2822 +test.control
           Applies   the   Courier::Filter::Module::DNSBL   filter   module   to  the  test.rfc2822/test.control
           message/control file tuple (taking the sending machine's IP address from the control file), using the
           blacklist DNS zones "bl.foo.org" and "bl.bar.org".

Name

       test-filter-module - A tester for Courier::Filter modules

See Also

       Courier::Filter::Overview, Courier::Filter

       For AVAILABILITY, SUPPORT, and LICENSE information, see Courier::Filter::Overview.

Synopsis

test-filter-modulemodule [options] message [+control ...] [...]

Version

       0.18

See Also