The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

NAME

Mail::SRS::Limit - A Sender Rewriting Scheme which limits bounces

SYNOPSIS

        use Mail::SRS::Limit;
        my $srs = new Mail::SRS::Limit(
                Database => '/var/run/srs.db',
                Limit    => 10,
                ...
                        );

DESCRIPTION

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.

BUGS

This code relies on not getting collisions in the cryptographic hash. This can and should be fixed.

The database is not garbage collected.

SEE ALSO

Mail::SRS