<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/xhtml; charset=utf-8">
</head>
<body>
<div style="font-family:sans-serif"><div style="white-space:normal">
<p dir="auto">On 12 May 2021, at 7:16, Niels Kobschätzki wrote:</p>
<blockquote style="border-left:2px solid #777; color:#777; margin:0 0 5px; padding-left:5px">
<p dir="auto">I had yesterday the need to search for a certain entry in a spam-report (which is in the headers), so that I have some mails that triggered the rule to figure something out about it. Is there any way to do this? I found only things like “common headers”. Any ideas how I can achieve that?</p>
</blockquote>
<p dir="auto">No, there's actually no way to search all headers. The best you can do is probably to use a Terminal window to “grep" all the message files, but this naturally has its limitations (encodings, encryption, ...):</p>
<pre style="background-color:#F7F7F7; border-radius:5px 5px 5px 5px; margin-left:15px; margin-right:15px; max-width:90vw; overflow-x:auto; padding:5px" bgcolor="#F7F7F7"><code style="background-color:#F7F7F7; border-radius:3px; margin:0; padding:0" bgcolor="#F7F7F7">~/Library/Application Support/MailMate/Messages/
</code></pre>
<p dir="auto">If you do locate a file this way then you can use <code style="background-color:#F7F7F7; border-radius:3px; margin:0; padding:0 0.4em" bgcolor="#F7F7F7">open</code> to show it within MailMate.</p>
<p dir="auto">--<br>
Benny</p>

</div></div>
</body>
</html>