アクション
ポリシーアクションは、メッセージのルーティングまたは内容を修正できます。可能なアクションに、次のものがあります。keep; (deliver message), reject; (reject message), and pmx_quarantine; (quarantine message).アクションは常にセミコロンで終わります。このセミコロンが、アクションが終了するところを定めています。
- 一般的な例:
-
action;
- ポリシースクリプト例:
-
keep; reject; pmx_quarantine;
アクション修飾子
アクション修飾子は任意のパラメータで、特定のポリシーアクションの結果を変更するものです。For example, the pmx_quarantine action modifier is a string argument that specifies the reason that PureMessage quarantined a message.Reasons could include 'Virus', 'Spam', or 'Attachment Over 100K'.
- 一般的な例:
-
action <action-modifier>;
- ポリシースクリプト例:
-
pmx_quarantine "Spam";
注Not all PureMessage action modifiers are of type 'string'.See the pmx-policy manpage for a definitive list of all syntax parameters and action modifiers.
© 2017 Sophos Limited. All rights reserved.