Mail::Decency::Policy::GeoWeight
Implements weighting and statistics by countries. It can be used for collecting stats from which countries the senders come from as well as for fighting spam by scoring certain countries (negative or positive).
This module requires Geo::IP which itself requires various libraries on your OS.
--- disable: 0 enable_stats: 1 weight_classes: - countries: - DE - US - AU weight: 10 - countries: - SE - DK weight: 5 - { countries: [ 'XX' ], weight: -100 } weight_default: -5
Weight class, containging one or multiple country codes and a weighting (positive or negative)
Weight for all values not specified via "weight_by_country"
Enable statistics by country (either stats or weight or both should be enabled)
Enable weighting (either stats or weight or both should be enabled)
Database schema
Checks weight classes
Either build stats per country or score with negative or positve weight per country or do both
Print statistics per country
Ulrich Kautz <uk@fortrabbit.de>
Copyright (c) 2010 the "AUTHOR" as listed above
This library is free software and may be distributed under the same terms as perl itself.
To install Mail::Decency, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Mail::Decency
CPAN shell
perl -MCPAN -e shell install Mail::Decency
For more information on module installation, please visit the detailed CPAN module installation guide.