=head1 SYNOPSIS
-B<minc> [B<-m> I<MAX>] [B<-n>] [B<-p>]
+B<minc> [B<-m> I<MAX>] [B<-n>]
B<minc> B<-d>
Dry run; do not actually incorporate the mail, but log and report to
stdout/stderr as normal.
-=item B<-p>
-
-Print the filename of each message before checking it for spam. This
-can be handy if a particular message is giving the spam checker a
-problem.
-
=back
=cut
my $help;
my $maxmsgs;
my $norun;
-my $printfilenames;
GetOptions(
'd' => \$dumpfilters,
'h|help' => \$help,
'm=i' => \$maxmsgs,
'n' => \$norun,
- 'p' => \$printfilenames,
) or pod2usage();
$help and pod2usage(-exitstatus=>0, -verbose=>1);
@ARGV == 0 or pod2usage();
for $msg (@_) {
($msg eq '.' or $msg eq '..') and next;
- if ($printfilenames) {
- print("$msg\n");
- }
-
my %headers = get_headers($msg);
log_headers(%headers);