PMDF System Manager's Guide


Previous Next Contents Index


TEST/MHS

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

restrictions

This utility is supplied only with the PMDF-LAN optional layered product.

prompts

Address: test-address
Time: test-time

Parameters

test-address

Optional address to test.

test-time

Optional time to test.

Description

Test a MHS Mail channel's transformation of an address or time.

Command Qualifiers

/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.

/BACKWARD

/FORWARD (default)

The testing process can test conversion of backwards or forwards pointing addresses; the default is forward pointing addresses.

/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.

/DEBUG

/NODEBUG (default)

The testing process is capable of producing detailed processing information. The /DEBUG qualifier enables this output; it is disabled by default.

/ENVELOPE

/HEADER (default)

The testing process can test envelope or header addresses; the default is header addresses.

/TIME

The testing process by default tests address transformations, but the /TIME qualifier specifies that it should instead test time transformations.

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.


Previous Next Contents Index