| 1 | package Mail::Decency::ContentFilter::Core::Virus; | ||
| 2 | |||
| 3 | use Moose::Role; | ||
| 4 | |||
| 5 | use version 0.74; our $VERSION = qv( "v0.1.6" ); | ||
| 6 | |||
| 7 | use Mail::Decency::ContentFilter::Core::Constants; | ||
| 8 | use Data::Dumper; | ||
| 9 | |||
| 10 | =head1 NAME | ||
| 11 | |||
| 12 | Mail::Decency::ContentFilter::Core::Virus | ||
| 13 | |||
| 14 | =head1 DESCRIPTION | ||
| 15 | |||
| 16 | For all modules being a virus filter | ||
| 17 | |||
| 18 | |||
| 19 | |||
| 20 | =head2 METHODS | ||
| 21 | |||
| 22 | =head2 found_virus | ||
| 23 | |||
| 24 | Called whenever a virus is found by the virus filter module. | ||
| 25 | |||
| 26 | =cut | ||
| 27 | |||
| 28 | sub found_virus { | ||
| 29 | my ( $self, $info_ref ) = @_; | ||
| 30 | return $self->server->found_virus( $info_ref ); | ||
| 31 | } | ||
| 32 | |||
| 33 | |||
| 34 | =head1 AUTHOR | ||
| 35 | |||
| 36 | Ulrich Kautz <uk@fortrabbit.de> | ||
| 37 | |||
| 38 | =head1 COPYRIGHT | ||
| 39 | |||
| 40 | Copyright (c) 2010 the L</AUTHOR> as listed above | ||
| 41 | |||
| 42 | =head1 LICENCSE | ||
| 43 | |||
| 44 | This library is free software and may be distributed under the same terms as perl itself. | ||
| 45 | |||
| 46 | =cut | ||
| 47 | |||
| 48 | 1; |