NAME

Mail::Decency::ContentFilter::Core::Virus

DESCRIPTION

For all modules being a virus filter

CLASS ATTRIBUTES

weight_translate : HashRef[Int]

Hashref of translation values.

Example:

    weight_translate:
        10: 100
        0: 50
        -5: -50
        -10: -100

Will translate anything

METHODS

pre_init

Add check params: cmd, check, train and untrain to list of check params

translate_weight

Uses the weight translation array and determines dececency weighting from module weighting (eg crm114 to decency translation)

AUTHOR

Ulrich Kautz <uk@fortrabbit.de>

COPYRIGHT

Copyright (c) 2010 the "AUTHOR" as listed above

LICENCSE

This library is free software and may be distributed under the same terms as perl itself.