man srsd () - daemon interface to Mail::SRS

NAME

srsd - daemon interface to Mail::SRS

SYNOPSIS

srsd --secretfile=/etc/srs_secret

DESCRIPTION

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 CW$SRSSEP (CW=).

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 sender@source.com alias@forwarder.com

A reverse request:

        REVERSE srs0+HHH=TT=domain=local-part@forwarder.com

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

TODO

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

SEE ALSO

Mail::SRS, Mail::SRS::Daemon, srsc, http://www.anarres.org/projects/srs/

AUTHOR

    Shevek
    CPAN ID: SHEVEK
    cpan@anarres.org
    http://www.anarres.org/projects/

COPYRIGHT

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.