diff options
author | Carl Schwan <carl.schwan@gnupg.com> | 2023-07-26 10:22:14 +0200 |
---|---|---|
committer | David Faure <faure@kde.org> | 2023-08-31 17:01:03 +0000 |
commit | cd1fb4737450ecd97e0fd1046b409ba8e39e7f13 (patch) | |
tree | 13a8be0779e752af9c639c3d214f50b9f8919524 | |
parent | 8c9f2d95a8d6b625b8e348451f52eb237872024f (diff) |
Improve matching for message/rfc822
MIME message sometimes also start with either a "Content-Type:" header or a
"To:" header.
Content-Type often appears often in encrypted attachments and To: seems
to appear sometimes in email from Thunderbird.
-rw-r--r-- | data/freedesktop.org.xml.in | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/data/freedesktop.org.xml.in b/data/freedesktop.org.xml.in index 6353724..2420df1 100644 --- a/data/freedesktop.org.xml.in +++ b/data/freedesktop.org.xml.in @@ -5908,6 +5908,7 @@ command to generate the output files. <sub-class-of type="text/plain"/> <magic> <match type="string" value="#! rnews" offset="0"/> + <match type="string" value="Content-Type:" offset="0"/> <match type="string" value="Forward to" offset="0"/> <match type="string" value="From:" offset="0"/> <match type="string" value="N#! rnews" offset="0"/> @@ -5917,6 +5918,7 @@ command to generate the output files. <match type="string" value="Return-Path:" offset="0"/> <match type="string" value="Return-path:" offset="0"/> <match type="string" value="Subject: " offset="0"/> + <match type="string" value="To:" offset="0"/> </magic> <glob pattern="*.eml"/> </mime-type> |