summaryrefslogtreecommitdiff
path: root/src/fh
diff options
context:
space:
mode:
Diffstat (limited to 'src/fh')
-rwxr-xr-xsrc/fh23
1 files changed, 0 insertions, 23 deletions
diff --git a/src/fh b/src/fh
deleted file mode 100755
index 74c84a4..0000000
--- a/src/fh
+++ /dev/null
@@ -1,23 +0,0 @@
-#!/usr/bin/perl -p
-
-# fh -- filter headers
-
-BEGIN {
- sub header { $_ =~ shift .. not $next =~ /^[ \t]/ }
- sub skip { $_ = '' }
-}
-
-($_, $next) = ($next, $_);
-skip if header qr/^X-(?!(
- Mailer
- | Rspamd-\S+
-):)/xi;
-skip if header qr/^(
- Received
- | Received-SPF
- | (DKIM|DomainKey)-Signature
- | ARC-\S+
- | IronPort-\S+
-):/x;
-
-END { print $next }