NAME
Mail::Milter::Authentication::Config - Load config files for Authentication Milter
VERSION
version 2.20180318
SYNOPSIS
Load in the configuration data, does some processing on handlers loaded before returning config to the caller.
If the $Mail::Milter::Authentication::Config::PREFIX variable is set then the config file will be read from the supplied directory rather than /etc/
DESCRIPTION
Load in configuration data.
FUNCTIONS
default_config()
Return a default configuration including defaults from handler modules.
This is not the default config used by the system if no config is present, rather it is the config which is presented to the user as an example default config when using the help feature.
set_config( $config )
Set the config hashref, primarily used for testing.
load_file( $file )
Internal function used to load the config from /etc/authentication_milter.json
get_config()
Return the config hashref, load from file(s) if required.
AUTHOR
Marc Bradshaw <marc@marcbradshaw.net>
COPYRIGHT AND LICENSE
This software is copyright (c) 2018 by Marc Bradshaw.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.