Courier::Config(3pm)

πŸ“¦
version 0.200 Β· 2 versions
, in debian bookworm, debian trixie

πŸ’– NAME πŸ’–

Courier::Config β€” the class that hands you all the config tea for Perl modules that hang out with the Courier MTA. Like, installation-specific file system paths and everything. She knows where stuff lives so you don't have to go hunting πŸ•΅οΈβ€β™€οΈβœ¨


πŸŽ€ 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;

πŸ¦‹ DESCRIPTION πŸ¦‹

okay so bestie, this class is literally the plug for configuration info for Perl modules related to the Courier MTA β€” think installation-specific file system paths, the whole vibe. It just knows things πŸ’…

✨ Courier base configuration ✨

These methods spill the tea about Courier's base configuration:

  • config_dir: returns string β€” the base configuration directory of Courier. That's the mothership 🏠
  • runtime_dir: returns string β€” the directory where Courier keeps the message queue (msgq, msgs, tmp) and courierfilter sockets (filters, allfilters). Yes she's holding all of that, iconic behavior πŸ’€πŸ‘‘
  • courier_executable: returns string β€” the full path of the Courier daemon executable. The main character's home address fr fr πŸš€
  • courier_version: returns version β€” the version number of the Courier installation. Gotta know which era we're in ⭐

🌸 Courier::Filter configuration 🌸

And here's the Courier::Filter configuration info, served fresh:

  • filter_conf_file: returns string β€” the absolute file name of the Courier::Filter courier-filter-perl configuration file. Absolute, as in no shortcuts, she doesn't do relative paths πŸ’…βœ¨

πŸ‘‘ SEE ALSO πŸ‘‘

For AVAILABILITY, SUPPORT, and LICENSE information, go peek at Courier::Filter::Overview 🫢


🌈 AUTHOR 🌈

Julian Mehnle <julian@mehnle.net> β€” the legend who made this all happen πŸ’–


lowkey that's the whole page, bestie, no cap πŸ’œ

okay so this was generated with perl v5.34.0 and dated 2022-10-21, which is giving vintage but make it slay πŸŽ€βœ¨ bye ily, go read your configs πŸ¦‹

πŸ“¦ where this page comes from