CONFIG MAILFILTERING RULE UPDATE
Level
contentfilter,modify
History
Appears in Netasq 9.0.0
Description
Modify a rule in configuration file at given line.
Usage
index=<profile_idx> ruleid=<digit> [state=on|off] [action=pass|block] [from=<sender>] [to=<recipient>] [comment=<string>]
state : enable or disable the rule
index : profile number
ruleid : rule line number
action : action to apply
from : address mail of the sender
to : address mail of the recipient
comment : comment for the rule
Example
CONFIG MAILFILTERING RULE UPDATE index=0 ruleid=3 action=block
CONFIG MAILFILTERING RULE UPDATE index=0 ruleid=3 to=*@stormshield.eu