Dump (using Data::Dumper) the FILTERS list and exit. This is useful
for testing the syntax of .mincfilter.
-=item B<-f>
-
-Filter only, then exit. This is useful after running B<minc -s>.
-
=item B<-h>
Show help.
can be handy if a particular message is giving the spam checker a
problem.
-=item B<-s>
-
-Process SPAM only, then exit, leaving all non-spam messages in the
-maildir.
-
=back
=cut
my $dumpfilters = 0;
-my $filteronly = 0;
our $run = 1;
my $printfilenames = 0;
-my $spamonly = 0;
our $opt_d;
-our $opt_f;
our $opt_h;
our $opt_n;
our $opt_p;
-our $opt_s; # ;; # stupid cperl-mode
if (not getopts('dfhnps')) {
exit(2);
$printfilenames = 1;
}
-if ($opt_f) {
- $filteronly = 1;
-} elsif ($opt_s) { # ))){ # stupid cperl-mode
- $spamonly = 1;
-}
-
=head1 ENVIRONMENT
=over 4