You can make a difference in the Apple Support Community!

When you sign up with your Apple Account, you can provide valuable feedback to other community members by upvoting helpful replies and User Tips.

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

spam filter in Mail not working

Trying to figure out why the spam filter in Mail doesn’t work.


I read the instructions.


In preferences, I set “enable junk mail filtering” & "Mark as junk mail, but leave in my inbox”.


Supposedly, this collects junk filtering info on incoming stuff. After several hundred spams, I went back to preferences and set “Move it to the junk mailbox”.


Nothing happened. All the spam comes into my regular box and nothing is automatically sent to the “junk mailbox”. I do a select all, then click junk, which sends it to my junk box, then I have to go to the junk box and delete the 200 or so spams.


Apple can do better than that.

MacBook Pro with Retina display, macOS Sierra (10.12.3)

Posted on Apr 3, 2017 3:14 PM

Reply
14 replies

Apr 4, 2017 2:49 PM in response to poikkeus1

OK, so tell me which items below are “Advertising emails” and which are “Junk”. I thought you weren’t supposed to open any suspicious emails, and anything you labeled Junk were processed by the filter and made into filters. The files below came from my Junk folder after I selected them and labelled then Junk in my inbox. When I did that, they immediately jumped to my Junk folder. So far, I am not sure any files have automatically gone from my inbox to the Junk folder.





User uploaded file

Apr 5, 2017 2:06 AM in response to Cosman

As per this article : Mail for Mac: If junk mail filters aren’t working correctly

If the problem persists, click Reset in Junk Mail preferences to reset the junk mail database to its original information. Resetting the database removes everything Mail has learned from you about what is junk or not junk, so you need to help Mail identify junk mail again. After that do the exact settings as in screen shot .

User uploaded file

Apr 5, 2017 9:16 AM in response to Cosman

I hope you'll contact Communities again if you have additional questions. But something concerns me.


There can be a big difference between "unwanted email" and "spam" - although if you're getting several hundred unwanted emails a day, they all seem like spam.


"Unwanted email" are advertisements, email bulletins, and the like. "CNN Breaking News," "Forbes Breaking News," "The Master Key," "Anderson Cooper 360," or "Costco Customer Bonus" are all "Unwanted email." These emails always have some text somewhere on the bottom - something like this:

User uploaded file

Or this:


User uploaded file


If it says, "Click here to unsubscribe" or something like that, that's your "opt out" option. The opt out is a Federal requirement.


However, if the unwanted email ever has an email attachment, that's a warning. Do not double click any unfamiliar attachment. That's an invitation to malware and identity theft.


"Spam," on the other hand, is what's left in your Junk File. In my Junk File, for example, there's only garbage. It can be safely ignored. Maybe, it will take time until your email looks like that, but that's the goal.


Some encouragement. When you're done, you'll get one or two unauthorized emails a month, and no spam.

Apr 3, 2017 4:20 PM in response to Cosman

The way that Mail determines junk mail is by you telling it what is junk and what isn't. The more you tell it, the better it's able to determine what is and isn't junk mail. It does not do it automatically from the beginning, unless you also have set up "Rules" that defines what you want it to consider as junk mail. The way I do this is to right or control click on a message and select "Move to Junk". As you do this more and more, Mail will begin to learn what is and isn't junk.


Have you defined any "Rules"? This is done in the Mail Preferences dialog box by clicking on the last tab in the Preferences pane or dialog box. You can take a look at this on how to create your own Rules to help filter out the junk mail.


What exactly did you mean by "I read the instructions"?


Mail for Mac: Use rules to manage your inbox


Good luck...

Apr 4, 2017 9:32 AM in response to dot.com

Actually, I have been doing “select all” (usually 30-80 spams), clicking on Junk. All the spams turn gold color, indicating they have been tagged as junk. Then I go to the junk mailbox, “select all”, then delete.


I have gotten maybe 100 duplicates of the same sites, but the junk filter doesn’t seem to do anything.


I have gone back and forth between the preference settings of “Mark as junk mail” and “Move to junk mailbox”. I understand the former is for training and the latter is for auto execution.


Am I missing something?


User uploaded fileUser uploaded file

Apr 3, 2017 4:17 PM in response to Cosman

