One very basic mapping table in the MTA is the character set conversion table. The name of this table is CHARSET-CONVERSION. It is used to specify what sorts of channel-to-channel character set conversions and message reformatting should be performed.
The MTA probes the CHARSET-CONVERSION mapping table in two different ways. The first probe is used to determine whether or not the MTA should reformat the message and if so, what formatting options should be used. (If no reformatting is specified the MTA does not bother to check for specific character set conversions.) The input string for this first probe has the general form:
IN-CHAN=in-channel;OUT-CHAN=out-channel;CONVERT |
Here in-channel is the name of the source channel (where the message comes from) and out-channel is the name of the destination channel (where the message is going). If a match occurs the resulting string should be a comma-separated list of keywords. The keywords provided are listed in Table 4–10.
Table 4–10 CHARSET-CONVERSION Mapping Table Keywords
Keyword |
Description |
---|---|
Always |
Force conversion even when the message is going to be passed through the conversion channel before going to out-channel. |
Appledouble |
Convert other MacMIME formats to Appledouble format. |
Applesingle |
Convert other MacMIME formats to Applesingle format. |
BASE64 |
Switch MIME encodings to BASE64. |
Binhex |
Convert other MacMIME formats, or parts including Macintosh type and Mac creator information, to Binhex format. |
Block |
Extract just the data fork from MacMIME format parts. |
Bottom |
“Flatten” any message/rfc822 body part (forwarded message) into a message content part and a header part. |
Delete |
“Flatten” any message/rfc822 body part (forwarded message) into a message content part, deleting the forwarded headers. |
Level |
Remove redundant multipart levels from message. |
Macbinary |
Convert other MacMIME formats, or parts including Macintosh type and Macintosh creator information, to Macbinary format. |
No |
Disable conversion. |
QUOTED-PRINTABLE |
Switch MIME encodings to QUOTED-PRINTABLE. |
Record,Text |
Line wrap text/plain parts at 80 characters. |
Record,Text= n |
Line wrap text/plain parts at n characters. |
RFC1154 |
Convert message to RFC 1154 format. |
Top |
“Flatten” any message/rfc822 body part (forwarded message) into a header part and a message content part. |
UUENCODE |
Switch MIME encodings to X-UUENCODE. |
Yes |
Enable conversion. |
For more information on character set conversion and message reformatting mapping, see the Sun Java System Messaging Server 6 2005Q4 Administration Guide.