PMDF System Manager's Guide


Previous Contents Index


read

Display message envelope and header information.

Syntax

read [message-id[,...]]

Command Qualifiers Defaults
-all -noall
-channel=name None
-confirm -noconfirm
-content -nocontent

Parameters

message-id[,...]

A comma separated list of one or more message identification numbers shown with a previous directory command. Ranges are allowed.

Description

The read command may be used to display envelope and header information for one or more queued messages. To also view the message content, use the -content qualifier.

The messages to display are specified by their message identification numbers shown by the most recent directory command. Those number appear in the leftmost column of the directory command listing. Ambiguous message numbers must be qualified by the proper channel name with the -channel qualifier.


Qualifiers

-all

-noall (default)

Display all messages shown with the last directory command. When used in conjunction with the -channel qualifier, only those messages shown with the last directory command for the specified channel will be shown.

-channel=name

Specifies the name of the channel from which to display messages. Wildcards are not permitted.

-confirm

-noconfirm (default)

When -confirm is specified, you will be prompted to confirm whether or not to display each selected message.

-content

-nocontent (default)

When -content is specified, the content of the message will also be shown.

EXAMPLES

In the following example, the envelope and header information for message number 1 is displayed.


qm.maint> read 1
Filename: /pmdf/queue/l/ZZ01HNPFR2FUN89D4GAS.00 
 
Message id: 1 
Transport layer information: 
---------------------------------------------------------------------- 
Envelope From: address: fresnel@example.com 
Envelope To: addresses: bernoulli 
 
Message header: 
---------------------------------------------------------------------- 
Received: from EXAMPLE.COM by EXAMPLE.COM (PMDF V5.0-1 #8790) 
 id <01HNPFR0P5OW9D4GAS@EXAMPLE.COM> for BERNOULLI@EXAMPLE.COM; Fri, 
 03 Jul 2012 16:48:41 -0700 (PDT) 
Date: Fri, 03 Jul 2012 16:48:40 -0700 (PDT) 
From: Fresnel the tabby cat <fresnel@example.com> 
To: bernoulli@example.com 
Subject: catnip and catnaps 
Message-id: <01HNPFR12JYA9D4GAS@EXAMPLE.COM> 
MIME-version: 1.0 
Content-type: TEXT/PLAIN; CHARSET=US-ASCII 
Content-transfer-encoding: 7BIT 
 
qm.maint> 


Previous Next Contents Index