Test MHS channel address transformations. Syntax PMDF TEST/MHS [test-address|test-time] Command Qualifiers Defaults /822TOLAN /822TOLAN /BACKWARD /FORWARD /CHANNEL=channel-name /CHANNEL=mhs_local /DEBUG /NODEBUG /ENVELOPE /HEADER /FORWARD /FORWARD /HEADER /HEADER /LANTO822 /822TOLAN /TIME See text
1 – Restrictions
This utility is supplied only with the PMDF-LAN optional layered product.
2 – Prompts
Address: test-address Time: test-time
3 – Parameters
test-address Optional address to test. test-time Optional time to test.
4 – Description
Test a MHS Mail channel's transformation of an address or time.
5 – Command Qualifiers
5.1 /822TOLAN
/822TOLAN (default) /LANTO822 The testing process can test conversion of RFC 822 addresses to MHS format, /822TOLAN, or test conversion of MHS format addresses to RFC 822 format, /LANTO822.
5.2 /BACKWARD
/BACKWARD /FORWARD (default) The testing process can test conversion of backwards or forwards pointing addresses; the default is forward pointing addresses.
5.3 /CHANNEL
/CHANNEL=channel-name Different MHS channels may be configured to perform different transformations. If this option is not specified, the default is to test the mhs_local channel.
5.4 /DEBUG
/DEBUG /NODEBUG (default) The testing process is capable of producing detailed processing information. The /DEBUG qualifier enables this output; it is disabled by default.
5.5 /ENVELOPE
/ENVELOPE /HEADER (default) The testing process can test envelope or header addresses; the default is header addresses.
5.6 /TIME
The testing process by default tests address transformations, but the /TIME qualifier specifies that it should instead test time transformations.
6 – Examples
$ PMDF TEST/MHS adam@mhs.example.com ADAM@EXAMPLE $ PMDF TEST/MHS postmaster@example.com POSTMASTER@PMDF $ PMDF TEST/MHS service@example.com MAILER@PMDF {smtp:SERVICE@example.COM} This example shows testing an mhs_local channel's transformation of several addresses. The output shown corresponds to a mhs_local channel with official host name mhs.example.com and channel options MHS_DEFAULT_ WORKGROUP=EXAMPLE, MHS_GATEWAY_WORKGROUP=PMDF, MHS_GATEWAY_ USERNAME=MAILER, and MHS_GATEWAY_TYPE=SMTP, and where the site has example.com as the official local host name.