Mail::Abuse::Incident::Received - Parses Received: headers in an abuse report
use Mail::Abuse::Report; use Mail::Abuse::Incident::Received; my $i = new Mail::Abuse::Incident::Received; my $report = new Mail::Abuse::Report (incidents => [$i] );
This class parses standard Received: headers included in a given abuse report.
Entries in the configuration file can control the behavior of this module. The following entries are recognized:
When set to a true value, causes some debug information to be produced via warn().
warn()
The functions provided by this module, are described below
parse($report)
Parses all the Received: headers, creating an instance with each combination of IP address and timestamp found.
Returns a list of objects of the same class, with the incident data (IP address, timestamp and other information) filled.
None by default.
Original version; created by h2xs 1.2 with options
-ACOXcfkn Mail::Abuse -v 0.01
This code and all accompanying software comes with NO WARRANTY. You use it at your own risk.
This code and all accompanying software can be used freely under the same terms as Perl itself.
Luis E. Muñoz <luismunoz@cpan.org>
perl(1).
1 POD Error
The following errors were encountered while parsing the POD:
Non-ASCII character seen before =encoding in 'Muñoz'. Assuming CP1252
To install Mail::Abuse, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Mail::Abuse
CPAN shell
perl -MCPAN -e shell install Mail::Abuse
For more information on module installation, please visit the detailed CPAN module installation guide.