Feature: extended filter rules — attachment field + multi-value conditions
Adds an "Attachment" condition field (is present / of type <ext>) backed by the RFC 5703 Sieve mime extension, matching the filename in both Content-Disposition and Content-Type headers so real-world senders that only put the name in Content-Type (Microsoft SMTPSVC, etc.) are caught. Users type extensions (pdf, doc) not MIME types. Also makes each text condition accept comma-separated multiple values emitted as a Sieve string list (OR within the condition), so "(domain1 OR domain2) AND attachment pdf/xml" is expressible in one rule. value is now string | string[] (single-value rules stay strings -> backward compatible). New filter locale keys in all 17 locales.
This commit is contained in:
@@ -1633,7 +1633,10 @@
|
||||
"actions": "Handlinger",
|
||||
"add_action": "Tilføj handling",
|
||||
"stop_processing": "Stop behandling af efterfølgende regler",
|
||||
"attachment_type_placeholder": "f.eks. pdf, doc, jpg",
|
||||
"value_placeholder_multi": "Værdi (flere adskilt med komma)",
|
||||
"condition_fields": {
|
||||
"attachment": "Vedhæftet fil",
|
||||
"from": "Fra",
|
||||
"to": "Til",
|
||||
"cc": "Cc",
|
||||
@@ -1643,6 +1646,8 @@
|
||||
"body": "Brødtekst"
|
||||
},
|
||||
"comparators": {
|
||||
"has_any": "er til stede",
|
||||
"has_type": "af typen",
|
||||
"contains": "indeholder",
|
||||
"not_contains": "indeholder ikke",
|
||||
"is": "er præcis",
|
||||
|
||||
Reference in New Issue
Block a user