Looks like no one’s replied in a while. To start the conversation again, simply ask a new question.

Junk mail filter does not work

I have been using junk mail filtering on my Mac, and over the past six months or so I have been struggling with the filter. Good mail is being sent to the junk mail folder, and it isn't even marked as junk. Most strangely, when I turned off the junk mail filtering altogether, my mail is still being sent to the junk mail box. It's like the Mail program doesn't know I changed the setting, and it continues to move both bad and good emails to the junk mailbox. Any suggestions on how to deal with this situation?

Thanks,


Neal

OS X Mavericks (10.9.5)

Posted on Oct 8, 2014 8:04 PM

Reply
Question marked as Best reply

Posted on Oct 8, 2014 8:19 PM

Junk filtering in Mail app is not working well, mostly if you have non iCloud accounts, like Gmail IMAP.

I will suggest to go to Preferences » Junk Mail tab, and click Reset. Also be sure to eliminate any Junk Rules (if you have » Advanced). This will erase all junk db and do a fresh start.

20 replies
Question marked as Best reply

Oct 8, 2014 8:19 PM in response to Nealski

Junk filtering in Mail app is not working well, mostly if you have non iCloud accounts, like Gmail IMAP.

I will suggest to go to Preferences » Junk Mail tab, and click Reset. Also be sure to eliminate any Junk Rules (if you have » Advanced). This will erase all junk db and do a fresh start.

Oct 8, 2014 8:20 PM in response to Nealski

Mail marked as spam by your email service provider will be moved to the Spam mailbox on the server and mimicked on your Mac in Mail, if you have an IMAP account. Mail has nothing to do with those. If it is a POP account, I'm not sure how that would happen.


There is a setting in Junk filtering to Trust junk email headers. That should only move messages marked with a spam header into Junk, but not mark it as Junk. That will only occur if the Junk filters are on.

Oct 11, 2014 10:39 PM in response to Nealski

I will try this first instead only IMAP (have a time Machine backup updated a good idea):

Rebuild The Mailbox:

- Select the mailbox in the mailbox list of Apple Mail.

- Go to Mailbox Menu item and select Rebuild/


If it doesn't work:

Clear The IMAP Cache

- Quit Apple Mail.

- Go to the Library folder » Mail folder.

- Look the folder named IMAP-user@domain.com your are having issues.

- Move the folder to your desktop. (Don't delete the folder).

- Open Mail app, it will download all email from the IMAP server and rebuild your IMAP cache.



If it doesn't work

Reset mail to factory settings (credits to Linc Davis How to reset mail to factory settings.):

- Go to Library

- From the menu bar. Move the following items from the folder that opens to the Trash (some may not exist):

Caches/com.apple.mail

Saved Application State/com.apple.mail.savedState

Application Support/AddressBook/MailRecents-v4.abcdmr

Containers/com.apple.mail

Mail

Preferences/com.apple.mail.plist

Preferences/com.apple.mail.searchhistory.plist

Note: you are not moving the Mail application. You’re moving a folder named “Mail.”

Nov 30, 2014 3:26 PM in response to Nealski

I am having the same issue as well. I have tried everything suggested here and have deleted and reset the filter several times and nothing. It is not learning what I mark as junk. It used to work. I have however tried logging in as a new user and setup my email and it is working under the new id. Now, I hate to just dump my old id. There is a lot of data and a lot of setup that I do not want to lose. I thought this might give someone who is smarter than me a clue as to what might be the problem. The problem is attached to the user id local to the Mac.

Junk mail filter does not work

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple ID.