コメント
コメントはポリシースクリプト内で使用され、特定のテスト、アクション、または制御ステートメントがフィルタリングに関してどのように機能するかを記述しています。コメントされたテキストの各行は、「#」文字の後に半角スペースを入れる形式を使用し、Sieve インタプリタがこのコメント行を無視するように指定します。
注
(各 # の後の) コメントは 1行で記述される必要があり、複数行には配置できません。- 一般的な例:
-
# Comments # More comments if test { # This is a valid comment! action; next_action; }
- ポリシースクリプト例:
-
# This filter scans all message headers for the words "Buy Now!" # If this string is found, PureMessage rejects the message # and the filter stops evaluating the message for spam. if header :contains "Buy Now!"{ reject; stop; }
© 2017 Sophos Limited. All rights reserved.