Mail::SRS::Limit - A Sender Rewriting Scheme which limits bounces
use Mail::SRS::Limit; my $srs = new Mail::SRS::Limit( Database => '/var/run/srs.db', Limit => 10, ... );
See Mail::SRS for details of the standard SRS subclass interface.
This module requires two extra parameters to the constructor: a filename for a Berkeley DB_File database, and the maximum number of bounces to allow for any mail.
This code relies on not getting collisions in the cryptographic hash. This can and should be fixed.
The database is not garbage collected.
Mail::SRS
To install Mail::SRS, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Mail::SRS
CPAN shell
perl -MCPAN -e shell install Mail::SRS
For more information on module installation, please visit the detailed CPAN module installation guide.