How to get Mail to execute rule to delete junk mail

I want Mail to auto send a particular annoying marketing email to the trash and delete it. But the rule does not seem to be executed even after I have switched off junk mail filtering. Mail still identifies the email as junk and send to my junk mail folder instead. How can I get Mail to execute the rule?


User uploaded fileUser uploaded file

MacBook Pro, iOS 11.2.6

Posted on Mar 19, 2018 1:59 AM

Reply
Question marked as Top-ranking reply

Posted on Mar 26, 2018 12:14 AM

Thks BobTheFisherman. Looks like that is the culprit. I finally managed to get it to work by setting the junk mailbox in the Mailbox Behaviours of the IMAP account to my Mac instead of the Gmail Junk Mailbox. Not sure if there is another/better way to do it but this seems to work.

10 replies

Mar 19, 2018 5:18 AM in response to PKLeong

Hello PKLeong, as far as I know you don't have to do anything with you're junk but just go to rules and do as is done in the screenshot.

User uploaded file

Then go to accounts and select the account on which you are getting the "spam" mail then select Mailbox Behaviors and select how long it must take to delete the spam mail. (Shortest is "when quoting mail" and "after one day" I believe

User uploaded file

or do this

User uploaded file

Mar 26, 2018 12:15 AM in response to PKLeong

See these articles Reduce junk mail in Mail on Mac - Apple Support

Mail Junk Mail preferences on Mac - Apple Support

If you have created any rules click on reset button to cancel the rules in case if they are created , if they aren't created don't click on reset without any reason as it will corrupt the mail application .

See this screen shot it is a default setting without any type of rules created .

User uploaded file

Mar 20, 2018 8:20 PM in response to tygb

Thks tygb. Tried what you suggested but unfortunately the mail still comes into my Junk Mail. I don't know why Mail is still identifying the mail as junk even though I switched off junk mail filtering (my previous setting). Where is the source of the filtering? According to Apple Support posts that I have seen, Rules will not be executed if Mail identifies an email as junk. It will send it straight to Junk Mail which seems to be what is happening.

Mar 19, 2018 11:33 PM in response to Halvor04

Thks Halvor04. I have created the delete rule (as per my screen shot) but it is being ignored. Based on the previous numerous postings from Apple Support, I understand that when an email is regarded as junk mail, Mail will bypass the Rules execution and automatically place it into the Junk Mail folder, hence it is brown in colour. As I have switched off junk mail filtering (as per my screenshot) to try to enable Rules execution, somehow Mail is still filtering. I think this maybe the crux of the problem and hence I need to identify where this is being done and switch it off.

Mar 26, 2018 12:14 AM in response to PKLeong

Rules only work on email in the inbox. If an email has already been moved to the junk box the rule, as expected, will not run on that email. Are you sure the email is not being put into the junk box at the server and it is showing up automatically in your junk box because you are using an IMAP account. So the email in question never gets to your inbox but goes directly into your junk box during IMAP syncing.

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.

How to get Mail to execute rule to delete junk mail

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