#!/usr/bin/perl -w -T

# $Id: amavis,v 1.8 2003/02/25 00:18:41 bengen Exp $

use AMAVIS;
use Getopt::Long;

use vars qw( 
	    $conffile
	    $amavis
	   );

my %options;
GetOptions(\%options, "configfile=s");

my $args={};

AMAVIS->init($args, 'configfile' => $options{configfile});

AMAVIS->process_message($args);

AMAVIS->cleanup($args);

=head1 NAME

amavis - Main executable for AMaViS-ng

=head1 SYNOPSIS

amavis [ options ]

=head1 DESCRIPTION

See README* files in /usr/share/doc/amavis-ng

=head1 OPTIONS

=item --configfile FILE

Specify alternate configuration file to be used instead of
/etc/amavis/amavis.conf

=head1 AUTHOR

This manual page was written by Hilko Bengen
E<lt>bengen+amavis@hilluzination.deE<gt>

=cut
