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

Courier::Config - Class providing configuration information for Perl modules related to the Courier MTA

Author

       Julian Mehnle <julian@mehnle.net>

perl v5.20.2                                       2015-11-28                               Courier::Config(3pm)

Description

       This class provides configuration information for Perl modules related to the Courier MTA, e.g.
       installation specific file system paths.

   Courierbaseconfiguration
       The following methods provide information about Courier's base configuration:

       config_dir: returns string
           The base configuration directory of Courier.

       runtime_dir: returns string
           The directory where Courier keeps the message queue ("msgq", "msgs", "tmp") and courierfilter sockets
           ("filters", "allfilters").

       courier_executable: returns string
           The full path of the Courier daemon executable.

       courier_version: returns version
           The version number of the Courier installation.

   Courier::Filterconfiguration
       The following Courier::Filter configuration information is provided:

       filter_conf_file: returns string
           The absolute file name of the Courier::Filter courier-filter-perl configuration file.

Name

       Courier::Config - Class providing configuration information for Perl modules related to the Courier MTA

See Also

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

Synopsis

           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;

See Also