srsd(1) daemon interface to Mail::SRS


srsd --secretfile=/etc/srs_secret


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 for examples.

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



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

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


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.


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.


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

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


Print some basic help.


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.


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


Copyright (c) 2004 Shevek. All rights reserved.

This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.