I don't know what's causing your spam woes - but there's a solution I learned from Apple support.


If you use webmail on an ISP like AT&T, make sure the spam settings are what you want. If they're not, there might be conflicts on your system.


Once you're done with that, do this:


1. Make sure you know your email passwords.

2. Go to Mail/Preferences/Accounts, and delete the account(s) in blue. Don't delete the iCloud settings.

3. Reenter the settings, and confirm their accuracy.

4. Open Mail, and set up your spam controls as you like.

Apr 3, 2017 4:41 PM in response to dot.com

I went the filter route of filling in key words, etc., but it got so long that I read the Apple Mail instructions which said to set the preferences to recognize whatever you called junk initially, then it would do it automatically thereafter. Doesn’t seem to work.


I have 4 email addresses. One is the main culprit. It is related to a web site that is basically idle right now. Within 1000 spams, there may be a real message. Many of the spams are duplicates, triplicates, quads of exactly the same message. Lots of Dr. Oz spam, for example.


I am wondering why the “training” method above does not work. Maybe I didn’t read it right.

Apr 4, 2017 12:24 PM in response to Cosman

I don't know what kind of spam you're getting, or where it's coming from, but something's wrong here.


For most users, "advertising emails" and "spam" are the most frequent offenders.


"Advertising emails" come from various sources - the product of a plethora of ad sites. While it might seem like spam... it's really not. This mail appears in your inbox, and nearly always offers an "opt-out" option. If the unwanted mail appears in your inbox, aggressively "opt out" - and the advertising emails will diminish. Fast.


"Spam" nearly always appears in your "Junk" folder. It's probably best to ignore these posts, despite their varying offensiveness.

Apr 4, 2017 4:11 PM in response to Cosman

What's happening is this: you have so much filtering that a lot of legitimate messages are showing up as spam.


This is what I'd suggest:

1. Go to Mail/Preferences/Rules and disable all of your spam filters. You don't have to delete them; just disable them by unchecking them in the left column.

2. Go to Mail, and look at each email, one by one. I can't tell if they're what you want. If you want the message, don't do anything; if you don't want this message in the future, you can choose to opt-out of the mail.

3. If you have unwanted advertising in your in-box (NOT spam box!), tap on the opt-out link until the item appears in your browser window, and choose to opt out. It typically takes about a week for opt-out messages to work.

4. In the Junk Folder, you should only see...well,...junk.


This technique will work!

Apr 5, 2017 8:04 AM in response to poikkeus1

I deleted my custom rules a while back when it got to be 100 entries. Am now working off the auto rules generation when I label something a junk (turns yellow).


With 30-100 spams coming in at a time, I am not going to try to determine if any are legit. They are all illegit. I can recognize sites I have bought from, or otherwise visit. Dr. Oz, weight loss, selling condos, refinancing, ….. is not among them.


I scan down the names/titles/messages to see if any real messages get through. Occaionally one does and I skip tagging it.


The address with the problem has not been actively used for about 1 ½ years, but I keep it because it is linked to a web site, which I am phasing out.


I have read all the references above. Thanks. Have seen some small tagging activty lately. Maybe I need to start over as suggested and reset the mail junk filter. It may be corrupted by now.

Apr 5, 2017 9:39 AM in response to poikkeus1

Yes, I know the difference between unwanted email and spam. The problem is there are many spam sites masquerading as real sites.


The COSTC $50 bonus offer is spam. I have gotten exactly the same spam message for maybe 20 different name brands, none of which I have any relationship to - Sam’s, for example.


When I get an NBC news special about Dr. Oz’s miracle cure (about 10 a day - ABS, CBS, etc….) I know it looks like NBC, but is not.


I have not signed up for any news outlet notifications - it is part of my web religion - so I know these are uninvited, spam or not.


If I were getting 10 a day, I could open each one and click unsubscribe. I have done that many times over the years. Some kept right on sending me spam. I have also signed up for the DoNotCall registry maybe 5 times. Same thing. I define Spam/Junk as anything I didn’t sign up for that is bulk mailed. This may not fit the technical definition, but the result to me is the same.


My best take away from all the contributions above is to reset my auto spam filter, set the preference to “leave in mailbox”, mark all spam, then later change preferences to “move to Junk.."

spam filter in Mail not working

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