cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
2212
Views
0
Helpful
2
Replies

Message body logged anywhere?

rokeeffe265
Level 1
Level 1

Hi Guys,

Just wondering if the message body is logged anywhere on the Ironport (C150 model in my case). If it is not by default is there a way to enable this feature?

Regards,
R.

2 Replies 2

kluu_ironport
Level 2
Level 2

By default, the mail_log file does not log the entire message body. Whether in INFO or DEBUG mode, the message body will not be logged.

However, there is a message filter action called "archive();" that will capture the entire message. However, we don't recommend you activate the "archive()" function for every email.

Maybe it should be done for specific reasons, if the message body contained HIPAA terms or privacy terms, etc.

Here is an explanation of the 'archive()' action from the AsyncOS advanced user guide:


Archive Action
The archive action saves a copy of the original message, including all message headers and
recipients into an mbox-format file on the appliance. The action takes a parameter that is the
name of the log file in which to save the message. The system automatically creates a log
subscription with the specified filename when you create the filter, or you can also specify an
existing filter log file. After the filter and the filter log file are created, the filter log options may
then be edited with the filters -> logconfig subcommand.
Note — The logconfig command is a subcommand of filters. See “Using the CLI to
Manage Message Filters” on page 269 for a full description of how to use this subcommand.
The mbox format is a standard UNIX mailbox format, and there are many utilities available to
make viewing the messages easier. Most UNIX systems allow you to type
“mail -f mbox.filename” to view the files. The mbox format is in plain text, so you can use a
simple text editor to view the contents of the messages.
In the following example, a copy of the message is saved to a log named joesmith if the
Envelope Sender matches joesmith@yourdomain.com:
logJoeSmithFilter:
if(mail-from == '^joesmith@yourdomain\\.com$')
{
archive('joesmith');
}




Hi Guys, 

Just wondering if the message body is logged anywhere on the Ironport (C150 model in my case). If it is not by default is there a way to enable this feature?

Regards,
R.

rokeeffe265
Level 1
Level 1

Hi Kluu,

Just what I was looking for.
Much appreciated and many thanks.
Ronan.

Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: