DOKK / manpages / debian 10 / libmail-srs-perl / Mail::SRS::DB.3pm.en
Mail::SRS::DB(3pm) User Contributed Perl Documentation Mail::SRS::DB(3pm)

Mail::SRS::DB - A MLDBM based Sender Rewriting Scheme

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

See Mail::SRS for details of the standard SRS subclass interface. This module provides the methods compile() and parse().

This module requires one extra parameter to the constructor, a filename for a Berkeley DB_File database.

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

2018-02-17 perl v5.26.1