PMDF System Manager's Guide


Previous Contents Index

2.3.4.59 Trimming message header lines (headertrim, noheadertrim, headerread, noheaderread, innertrim, noinnertrim)

PMDF provides per-channel facilities for trimming or removing selected message header lines from messages. This is done through a combination of a channel keyword and an associated header option file or two. The headertrim keyword instructs PMDF to consult a header option file associated with the channel and to trim the headers on messages queued to that destination channel accordingly, after the original message headers are processed. The noheadertrim keyword bypasses header trimming. noheadertrim is the default.

The innertrim keyword instructs PMDF to perform header trimming on inner message parts, i.e., embedded MESSAGE/RFC822 parts, as well. The noinnertrim keyword, which is the default, tells PMDF not to perform any headertrimming on inner message parts.

The headerread keyword instructs PMDF to consult a header option file associated with the channel and to trim the headers on messages enqueued by that source channel accordingly, before the original message headers are processed. Note that headertrim header trimming, on the other hand, is applied after the messages have been processed, and is destination channel, rather than source channel, related. The noheaderread keyword bypasses message enqueue header trimming. noheaderread is the default.

Unlike the headeromit and headerbottom keywords, the headertrim and headerread keywords may be applied to any channel whatsoever. Note, however, that stripping away vital header information from messages may cause improper operation of PMDF. Be extremely careful when selecting headers to remove or limit. This facility exists because there are occassional situations where selected header lines must be removed or otherwise limited. Do not merely trim header lines away because you or your users find them annoying --- those header lines are there for a reason. More often than not, the header lines that users feel are superfluous are among the most important. Before trimming or removing any header line, be sure that you understand the usage of that header line and have considered the possible implications of its removal. Consult RFC 822, a copy of which may be found in the RFC subdirectory of the PMDF documentation directory.h

Header options files for the headertrim and innertrim keywords have names of the form channel_headers.opt with channel the name of the channel with which the header option file is associated. Similarly, header options files for the headerread keyword have names of the form channel_read_headers.opt. These files are stored in the PMDF table directory, PMDF_TABLE: on OpenVMS or /pmdf/table/ on UNIX. See Section 2.3.7 for information on the format of these files.

Note

h PMDF_DOC:[rfc] on OpenVMS; /pmdf/doc/rfc/ on UNIX.


Previous Next Contents Index