<!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">Thanks Benny.</p>
<p dir="auto">I thought so, but I wanted to make sure I haven’t missed anything.</p>
<p dir="auto">Bundle sounds interesting, but I don’t have the time at the moment to play around like this…</p>
<p dir="auto">Cheers,<br>
Leo</p>
<p dir="auto">On 28 Jan 2020, at 0:29, Benny Kjær Nielsen wrote:</p>
<blockquote style="border-left:2px solid #5855D5; color:#5855D5; margin:0 0 5px; padding-left:5px">
<p dir="auto">On 27 Jan 2020, at 3:14, leo wrote:</p>
<blockquote style="border-left:2px solid #5855D5; color:#00AFCC; margin:0 0 5px; padding-left:5px; border-left-color:#00AFCC">
<p dir="auto"><em>I asked this before, but I didn’t see any reply, so maybe the mail didn’t get through. So here you go again:</em></p>
</blockquote>
<p dir="auto">I still have a huge backlog of unanswered emails to the list. In other words, I'm most likely to be blamed for the lack of a reply.</p>
<blockquote style="border-left:2px solid #5855D5; color:#00AFCC; margin:0 0 5px; padding-left:5px; border-left-color:#00AFCC">
<p dir="auto">How can I create a Smart Mailbox for all emails with size > x? (In my particular case is x = 50 MB)</p>
</blockquote>
<p dir="auto">You cannot (easily).</p>
<blockquote style="border-left:2px solid #5855D5; color:#00AFCC; margin:0 0 5px; padding-left:5px; border-left-color:#00AFCC">
<p dir="auto">I tried the <code>Size*</code> header, but it does not offer a numerical operator when added as condition…</p>
</blockquote>
<p dir="auto">Yes, such an operator does not exist.</p>
<blockquote style="border-left:2px solid #5855D5; color:#00AFCC; margin:0 0 5px; padding-left:5px; border-left-color:#00AFCC">
<p dir="auto">Then I tried the <code>Size*</code> header <code>Formatted</code> but still I found only string comparison. So I was able to get a condition for all emails > 1MB (by testing for string contains <code>MiB</code>) but not for > 50 MB.</p>
</blockquote>
<p dir="auto">Yes, you'll need hacks like that for now. Very few headers are numeric (size and spam scores) and I simply never implemented numeric comparisons (but numeric message ordering does work). The only general workaround would be to create a bundle command which could use the virtual #size header to do the comparison and move itself, but this is probably overkill (too much work for what should be much simpler).</p>
<p dir="auto">-- <br>
Benny</p>
<hr>
<p dir="auto">mailmate mailing list<br>
<a href="mailto:mailmate@lists.freron.com">mailmate@lists.freron.com</a><br>
<a href="https://lists.freron.com/listinfo/mailmate">https://lists.freron.com/listinfo/mailmate</a></p>
</blockquote>
</div>
</div>
</body>
</html>