Yes, macOS Sierra supports mail filters (called rules) in the built-in Mail app, and you can create them to automatically sort, flag, or forward incoming messages. You set these up in Mail > Preferences > Rules, and they run on new mail as it arrives. This guide walks you through creating and managing rules in Sierra, plus how to handle common problems like rules not applying.
What Are Mail Rules in Sierra?
Mail rules are automated instructions that tell the Mail app what to do with a message when it arrives. For example, you can move emails from a specific sender into a folder, mark them as read, or forward them to another address. In Sierra, the Rules pane in Preferences is where you build these conditions and actions. Rules run in the order they appear in the list, and you can reorder them by dragging. You can also apply rules to messages already in your inbox by choosing “Apply Rules” from the Message menu.
How to Create a Mail Filter in Sierra
Creating a rule takes about a minute. Here are the steps:
- Open Mail, then go to Mail > Preferences (or press Cmd + ,).
- Click the Rules tab at the top.
- Click Add Rule (the plus button).
- Give the rule a name, like “Work Newsletters” or “Move Receipts.”
- Set a condition: choose a header field (From, To, Subject, etc.), a match type (contains, equals, begins with), and a value.
- Choose one or more actions: Move Message, Mark as Read, Play Sound, Forward, Reply, or Delete.
- Click OK to save. You’ll be asked if you want to apply the rule to messages in the selected mailbox—choose Apply or Don’t Apply.
You can add multiple conditions (e.g., From contains “newsletter” AND Subject contains “weekly”) by clicking the plus icon next to the condition row. Use “any” or “all” to control whether any one condition or all conditions must match.
What You Can Do With a Rule
Rules are flexible. Common uses include:
- Move to folder – File messages into specific mailboxes automatically.
- Mark as read – Skip the unread badge for low-priority senders.
- Forward – Send a copy to another address, useful for team inboxes.
- Reply – Send an automatic reply (be careful with this to avoid loops).
- Play sound – Get an audio alert for important senders.
- Delete – Remove junk or unwanted emails immediately.
You can also combine actions—for example, move to a folder and mark as read. The order of actions matters: Mail performs them in the sequence listed.
Why Aren’t My Rules Working?
If a rule doesn’t fire, check these common causes:
- Rule order – If an earlier rule moves the message to a different mailbox, later rules may not see it. Drag rules to reorder.
- Condition mismatch – The header field and match type must be exact. “Contains” is case-insensitive, but “equals” requires an exact match.
- Only new mail – Rules only apply to messages that arrive after the rule is created. To test, select messages and use Message > Apply Rules.
- Mailbox not selected – When applying manually, make sure you’ve selected the correct mailbox in the sidebar.
- Server-side filters – If you use Gmail or Exchange, server-side filters may act first and move messages before Mail’s rules run.
Also, if you have multiple devices, rules created on your Mac only run on your Mac—they don’t sync to iPhone or iPad.
Comparing Sierra Rules to Later macOS Versions
MacOS Sierra (10.12) introduced a few improvements over earlier versions, like the ability to apply rules to multiple messages at once. But the core rule engine is essentially the same in later versions (High Sierra, Mojave, Catalina, etc.). The interface hasn’t changed much, so instructions for Sierra still work in recent macOS versions. One difference: in newer versions, you can also create rules from a message by right-clicking and choosing “Rules > Create Rule.” That shortcut exists in Sierra too, but the menu path is slightly different—right-click a message, go to Rules, then Create Rule.
Tips for Managing Multiple Rules
If you have many rules, keep them organized:
- Use descriptive names – “Move Receipts” is clearer than “Rule 1.”
- Group related rules together – Put all forwarding rules at the top, then filing rules.
- Disable temporarily – Uncheck the box next to a rule to turn it off without deleting it.
- Export rules – You can copy the Rules.plist file from ~/Library/Preferences/com.apple.mail to back up or transfer rules.
Rules run top-down, so put the most specific rules first. For example, if you have a rule that moves all mail from a domain to a folder, and another that moves a specific sender to a different folder, the specific one should come first.
Frequently Asked Questions
Can I apply a rule to existing emails?
Yes. Select the messages (or a mailbox), then go to Message > Apply Rules. You can also choose “Apply Rules” from the contextual menu after right-clicking. This runs all enabled rules on the selected messages.
Why do my rules stop working after I restart Mail?
Rules should persist across restarts. If they don’t, check that you’re editing the correct account. Rules are stored in your Mac’s preferences, not per-account. If you have multiple email accounts, rules apply to all accounts unless you specify a mailbox in the condition (e.g., “Account” equals “Gmail”).
Can I use wildcards in rule conditions?
No, Mail rules do not support wildcards. You can use “contains” with a partial string, but there’s no regex or asterisk support. For complex matching, you’d need a third-party app like Mail Act-On.
How do I stop a rule from forwarding a message in a loop?
If you forward to an address that also forwards back, you can create an infinite loop. Mail has a safeguard: it won’t forward a message that was already forwarded by a rule more than once. But to be safe, add a condition like “From” does not contain your own address, or use a unique subject tag.
Do rules work on IMAP accounts like Gmail?
Yes, rules work on IMAP accounts, but they run locally on your Mac. If you also use Gmail’s web filters, those run on Gmail’s servers first. To avoid conflicts, either disable Gmail filters or make sure they don’t move messages before Mail’s rules see them.
Can I share rules between Macs?
Yes, you can copy the file ~/Library/Preferences/com.apple.mail.plist to another Mac, but that file contains other Mail preferences too. A safer method is to recreate rules manually or use a tool like Mail Act-On to export/import. Apple doesn’t provide a built-in export for rules alone.
Related
Method: the standard formula for this calculation, rounded as each result states. See how the calculators work or report an error.
More cards in this drawer
- Samsung Smart Speaker Rollable Display: Facts
- HP 9730e: Wide Prints, Not A3 Scans
- What 8888 Does When You Use It as DNS Server
- Credential Manager: Seamless Sign-In Explained
- API Governance for Public Data: What Growing Portfolios Need
- Enterprise AI Hidden Cost: Data Architecture ROI