diff options
author | John Ankarström <john@ankarstrom.se> | 2021-05-21 03:14:10 +0200 |
---|---|---|
committer | John Ankarström <john@ankarstrom.se> | 2021-05-21 03:14:10 +0200 |
commit | 61205f34eccdaf65d639cf15f7599ebe4830d5f9 (patch) | |
tree | 6125794195e657fc7b4107aa0d6acbb02490c948 | |
parent | 6e35f85aeb27447cfb7d999e06c6b05dbd466053 (diff) | |
download | mum-61205f34eccdaf65d639cf15f7599ebe4830d5f9.tar.gz |
Optimize 'fh' script
-rwxr-xr-x | src/fh | 10 |
1 files changed, 5 insertions, 5 deletions
@@ -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; |