Lint problems

Glenn Steen glenn.steen at gmail.com
Mon Jun 19 12:29:36 IST 2006


On 19/06/06, Lance Haig <lhaig at haigmail.com> wrote:
> Hi Glenn,
>
> Thanks here we go
>
> Lance
>
> grep MailScannerVersion /usr/sbin/MailScanner | head -1
>
> $MailScanner::Config::MailScannerVersion = '4.55.3'
>
> grep -A 20 GetOptions /usr/sbin/MailScanner
>
> my $result = GetOptions ("h|H|help"            => \$WantHelp,
>                          "v|V|version|Version" => \$Versions,
>                          "lint"                => \$WantLintOnly,
>                          "value=s"             => \$WantRuleCheck,
>                          "from=s"              => \$RuleCheckFrom,
>                          "to=s@"               => \@RuleCheckTo,
>                          "ip=s"                => \$RuleCheckIP,
>                          "virus=s"             => \$RuleCheckVirus,
>                          "debug"               => \$Debug,
>                          "debug-sa"            => \$DebugSpamAssassin);
>
> if ($WantHelp) {
>   print STDERR "Usage:\n";
>   print STDERR "MailScanner [ -h|-v|--debug|--debug-sa|--lint ] |\n";
>   print STDERR "            [--value=<option-name> --from=<from-address>\n";
>   print STDERR "             --to=<to-address>,    --to=<to-address-2>,
> ...]\n";
>   print STDERR "             --ip=<ip-address>,    --virus=<virus-name>
> ]\n";
>   print STDERR "            <MailScanner.conf-file-location>\n";
>   exit 0;
> }
>
>
Ok, so then something else is happening. Just to recap: What happens if you do
/usr/sbin/MailScanner --lint
/usr/sbin/MailScanner -h
/usr/sbin/MailScanner -V

-- 
-- Glenn
email: glenn < dot > steen < at > gmail < dot > com
work: glenn < dot > steen < at > ap1 < dot > se


More information about the MailScanner mailing list