Courier::Config - Class providing configuration information for Perl modules related to the Courier MTA
use Courier::Config; # Courier base configuration: my $config_dir = Courier::Config->config_dir; my $runtime_dir = Courier::Config->runtime_dir; my $courier_executable = Courier::Config->courier_executable; my $courier_version = Courier::Config->courier_version; # Courier::Filter configuration: my $filter_conf_file = Courier::Config->filter_conf_file;
This class provides configuration information for Perl modules related to the Courier MTA, e.g. installation specific file system paths.
The following methods provide information about Courier's base configuration:
The base configuration directory of Courier.
The directory where Courier keeps the message queue (msgq, msgs, tmp) and courierfilter sockets (filters, allfilters).
msgq
msgs
tmp
filters
allfilters
The full path of the Courier daemon executable.
The version number of the Courier installation.
The following Courier::Filter configuration information is provided:
The absolute file name of the Courier::Filter courier-filter-perl configuration file.
For AVAILABILITY, SUPPORT, and LICENSE information, see Courier::Filter::Overview.
Julian Mehnle <julian@mehnle.net>
To install Courier::Filter, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Courier::Filter
CPAN shell
perl -MCPAN -e shell install Courier::Filter
For more information on module installation, please visit the detailed CPAN module installation guide.