< Home

smtp-detect (APT defense profile view)

Function

The smtp-detect command enables file reputation detection for SMTP.

The undo smtp-detect command disables file reputation detection for SMTP.

Format

smtp-detect [ action { alert | declare | delete-attachment } ]

undo smtp-detect [ action ]

Parameters

Parameter Description Value
action

Specifies the response action.

The response action can be either of the following (the default action is alert):
  • alert:

    The system permits files and generates logs.

  • declare:

    The system permits files, add declarations to the email bodies, and generates logs.

  • delete-attachment:

    The system deletes the email attachments, add declarations to the email bodies, and generates logs.

Views

APT defense profile view

Default Level

2: Configuration level

Usage Guidelines

By default, file reputation detection is enabled for SMTP.

SMTP applies to only the upload direction.

Example

# Create a profile named apt_smtp and set the action to declare for SMTP.

<sysname> system-view
[sysname] profile type aapt name apt_smtp
[sysname-profile-aapt-apt_smtp] smtp-detect action declare
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >