Daemon interface to mail::srs
srsd --secretfile=/etc/srs_secret
The srsd daemon listens on a socket for \s-1SRS\s0 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 \s-1TCP\s0 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.
String, specified at most once. Defaults to $SRSSEP (\*(C`=\*(C').
Specify the initial separator for the \s-1SRS\s0 address. See Mail::SRS for details.
String, may be specified multiple times, at least one of --secret or --secretfile must be specified.
Specify an \s-1SRS\s0 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.
Mail::SRS, Mail::SRS::Daemon, srsc, http://www.anarres.org/projects/srs/
Shevek CPAN ID: SHEVEK [email protected] http://www.anarres.org/projects/
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.