PMDF uses two sources of information to construct message headers for messages it receives from VMS MAIL.6 The first is VMS MAIL itself, which provides a To:, From:, Cc:, and Subject: line, and a list of addressees. The second source of information is logical names which you can define. The logical names shown in the second column of Table 1-2 can be defined to create the associated header lines. You do not need to define all of the logicals shown; only those in which you are interested. These logical names only work when PMDF is running on the system from which you send your mail. They will not, for instance, have any effect if your send mail to PMDF from remote DECnet node as described in Section 1.1.3.
For instance, to add an "Organization: Spacely Sprockets, Inc." header line to mail messages which you send, define the PMDF_ORGANIZATION logical with the command
$ DEFINE PMDF_ORGANIZATION "Spacely Sprockets, Inc."
18.104.22.168 Date: Header Lines
The Date: line is filled in with the current date and time obtained
from the operating system, along with the time zone specified by the
system logical name PMDF_TIMEZONE. 7 The date and time
format used conforms to RFC 822 guidelines.
22.214.171.124 Priority: Header Lines
The contents of the Priority: header are used by PMDF to determine the
type of processing to perform on the message, and when to perform it.
The value of the Priority: header should be one of:
"non-urgent", "normal", and "urgent". The
last three of these values are standardized in RFC 1148; the first two
are used only by PMDF.
PMDF processes messages in order according to their priority. That is, messages marked urgent will be processed before messages marked non-urgent, and so on. In addition PMDF can be configured to process messages of a given priority or greater immediately and defer processing of lower priority messages until a periodic job runs. This behavior is controllable by the system manager.
Messages that are not explicitly marked with their priority are considered to be of normal priority.
|Header line||Logical name||Notes|
|Errors-to:||PMDF_ERRORS_TO||3, 4, 6, 9|
|Importance:||PMDF_IMPORTANCE||2, 6, 9|
|Organization:||PMDF_ORGANIZATION||5, 6, 9|
|Priority:||PMDF_PRIORITY||2, 6, 7, 9|
|Sensitivity:||PMDF_SENSITIVITY||2, 6, 9|
|Warnings-to:||PMDF_WARNINGS_TO||3, 4, 6, 9|
|X-FAX-defaults:||PMDF_X_FAX_DEFAULTS||6, 8, 9|
|X-PS-qualifiers:||PMDF_X_PS_QUALIFIERS||6, 8, 9|
126.96.36.199 Additional Header Line Prompts in VMS MAIL
You can have VMS MAIL prompt you for the contents of any of the header
lines specified in Table 1-2. If any of the logical names of that
table are defined and translate to a string beginning with and ending
with a question mark, ?, PMDF will use the string as a prompt. For each
message which is addressed to PMDF, you will be prompted with this
string. Your response to the prompt is then used for the corresponding
header line in the message. For instance, if you define PMDF_PRIORITY
and PMDF_SENSITIVITY as
$ DEFINE PMDF_PRIORITY "?Priority: ?" $ DEFINE PMDF_SENSITIVITY "?Sensitivity: ?"
Prompting is possible only in regular command-oriented VMS MAIL and PMDF MAIL; it cannot be done from DECwindows MAIL, Gold-Mail, or Pathworks MAIL agents. PMDF checks to make sure that prompting is possible and will ignore any requests for prompts in environments which cannot support such operations.
188.8.131.52 User Defined Header Lines
Users might want to add additional headers to outgoing messages from
VMS MAIL that don't have specific logical names associated with them.
PMDF provides a general mechanism that can be used to add arbitrary
sets of headers to outgoing messages.
PMDF translates the logical PMDF_HEADER. If this logical is defined, the result is used as one line of header text and PMDF proceeds to translate the logicals PMDF_HEADER_1, PMDF_HEADER_2, PMDF_HEADER_3, and so on. Each logical that translates provides another line of header text. Translation stops with the first logical name in this sequence that not defined. Note that these logicals differ from other logicals that define headers in PMDF in that the header tag as well as the header body must be provided by the logical; i.e., the translation value of each logical provides both the header name and the contents of the header line for that header.
The lines of text that result from this process are essentially treated as a set of extra message headers. PMDF removes certain headers from this set that users are not allowed to add to messages: From:, Sender:, Resent-From:, Resent-Sender:, and Date:. The remaining headers are prepended to the set of headers attached to the message by other mechanisms.
For example, the logical definitions
$ DEFINE PMDF_HEADER "X-Mailer: PMDF V''f$trnlnm(""PMDF_VERSION"")'" $ DEFINE PMDF_HEADER_1 "X-Telephone: +1 714 555 1212"
X-Mailer: PMDF V6.2 X-Telephone: +1 714 555 1212
Standardized headers specified using this mechanism that contain addresses are rewritten using the regular PMDF rewrite rules; these headers are not exempt from rewrite processing.
6 A third source is PMDF itself. PMDF constructs some header lines itself such as Date:.
7 If PMDF_TIMEZONE is not defined, PMDF looks first for SYS$LOCALTIME, then for SYS$TIMEZONE_DIFFERENTIAL and SYS$TIMEZONE_NAME.