I noticed that sometimes when I filter a message (ctrl + cmd + L) that is in the Spam folder already, which has not yet been processed by SpamSieve (email has no background color that would indicate the classification from SpamSieve; this happens for example when the message was moved to the Spam folder by another device), the message seems to disappear completely. I just checked the SpamSieve logs, and it indicates that the message was correctly classified as Spam. So I would expect it to just stay in the Spam folder. But it seems to disappear. I can’t seem to find it anywhere, neither on that device nor on another.
This is Spam Sieve 3.0.5 on Big Sur with Apple Mail. I have a setup where an old mac is running constantly and is configured with SpamSieve, and my current macbook with macOS Sonoma is also running SpamSieve 3.0.5. In general, this setup is working fine for me. The issue in question is on the old macbook with Big Sur. I would not expect the second running SpamSieve on Sonoma to interfere, since the message in this case should not have even moved.
The Filter Messages command moves the spam messages to the Junk mailbox. Normally, you should not have a Spam mailbox visible in Mail because the mailbox used for spam filtering (by SpamSieve and/or a server filter) should be selected to be displayed as Junk. In the event that Mail or the mail server does lose a message, you can recover it from SpamSieve’s Log window.
Thanks for your reply. You are right, I was talking about the Junk Mailbox, which is how it is displayed in Apple Mail (in this case, the underlaying imap folder on the server is called Spam, but Mail is configured to use this as Junk).
I just tested it again. I select a spam mail that is not yet processed by SpamSieve in the Junk Mailbox, I run “Filter Messages”, the message disappears. If I do the same for a spam email in the Inbox, it is correctly marked as spam and moved the the Junk folder. In both cases I see the message in the Log window and I see that both messages were classified as likely spam. Seems like this might be a bug?
If you have the Move it to the Trash if the spam score is at least setting enabled, that could make SpamSieve move the message to Trash even if it’s already in Junk.
Or it could be that there’s a Big Sur–specific Mail bug here where it’s losing the message. I will look into this and send you a test version of SpamSieve to gather more information or with a potential fix.
I don’t have the “Move it to the Trash if the spam score is at least” setting enabled and I don’t see this issue with messages that are classified in the inbox, or trained as good or trained as bad.
I also checked; the messages don’t appear in Trash.
I can also reproduce it on Sonoma (where I’m using the “Mail extension” setup).
Happy to try a test build of SpamSieve.
Thank you for testing the fix! It will be rolled into the next release.
1 Like