Mail::Milter::Authentication::Config - Load config files for Authentication Milter
version 2.20190523
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/
Load in configuration data.
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 the config hashref, primarily used for testing.
Internal function used to load the config from /etc/authentication_milter.json
Process the loaded config with the callback if required.
This is the name of a Module to load, the process_config method of the instantiated object will be called with $config as the argument.g
package ConfigProcessor; sub new { ... } sub process_config { my ( $self, $config ) = @_; return; } 1;
Return the config hashref, load from file(s) if required.
Marc Bradshaw <marc@marcbradshaw.net>
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.
To install Mail::Milter::Authentication, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Mail::Milter::Authentication
CPAN shell
perl -MCPAN -e shell install Mail::Milter::Authentication
For more information on module installation, please visit the detailed CPAN module installation guide.