NAME
Mail::SpamAssassin::Spamd::Config -- parse spamd command line options
SYNOPSIS
my $conf = Mail::SpamAssassin::Spamd::Config->new(
{
argv => \@ARGV,
defaults => { 'user-config' => 0, },
moreopts => [ qw( foo-option|f=s@ bar-option|b=i ) ],
}
);
DESCRIPTION
This module uses Getopt::Long to parse and validate spamd command line options.
Returns blessed hash reference, containing coherent set of options. Dies on error.
See source and spamd(1) for list of valid options.
WARNING
This interface is considered experimental and likely to change. Notify the dev list if you're planning to rely on it.
Getopt::Long::Configure is used to modify global Getopt::Long(3) configuration. If you don't want :bundling
and / or wish to enable / disable something else for whatever reason... well, keep that in mind.
BUGS
Error messages are not unified.
See <http://bugzilla.spamassassin.org/>