PMDF System Manager's Guide


Previous Next Contents Index


test -cc

Test cc:Mail channel address transformations.

Syntax

pmdf test -cc [test-address|test-time]

Command Qualifiers Defaults
-822tolan -822tolan
-backward -forward
-channel=channel-name -channel=cc_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 cc: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 cc:Mail format, -822tolan, or test conversion of cc:Mail 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 cc:Mail channels may be configured to perform different transformations. The default is to test the cc_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 -cc adam@ccmail.example.com
ADAM 
% pmdf test -cc postmaster@example.com
POSTMASTER at PMDF 
% pmdf test -cc service@example.com
SERVICE@EXAMPLE.COM at PMDF 
      

This UNIX example shows testing a cc_local channel's transformation of several addresses. The output shown corresponds to a cc_local channel with official host name ccmail.example.com and channel option CC_GATEWAY_NAME=PMDF, and where the site has example.com as the official local host name.


Previous Next Contents Index