summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xsrc/fh10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/fh b/src/fh
index 0907aba..74c84a4 100755
--- a/src/fh
+++ b/src/fh
@@ -8,15 +8,15 @@ BEGIN {
}
($_, $next) = ($next, $_);
-skip if header qr/^X-\S+:/i and not header qr/^(
- X-Mailer
- | X-Virus-Scanned
-):/x;
+skip if header qr/^X-(?!(
+ Mailer
+ | Rspamd-\S+
+):)/xi;
skip if header qr/^(
Received
| Received-SPF
| (DKIM|DomainKey)-Signature
- | ARC-Message-Signature
+ | ARC-\S+
| IronPort-\S+
):/x;