GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
SRS(1) User Contributed Perl Documentation SRS(1)

srs - command line interface to Mail::SRS

srs --alias=alias@forwarder.com --secretfile=/etc/srs_secret \ sender@source.com

The srs commandline interface will create an instance of Mail::SRS with parameters derived from the commandline arguments and perform forward or reverse transformations for all addresses given.

It is usually invoked from a sendmail envelope address transformation rule, a qmail alias, or similar. 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 ("=").

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

String, may be specified multiple times, must be specified at least once.

Specify a sender address to transform.

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.

No argument.

Specifies a forwards transformation. This is the default. --reverse must not also be given.

No argument.

Specifies a reverse transformation. --forward must not also be given.

String, must be specified exactly once if doing forwards transformation.

Provides the alias address to which the mail was sent. The domain-part of this address is used in the generated SRS address. The local-part and @ are optional and may be omitted.

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.

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

    Shevek
    CPAN ID: SHEVEK
    cpan@anarres.org
    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.

2004-06-23 perl v5.32.1

Search for    or go to Top of page |  Section 1 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.