PMDF System Manager's Guide


Previous Next Contents Index


test -mhs

Test Novell 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 Novell MHS channel's transformation of an address or time.

Command Qualifiers

-822tolan (default)

-lanto822

The testing process can test conversion of RFC 822 addresses to Novell MHS format, -822tolan, or test conversion of Novell 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 Novell MHS channels may be configured to perform different transformations. 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 UNIX 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