TEST-FILTER-MODULE(1p) User Contributed Perl Documentation TEST-FILTER-MODULE(1p)NAME
test-filter-module - A tester for Courier::Filter modules
VERSION
0.18
SYNOPSIS
test-filter-module module [options] message [+control ...] [...]
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".
SEE ALSO
Courier::Filter::Overview, Courier::Filter
For AVAILABILITY, SUPPORT, and LICENSE information, see Courier::Filter::Overview.
AUTHOR
Julian Mehnle <julian@mehnle.net>
perl v5.14.2 2011-12-27 TEST-FILTER-MODULE(1p)
Check Out this Related Man Page
Courier::Filter::Module::DNSBL(3pm) User Contributed Perl Documentation Courier::Filter::Module::DNSBL(3pm)NAME
Courier::Filter::Module::DNSBL - DNS black-list filter module for the Courier::Filter framework
SYNOPSIS
use Courier::Filter::Module::DNSBL;
my $module = Courier::Filter::Module::DNSBL->new(
zones => @dns_zones,
logger => $logger,
inverse => 0,
trusting => 0,
testing => 0,
debugging => 0
);
my $filter = Courier::Filter->new(
...
modules => [ $module ],
...
);
DESCRIPTION
This class is a filter module class for use with Courier::Filter. It matches a message if the sending machine's IP address (currently IPv4
only) is listed by one of the configured DNS black-lists.
Constructor
The following constructor is provided:
new(%options): returns Courier::Filter::Module::DNSBL
Creates a new DNSBL filter module.
%options is a list of key/value pairs representing any of the following options:
zones
Required. A reference to an array containing the DNS zone names of the black-lists to be used.
All options of the Courier::Filter::Module constructor are also supported. Please see "new()" in Courier::Filter::Module for their
descriptions.
Instance methods
See "Instance methods" in Courier::Filter::Module for a description of the provided instance methods.
SEE ALSO
Courier::Filter::Module, Courier::Filter::Overview.
For AVAILABILITY, SUPPORT, and LICENSE information, see Courier::Filter::Overview.
AUTHOR
Julian Mehnle <julian@mehnle.net>
perl v5.14.2 2011-12-27 Courier::Filter::Module::DNSBL(3pm)
In a Case switch, how to ignore case sensitive in the test:
e.g.
case "$field" in
"TEST) action1;;
*) action2;;
esac
How to go in action1 in case of $field = TEST , or Test , or test or .... without enumerating all possibilities...
Thanks,... (1 Reply)
I have been looking into searching various files to display output.
The search criteria will be a month and year to output various numbers in the files.
is there any way to do this with the TEST function or would it have to be another way? (4 Replies)
Hi,
I want to get all the files under a directory with find command and filter the filenames with "test" . Could you please hep me how can I build this commad
Operating System : Solaris 8 (4 Replies)
I want to give tester only the account tester to view the file /var/mail/root nobody else but him and of course the owner root w/o changing the permisions of /var/mail/root -rw-------.
$ cat /var/mail/root
cat: /var/mail/root: Permission denied (3 Replies)
hi all.
Am using check_sender_access in main.cf to check sender email address.
i placed the senders and the action to take like this :
sender1@domain.com FILTER smtp:10025
sender2@domain.com FILTER smtp:xxxx
I want to take a default action for senders not in this list.
... (0 Replies)
Team,
Could some one help me in Printing from matching word to end using awk
For ex:
Input:
I am tester for now
I am tester yesterday
I am tester tomorrow
O/p
tester for now
tester yesterday
tester tomorrow
i.e Starting from tester till end of sentence (5 Replies)
Hi experts,
I have some input like below,
TEST A function W
TEST A function X
TEST B function Y
TEST C function Z
TEST C function ZY
i would like to have below output,
TEST A function W&X
TEST B function Y
TEST C function Z&ZY
Please kindly help on this, i am cracking my head... (2 Replies)
PERL MODULE :
To debug my perl module code in test environment. I have taken production module to the test in the my home path directory and was trying to test it by changing the below path in my test code.
But still i am getting the error to debug it. can you please let me knw whether i am... (13 Replies)
Hi,
I'm trying to combine two files which have 1 column in common and filter out rows I don't need.
File 1:
ID Start End Matched Coverage
1 1 254 1515 5.96
2 1 135 402 2.98
File 2 (has 2 rows per entry):
>1... (4 Replies)