Mail::SpamAssassin::Spamd::Config -- parse spamd command line options
my $conf = Mail::SpamAssassin::Spamd::Config->new( { argv => \@ARGV, defaults => { 'user-config' => 0, }, moreopts => [ qw( foo-option|f=s@ bar-option|b=i ) ], } );
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.
spamd(1)
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.
Getopt::Long(3)
:bundling
Error messages are not unified.
See <http://bugzilla.spamassassin.org/>
spamd(1), apache-spamd(1)
apache-spamd(1)
To install Mail::SpamAssassin, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Mail::SpamAssassin
CPAN shell
perl -MCPAN -e shell install Mail::SpamAssassin
For more information on module installation, please visit the detailed CPAN module installation guide.