PMDF System Manager's Guide


Previous Contents Index

41.4.3 X400_TO_MIME Channel Options File

Configurable options relevant to the X.400 to MIME conversion process are specified in the channel option file x400_to_mime_option stored in the PMDF table directory, i.e., in the file PMDF_TABLE:x400_to_mime_option. OpenVMS or /pmdf/table/x400_to_mime_option on UNIX.

The format of a channel options file is documented in Section 7.2. The available options are:

BINARY_ENCODING (string)

The BINARY_ENCODING option controls the MIME transfer encoding used when binary format X.400 body parts are converted into MIME body parts. Possible values include BASE64, QUOTED-PRINTABLE, X-UUENCODE and HEXADECIMAL. The standard BASE64 MIME encoding is the default.

FROM_X400_DATABASE (string)

The name of the database file containing address mapping rules can be changed on a per-channel basis by using the FROM_X400_DATABASE option in the X400_TO_MIME channel options file. By default the database file is referenced via the PMDF_FROM_X400_DATABASE logical name (OpenVMS) or tailor file option (UNIX).

RESTORE_HEADERS (0 or 1)

The RESTORE_HEADERS option provides the inverse of the operation of the SAVE_HEADERS option described below. Specifically, if RESTORE_HEADERS is set to 1 any headers saved in a special X.400 body part will be detected and restored as actual message headers. The format of the body part complies with RFC 2156. The default value for this option is 0, which disables the mapping.

RHS_ORDER (0 or 1)

The RHS_ORDER option controls controls the direction in which attribute value pair lists are written into the mailbox part of RFC 822 addresses. The default is 1, which means that attributes are written from right to left. This corresponds to the ordering specified by RFC 2156. In some cases, however, the opposite ordering is required. Note that the read order only affects repeated attributes like Organizational Units.

TELETEX_CANCEL (integer)

RFC 2156 specifies that when both a printable-string and teletex-string version of an attribute are present, that the attribute should be represented as


printable-string*teletex-string  
The default setting of TELETEX_CANCEL=0 causes PMDF-X400 to follow this standard. However, the TELETEX_CANCEL option can be used to cause PMDF-X400 to instead discard the teletex-string representation. TELETEX_CANCEL takes a bit-encoded integer value, where each bit controls the retention of teletex-string information for a particular X.400 attribute, as listed in the table below.
Bit Value X.400 Attribute
0 1 Common Name
1 2 Organization
2 4 Surname
3 8 Givenname
4 16 Initials
5 32 Generational Qualifier
6 64 Organizational Unit
7 128 Domain Defined Attributes


Bit 0 is the least significant bit.

TEXT_ENCODING (string)

This option can be set to an encoding, e.g., TEXT_ENCODING=QUOTED-PRINTABLE, to direct PMDF to automatically encode text parts incoming from X.400 to PMDF using the specified encoding. While normally one does not want to encode text parts, such encoding can be necessary if incoming nominally "text" parts contain excessively long lines.


Previous Next Contents Index