简介
本文档介绍在将要包含在已处理邮件的页脚中的免责声明显示为邮件的附件时,如何更改思科邮件安全设备(ESA)上的配置。
为什么页脚中的免责声明显示为附件?
通常,当邮件正文和页脚之间编码不匹配时,显示为附件的页脚会出现。AsyncOS会尝试以与邮件正文相同的编码对整个邮件进行编码,以便邮件正文包含页脚(内联),而不是作为单独的附件包含页脚。但是,如果页脚不能与正文组合,则可以从ESA CLI中使用localeconfig命令配置AsyncOS,以尝试升级或转换正文文本,使其与页脚的编码匹配,从而可以将页脚包含在邮件正文中。
myesa.local> localeconfig
Behavior when modifying headers: Use encoding of message body
Behavior for untagged non-ASCII headers: Impose encoding of message body
Behavior for mismatched footer or heading encoding: Only try encoding from message body
Choose the operation you want to perform:
- SETUP - Configure multi-lingual settings.
[]> setup
If a header is modified, encode the new header in the same encoding as the message
body? (Some MUAs incorrectly handle headers encoded in a different encoding than the
body. However, encoding a modified header in the same encoding as the message body
may cause certain characters in the modified header to be lost.) [Y]>
If a non-ASCII header is not properly tagged with a character set and is being used
or modified, impose the encoding of the body on the header during processing and
final representation of the message? (Many MUAs create non-RFC-compliant headers
that are then handled in an undefined way. Some MUAs handle headers encoded in
character sets that differ from that of the main body in an incorrect way. Imposing
the encoding of the body on the header may encode the header more precisely. This
will be used to interpret the content of headers for processing, it will not modify
or rewrite the header unless that is done explicitly as part of
the processing.) [Y]>
Disclaimers (as either footers or headings) are added in-line with the message body
whenever possible. However, if the disclaimer is encoded differently than the message
body, and if imposing a single encoding will cause loss of characters, it will be
added as an attachment. The system will always try to use the message body's encoding
for the disclaimer. If that fails, the system can try to edit the message body to use
an encoding that is compatible with the message body as well as the disclaimer. Should
the system try to re-encode the message body in such a case? [N]> y
返回主CLI提示符并提交对配置所做的更改。 然后,您应该会看到localeconfig中列出以下设置:
Behavior when modifying headers: Use encoding of message body
Behavior for untagged non-ASCII headers: Impose encoding of message body
Behavior for mismatched footer or heading encoding: Try both body and footer or
heading encodings
相关信息