Mail.app - SS moves good emails to Spam folder

Hi there,

Quite puzzling this.

I get some good emails left in the Inbox however I also get the majority of other good emails getting dumped into the Spam folder, despite the logs showing them as good. The have a color of white background as well. I don’t have a clue on how to stop his.

Even this forum registration is marked as good per the following log extract, yet it too was moved to the Spam folder.

=====================================================================
Predicted: Good (4)
Subject: Welcome to C-Command Forums!
From: forums@c-command.com
Identifier: nf7M1BNEoYnuOOiBQ+30Gw==
Reason: P(spam)=0.000[0.000], bias=-0.223, R:^nz-out-0506^google^com(0.000), R:^nz-out-0506^google^com(0.000), S:Welcome(0.000), F:Forums(0.001), S:Forums!(0.002), forums!(0.002), rastarr(0.007), XM:vBulletinMailviaPHP(0.022), R:^193^9(0.022), R:^10^114^193^9(0.022), R:^114^193^9(0.022), x-forwarded-for:martin@(0.023), x-forwarded-for:rastarr@(0.023), RP:rastarr(0.023), x-forwarded-to:martin@(0.023)
Date: 2007-09-06 23:21:15 +1000

Trained: Good (Auto)
Subject: Welcome to C-Command Forums!
Identifier: nf7M1BNEoYnuOOiBQ+30Gw==
Actions: added rule <From (address) Is Equal to "forums@c-command.com"> to SpamSieve whitelist, added rule <From (name) Is Equal to “C-Command Forums”> to SpamSieve whitelist, added to Good corpus (704)
Date: 2007-09-06 23:21:15 +1000

The first Mail.app rule is called SpamSieve and matches any ‘sender is not in my previous recipients’ and moves message to Spam mailbox and marks it as read.

I don’t have any other rules using the Spam folder.

My corpus is 704 good and 3584 spam messages for 184,157 total words. 5,264 blocklist and 587 whitelist rules. 21 false positives and 35 false negatives - if this is any help. I initially trained it on an enormous amount of spam - no idea if this is causing issues.

Any ideas? (and I know you’ll have them :slight_smile: )
Cheers
Martin

SpamSieve thought the message was good, so the problem is likely with your Mail setup. Please e-mail me the file:

/Users/<username>/Library/Mail/MessageRules.plist

SpamSieve Not Keeping Good Messages In Good
I’m having a related problem. The app is doing fairly well at getting real spam, but my big gripe is that when I am marking a message as good (NOT by hitting Mail’s built-in “Junk” button, but the actual menu item that says “SpamSieve - Train as Good…” or whatever), it doesn’t seem to be “remembering” this, and I’m constantly having to move good messages that were incorrectly marked. What gives?

Does the log say that SpamSieve is predicting these messages to be spam?

Follow Up
No. They say “Trained: Good” or “Predicted: Good”

Then SpamSieve didn’t think the messages were spam. Probably one of your non-SpamSieve rules moved the messages.

Follow Up 2
Weird. Under the Rules ‘tab’, SpamSieve is the only rule I have active (I have others, but they’re unchecked). Wait… under the Junk Mail ‘tab’, am I supposed to have the “Enable junk mail filtering” option checked? What about “Trust junk mail headers set by my Internet Service Provider”?

The “Enable…” box should be unchecked, and the other settings in that window don’t matter.

So far, so good.
I disabled the “Enable junk mail filtering” option as we talked about, and so far it seems to have corrected the issue. So far, so good. Thanks again.

I’m having the same problem. Good mail gets thrown in junk with no indication in the log other then it was thought to be good. I enable the built in junk filer as specified here:

http://c-command.com/spamsieve/manual-ah/automatically-deleting

So that I have a spam mailbox with nice icon and so that I can keyboard shortcut to it with Apple-6. I wonder if there was a recent change that broke those instructions specified above? I’m going to do some more testing.

Steve

Not that I’m aware of. Do you have any other rules that move messages to the Junk mailbox? You could try going back to the regular setup.

Good messages transferred to Spam Mailbox
I am suddenly getting a very similar problem, too. I’m using Apple Mail on Leopard. Every time I empty the Spam mailbox, as soon as I click on any other mailbox and then return to the Spam box, a message from one of my regular mailboxes appears there. It is usually a message from the very earliest in the regular box, often 4th from the bottom. It is marked as good, and if I remark it, it has no effect and remains in the Spam box. If I delete it, the original is also deleted. I have no other rules that direct mail into the Spam box, just the one described in the SpamSieve manual. I have two laptops with mailboxes synced via .Mac. This problem only exhibits on one of them - mysterious…!

How are you emptying the Spam mailbox?

What does SpamSieve’s log say about this message?

Also, please make sure that Mail’s built-in junk mail filter is disabled.

Have you tried rebuilding the Spam mailbox and your regular mailbox?

Misdirected Mail
Thanks for your reply. The Apple junk filter is turned off, the log says nothing about the message, until I remark it spam, and I am emptying the spam folder by selecting all and deleting, then finally deleting from trash. Rebuilding the mailboxes seemed to fix it but only temporarily (for about 15 minutes!)

Then the problem seems to be with Mail’s database. It might help to quit Mail and delete the file:

/Users/<username>/Library/Mail/Envelope Index

Mail will then try to reconstruct a new database when launched.

Thank you so much, Michael, that seems (touch wood!) to have solved the problem.