| Mail-SRS documentation | view source | Contained in the Mail-SRS distribution. |
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 documentation | view source | Contained in the Mail-SRS distribution. |