Back in December, I found a thread where you mentioned using your ‘Apple Mail - Server Junk Mailbox script’. I edited it for my two IMAP accounts and added the Rule as instructed. It has worked well… until a week ago. I have started getting messages in the Mail Junk mailbox again, still marked as UNread. (Apple’s Junk filtering is unchecked/disabled, Junk Mailbox SpamSieve is first item in Rules, SpamSieve is second; OS X 10.9.5, Mail v. 7.3 (1878.6)) The script works correctly if I select any of the messages in the Junk mailbox and run it with “Apply Rules”.
The messages are from one of my IMAP accounts (Hostgator) that are forwarded to another IMAP account (iCloud). I will disable that forwarding and see if that makes any difference.
Any other suggestions?