The imap-detect command enables antivirus (AV) scanning for the files transmitted using IMAP.
The undo imap-detect command disables AV scanning for the files transmitted using IMAP.
imap-detect direction { both | download | upload } [ action { alert | declare | delete-attachment } ]
undo imap-detect [ direction ] [ action ]
| Parameter | Description | Value |
|---|---|---|
direction { both | download | upload } |
Specifies the transmission direction of the files requiring AV scanning. |
The direction can be one of the following:
|
action { alert | declare | delete-attachment } |
Specifies the response action. |
The response action can be either of the following (the default action is alert):
|
By default, the system scans viruses on files both uploaded and downloaded using IMAP.
If no response action is configured, the default action alert takes effect.
Connections are generally initiated by a client. To ensure that connections can be established and the AV process can be implemented successfully, configure the zone of the client as the source and that of the server as the destination when you configure the security policy.