< Home

mail-audit

Function

The mail-audit { send | receive } command enables the mail behavior audit function.

The undo mail-audit { send | receive } command disables the mail behavior audit function.

Format

mail-audit { send | receive }

undo mail-audit { send | receive }

Parameters

Parameter Description Value
send Indicates the sending of email. -
receive Indicates the receiving of email. -

Views

Audit profile view

Default Level

2: Configuration level

Usage Guidelines

By default, the mail behavior audit function is disabled.

The mail behavior audit function records the sent time, received time, receiver, sender, subject, and the names and number of attachments, but does not record the mail body and attachment contents.

Example

# Create an audit profile named hello to audit mail transfer.

<sysname> system-view
[sysname] profile type audit name hello
[sysname-profile-audit-hello] mail-audit receive
[sysname-profile-audit-hello] mail-audit send
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >