<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<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 17 Sep 2016, at 1:57, Robert Brenstein wrote:</p>

<p dir="auto"></p></div>
<div style="white-space:pre-wrap"><blockquote style="border-left:2px solid #777; color:#777; margin:0 0 5px; padding-left:5px"><div dir="auto">I just realized that moving to junk mailbox and marking as junk are 2 different and independent things. Does anybody knows what triggers each? I expected mail moved to the junk mailbox automatically tagged as junk
</div></blockquote></div>
<div style="white-space:normal">

<p dir="auto">That's correct.</p>

<p dir="auto"></p></div>
<div style="white-space:pre-wrap"><blockquote style="border-left:2px solid #777; color:#777; margin:0 0 5px; padding-left:5px"><div dir="auto">and mail tagged as junk automatically moved to the junk mailbox.
</div></blockquote></div>
<div style="white-space:normal">

<p dir="auto">That's not correct. Using “Message ▸ Junk State ▸ Junk” only marks it as junk (with the “standard” <code style="background-color:#F7F7F7; border-radius:3px; margin:0; padding:0 0.4em" bgcolor="#F7F7F7">$Junk</code> IMAP keyword).</p>

<p dir="auto"></p></div>
<div style="white-space:pre-wrap"><blockquote style="border-left:2px solid #777; color:#777; margin:0 0 5px; padding-left:5px"><div dir="auto">Well, I should add that indeed sometimes moving a message to the junk mailbox marks it as junk as well.
</div></blockquote></div>
<div style="white-space:normal">

<p dir="auto">That should work every time. It might help to enable the “Raw Flags” column in the messages list if you want to see exactly which flags have been applied.</p>

<p dir="auto"></p></div>
<div style="white-space:pre-wrap"><blockquote style="border-left:2px solid #777; color:#777; margin:0 0 5px; padding-left:5px"><div dir="auto">There is also usability issue. I can put messages into the junk mailbox using the button on the toolbar, the right-click popup on the message, or an item in the message menu. However, it seems that the only way to mark message as junk is to actually open it and click "mark as junk" on the yellow bar, which seems to be shown only for messages that are already in the junk mailbox (when I click move to junk while having the message open, the yellow bar does not appear until I close the message and open it again).
</div><div dir="auto">
</div><div dir="auto">Confusing and mysterious...
</div></blockquote></div>
<div style="white-space:normal">

<p dir="auto">Ah, it's a single message window issue. In the main window the email would be moved out of the currently displayed mailbox and therefore it does not have this issue. I've noted this.</p>

<p dir="auto"></p></div>
<div style="white-space:pre-wrap"><blockquote style="border-left:2px solid #777; color:#777; margin:0 0 5px; padding-left:5px"><div dir="auto">The reason for my struggle is that I am trying to set up smart mailboxes that exclude junk mail. I can easily set up a condition to exclude mail flagged as $Junkk but I do not see a way to say: show all mail in this mailbox excluding mailbox Junk.
</div></blockquote></div>
<div style="white-space:normal">

<p dir="auto">By default, the Junk mailbox is excluded from most mailboxes including “All Messages”, but the Mailboxes pane in the mailbox editor also allows you to use a “None” group method which allows you to do something like this:</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">All
    Some Mailbox
    None
        Junk
</code></pre>

<p dir="auto">This can be a bit tricky to decipher, but think of it like this: A message must be in both “Some Mailbox” <em>and</em> in none of the other mailboxes (which only includes “Junk”).</p>

<p dir="auto">-- <br>
Benny</p>
</div>
</div>
</body>
</html>