On the ESA, message tracking, at the Attachments shows N/A, but there were attachments --- this shows for all mails, and we need to be able to show that an attachment was on the mail.
This can be corrected with creating a incoming content filter – or, on the CLI of the appliance, creating a message filter.
However, the information will only be logged when Stellent is initiated during the processing of the mail. In other words, if the configuration of the policy does not have any content filter enabled, or trigger the message filter, the attachment information will not be logged.
The work around is to create a message filter or content filter that will only add informative log such as attachment filename or presence of attachment in mail headers.
A message filter like the one below will be sufficient to add the attachment filename to the mail header:
Add_attachment_header:
If (attachment-filename == "^.+$")
{
Insert-header("X-Attachment-filename", "$filenames");
}
.
A content filter example: