---
name: "Mail::SRS::DB"
section: "3pm"
platform: "linux"
package: "libmail-srs-perl"
version: "0.31-9"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/Mail::SRS::DB"
---

# Mail::SRS::DB(3pm)

A MLDBM based Sender Rewriting Scheme

## NAME

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

## SYNOPSIS

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

## DESCRIPTION

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.

## 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
