#!/usr/bin/perl # # Bootstrapping module for Courier::Filter, # the purely Perl-based filter framework for the Courier MTA. # # (C) 2003-2006 Julian Mehnle # $Id: courier-filter-perl 205 2006-07-13 00:03:58Z julian $ # ############################################################################## =head1 NAME courier-filter-perl - A Courier::Filter-based filter for the Courier MTA =head1 VERSION 0.18 =head1 SYNOPSIS B [ B | B ] [ B ] =head1 DESCRIPTION The B executable is a global mail filter for the Courier MTA and acts as glue between Courier's B interface and the B module framework. For an architectural and administrative overview of the B framework, see L. =head1 FILES =over =item F This is the configuration file for C and Courier::Filter. See L for its format. =back =head1 SEE ALSO L, L For AVAILABILITY, SUPPORT, and LICENSE information, see L. =head1 AUTHOR Julian Mehnle =cut use warnings; use strict; use lib '/usr/share/courier-filter-perl/perl5'; use Courier::Config; use Courier::Filter; use constant TRUE => (0 == 0); use constant FALSE => not TRUE; our $options; my $config_file_name = Courier::Config::COURIER_FILTER_CONF; require $config_file_name; my $filter = Courier::Filter->new(%$options); exit($filter->run() || 0); # vim:tw=79