diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2016-03-17 12:15:18 +0000 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2016-03-17 12:15:18 +0000 |
commit | 337c39f4834384f822f73cc2a07abea1e74b9a65 (patch) | |
tree | 093c9dcafe8bd17f90babdbdb7804bfa1779d99f /conf | |
parent | cba661ad9bec0e0a8aa9936c88250b64919e2b08 (diff) | |
download | rspamd-337c39f4834384f822f73cc2a07abea1e74b9a65.tar.gz rspamd-337c39f4834384f822f73cc2a07abea1e74b9a65.zip |
[Feature] Add MIME_BAD_ATTACHMENT rule for bad attachment types
Diffstat (limited to 'conf')
-rw-r--r-- | conf/metrics.conf | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/conf/metrics.conf b/conf/metrics.conf index 4be8325c5..fc5eeb8f5 100644 --- a/conf/metrics.conf +++ b/conf/metrics.conf @@ -1243,6 +1243,12 @@ metric { description = "Missing or unknown content-type"; one_shot = true; } + symbol { + weight = 4.0; + name = "MIME_BAD_ATTACHMENT"; + description = "Invalid attachement mime type"; + one_shot = true; + } } .include(try=true; priority=1) "$LOCAL_CONFDIR/local.d/metrics.conf" |