Best way to use Gmail spam filter from within Apple Mail?

I'm using Sierra on my MacBook Pro. I switched a little while back to Gmail for my email service. I finally got it dialed in pretty well, but I would like to easily mark email to be caught by GMail's spam filter so it doesn't even arrive in my InBox.


1) Is there a quick and easy way to do that from within the Mail program? (I know you can do that if you're reading Gmail online from their interface in a browser.) Would that email end up in an Apple Mail junk filter or would it stop before it's ever downloaded to Mail?


2) If it's something I signed up for or an organization I don't dislike, I don't want my marking it as spam to be a black mark against them, so for those, perhaps I should unsubscribe, even though that takes a while, right?


3) I used to use Spam Sieve, but a) I want a spam filter that will catch email not only before it reaches the InBox on my Mac, but also on my iPhone and b) if Gmail has this service anyway, I might as well take advantage of that without adding another layer of software to my computer.


Thanks in advance for your help!

MacBook Pro TouchBar and Touch ID, macOS Sierra (10.12.6)

Posted on Aug 18, 2017 8:04 PM

Reply
16 replies

Aug 19, 2017 11:55 PM in response to Glenn Leblanc

Hi Glenn – Thanks for your reply! I think that Gmail allows you to add emails you get to a spam folder and I was told that when you do that, it marks them as spam. I'm just not sure if it simply prevents them from making it to your Inbox in the future, or if it registers a complaint about spam somewhere... If that is, in fact, the case, I was wondering how I could put email in a spam folder from within Apple Mail. Under "Labels" in Gmail IMAP settings, I have Spam checked, so that it will show up in a folder in Mail. I believe the folder where that shows up in in "Junk". I do not have any spam filtering configured in Mail and there are emails in Junk and they correspond with the email s in "Spam" on Gmail online.... So – I'm wondering if I move an email that is spam to my Junk folder on Mail, does Gmail learn that that is spam? And does that register a complaint against the company that is sending that email?


Also, I am looking at the advanced settings for Mail on my iPhone and don't see any spam settings there...


Any tips would be appreciated!


Thanks!


PS Below is the Gmail explanation about how to "report" an email as spam or to reverse that...


User uploaded file


User uploaded file

Aug 20, 2017 1:54 PM in response to eric d

eric d wrote:



3) I used to use Spam Sieve, but a) I want a spam filter that will catch email not only before it reaches the InBox on my Mac, but also on my iPhone and b) if Gmail has this service anyway, I might as well take advantage of that without adding another layer of software to my computer.


Thanks in advance for your help!


I think you are missing the boat if you choose not to use your SpamSieve.app; by far the single best software I ever bought and use daily with 99.8% accuracy.

User uploaded file

Aug 18, 2017 8:23 PM in response to eric d

Gmail doesn't have much in the line of spam settings. Just let that be and control what you can from within Mail. If you have the provider filtering spam and Mail filtering spam, you may not know which is marking a message junk and won't know which to fix if you want to mark something as not junk.


1. If gmail marks a message as spam and moves it to the Spam folder, then it will reflect that in Mail.

If Mail marks a message as junk, then it will be moved according to the settings in Mail's Junk settings. Set Mail's Junk preferences to move spam to the Junk mailbox.


2. If something is marked as Spam and you don't want it to be, then you can mark it as not junk.


3. As per you 1st question, same applies to the iPhone. Junk mail should go to the junk mailbox. Set your mailboxes on the iPhone in the Advanced Mail settings for that account.

Aug 20, 2017 5:52 AM in response to eric d

IMAP is used to sync mailboxes between devices. What is on the server will be reflected on the devices. If the server marks a message as spam, then it will go to the spam (Junk) mailbox and not the inbox.

Gmail does not have spam settings, but yes you can mark or unmark messages as spam.


I though the iPhone had mailbox settings for Junk, but it appears I made a mistake there. Maybe there was in the past, but there are none now. The iPhone should reflect what's on the server.


In the Mail application, you have to open up Mail preferences and set the Junk filter. Unless you plan to use webmail instead of Mail, set this and control Junk from within Mail. I don't thing it will teach gmail what is junk or not, but you won't have to go back and forth to the website to unmark or mark spam.

Aug 20, 2017 12:14 PM in response to Glenn Leblanc

Thanks for your reply, Glenn. Yeah, I was just hoping that if Gmail would handle the spam filtering, then I wouldn't have to ALSO do that in Mail. That way, even if my Mac were not connected, checking email and filing spam as "junk", then the spam would still be filtered on the server side BEFORE it got to my phone. If I decide to filter spam through Mail, I think I'll use Spam Sieve rather than the Apple Mail junk filtering as I think it's more robust. I'll look into whether or not there's a way to train Gmail spam filtering through Apple Mail...


Cheers!

Aug 20, 2017 1:16 PM in response to eric d

You can use gmail to filter spam, but you will most likely have to log into the webmail site to mark or unmark junk mail. I don't know if just moving a message to or from the spam mailbox for gmail in the Mail application will be sufficient enough to train the gmail server. You won't have a junk or not junk button and no database will be kept on the computer for it.

Aug 20, 2017 1:42 PM in response to Glenn Leblanc

Glenn Leblanc wrote:


I don't know if just moving a message to or from the spam mailbox for gmail in the Mail application will be sufficient enough to train the gmail server.


Yeah, that's what I don't yet know, either. However, I *could* just move any spammy emails that Gmail misses to one specific folder, then log on from time to time and mark ALL of those as spam.


The other part that I don't know is if it actually "reports" it as spam to any central database that will be a black mark agains that sender (which I don't always want to do) or if it just "reports" it to Gmail's spam filter for my account which would be just fine...


Thanks again for your thoughts on this... 🙂

Aug 20, 2017 3:05 PM in response to eric d

eric d wrote:


Point taken. Is there any way to get Spam Sieve to filter on the server side so I avoid spam on my phone, too besides leaving my computer on and running and checking email?

Yes there is.


Granted, even if you are using IMAP your computer has to be up and running to service your iPhone if the Spam folder is located on your Mac. Maybe this is the crux of your problem.


You can install Spam folder server side


Here is a quick search, see if this helps:

https://c-command.com/spamsieve/manual#using-a-spam-mailbox-on

http://dafacto.com/2012/running-your-own-server-side-spam-filter-with-spamsieve/


*** https://c-command.com/spamsieve/manual#setting-up-a-spam-filte

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

Best way to use Gmail spam filter from within Apple Mail?

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