srsd(1p)

srsd1p

Daemon interface to mail::srs

Usage

srsd --secretfile=/etc/srs_secret

Overview

The srsd daemon listens on a socket for SRS address transformation requests. It transforms the addresses and returns the new addresses on the socket.

It may be used from exim using ${readsocket ...}, from sendmail via a TCP socket in a rule, and probably from other MTAs as well. See http://www.anarres.org/projects/srs/ for examples.

Arguments take the form --name or --name=value.

Arguments

--separator

String, specified at most once. Defaults to $SRSSEP ("=").

Specify the initial separator for the SRS address. See Mail::SRS for details.

--secret

String, may be specified multiple times, at least one of --secret or --secretfile must be specified.

Specify an SRS secret. The first specified secret is used for encoding. All secrets are used for decoding.

--secretfile

String, specified at most once, at least one of --secret or --secretfile must be specified.

A file to read for secrets. Secrets are specified once per line. The first specified secret is used for encoding. Secrets are written one per line. Blank lines and lines starting with a # are ignored. If --secret is not given, then the secret file must be nonempty.

--secret will specify a primary secret and override --secretfile if both are specified. However, secrets read from --secretfile will still be used for decoding if both are specified.

--hashlength

Integer, may be specified at most once, defaults to 4.

Specify the number of base64 characters to use for the cryptographic authentication code.

--help

Print some basic help.

Protocol

A forward request:

        FORWARD [email protected] [email protected]

A reverse request:

        REVERSE [email protected]

A client called srsc has been included in this distribution for testing purposes.

Todo

Add more daemon-related options. Path to socket. Document protocol.

Releases

11 releases since Debian 3.1 (Sarge); the text changed 4 times.

  1. 3.1
  2. 4.0–5.0
  3. 6.0–9
  4. 10–11
  5. 12–13

Author

    Shevek
    CPAN ID: SHEVEK
    [email protected]
    http://www.anarres.org/projects/

From srs 0.31-9 in Debian 13 (Trixie). Parsed by carta from the page's man source.