logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

srsd - daemon interface to Mail::SRS

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.

Author

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.

Name

       srsd - daemon interface to Mail::SRS

Protocol

       A forward request:

               FORWARD sender@source.comalias@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.

See Also

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

Synopsis

       srsd --secretfile=/etc/srs_secret

Todo

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

See Also