Questions tagged [mail-rules]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
38 votes
4 answers
103k views

outlook: apply rule to past messages

I use outlook as client for an exchange server. I created several rules that are local to the mac (as opposed to server side rules), and I want to apply them for past messages. I can't find a way. - ...
Glasnhost's user avatar
  • 715
18 votes
3 answers
2k views

Set "Load remote content in messages" per sender?

In the Mail setting (under Viewing) tab, there is a option Load remote content in messages which I unchecked, so for each email that contains remote content, I need to click the Load remote content ...
Roger's user avatar
  • 1,140
13 votes
6 answers
13k views

Where are Mail.app rules stored? They got deleted and I want to restore them

Since Mail.app had trouble connecting to the various accounts, I tried to 'reset' it by removing all accounts and the stored passwords in Keychain Access.app. Then I re-added all the mail accounts. ...
gentmatt's user avatar
  • 49.3k
7 votes
1 answer
4k views

Is there a clever way import my Mail.app rules to iCloud?

I have a lot of rules in my Mail.app but when my computer is off my inbox fills up with junk and it's hard to read from the phone. I want to set up the rules on iCloud but don't see a way of uploading/...
Nic  Cottrell's user avatar
  • 1,715
6 votes
1 answer
2k views

How do I export mail.app rules to other filtering solutions such as procmail?

In the past I handled email filtering using Mail.app's Rules. I want to move my filters out of Mail.app and into another solution, such as a centrally-organized IMAP + procmail setup. Is it possible ...
Nath's user avatar
  • 61
5 votes
2 answers
25k views

Forward or Bcc a copy of all outgoing mail

I've got one machine set up with an email account, using Mail.app. I'd like to send a copy of all outgoing mail from that account to another email address I have, which is not on the same machine. I'...
sam's user avatar
  • 3,865
5 votes
2 answers
3k views

No new mail notification at apple mail dock icon when rules apply

I've set a rule in apple mail. It's very simple. If a specific individual sends me mail it moves it directly to the destination folder. The problem is that it does not notify me that a mail arrived! ...
Nir's user avatar
  • 51
4 votes
3 answers
10k views

Apple Mail - Do not apply rules automatically

As I understand it, active Apple Mail rules automatically get applied when mail comes into the Inbox. Is there a way to prevent rules from being applied automatically, so that they are only applied ...
supertrue's user avatar
  • 141
4 votes
1 answer
286 views

My mail rules don't stay on

I've setup one very simple rule that applies to messages from one sender... the rule works just like it should (most of the time). Randomly, after I've restarted Mail the rule will be unchecked, so ...
Circle B's user avatar
  • 155
4 votes
0 answers
2k views

How can I use wildcards within Apple Mail rules?

I have a couple dozen rules within Apple Mail and some have hundreds of lines. The latter are rules mostly to divert spam. I own several domain names and get endless spam to made-up or altered ...
Cyn's user avatar
  • 141
3 votes
1 answer
494 views

Advanced Mail Rule

I want to write a rule like that does the following: act on all messages from contacts that are in my address book do move it to the folder <known> except if another rule matches ...
Sascha's user avatar
  • 153
3 votes
1 answer
3k views

Save attachments from Mail.app based on subject

I have been trying to write an Applescript to help me saving attachments, but realized quickly that I do not have the knowledge to do such a difficult script. Here is some background. We receive ...
user41766's user avatar
3 votes
2 answers
3k views

Migrating Mail.app rules from 10.6 to 10.8

I want to move my Mail.app filtering rules from my old 10.6 machine to a fresh 10.8 install. I've seen people talking about moving these by copying over MessageRules.plist, but I haven't seen anyone ...
mrjf's user avatar
  • 181
3 votes
1 answer
6k views

iCloud server side wildcard mail rules

I couldn't find any information on how to set up wildcard rules in iCloud mail. I want to forward mail from any sender of a certain domain to another address. What exactly is the syntax of the ...
iltempo's user avatar
  • 133
3 votes
2 answers
2k views

How can I get my mail rules from Mavericks to Sierra without doing them over one by one

Or how can I export them? Or even just print them? There are far too many for me to do them over.
emaven's user avatar
  • 57
3 votes
1 answer
7k views

Apply email rules to existing emails

I've added a email rule in iCloud to copy emails with a specific from address to a folder. This is working fine, all new mails are moved to that folder. Is there a way to apply the rule also to mails ...
markus's user avatar
  • 265
3 votes
1 answer
249 views

Efficient creation of filtering rules in Mail.app

I have selected a received email in Mail.app and would like to create a rule to redirect all emails from the same sender to a specific folder. I know how to create such rules manually from the ...
silvado's user avatar
  • 429
3 votes
1 answer
5k views

What is the ‘has list-id containing’ iCloud Mail rule?

What is the “has list-id containing” drop down option mean, how do I use it, and what does it do?
Jazzfess's user avatar
3 votes
0 answers
317 views

Can't forward emails using rules in Mail.app

None of my Mail.app rules seem to be working to forward any emails even though they are working normally for other things: moving into folders, marking as read, etc. I'm using macOS Big Sur Version 11....
Vincent's user avatar
  • 705
3 votes
0 answers
114 views

How do I get macOS Mail not to show remote content in Gmail/Exchange’s spam folder?

For some reason, macOS Mail on Monterey will display remote content for messages in the Spam folder of both my Gmail and Exchange accounts. This is of course unfortunate because the spammer then knows ...
tb87's user avatar
  • 242
3 votes
0 answers
30 views

Apple Mail: Adding two or more standard actions

I am happily using Apple Mail and have ordered my mail chaos into a great structured tree of certain archive directories. I use apple Mail rules to organize a lot of the incoming traffic to be ...
Jan's user avatar
  • 143
2 votes
1 answer
665 views

Apple Mail rule that combines "all" and "any"

I would like to create a rule for Apple Mail that combines "all" and "any". Specifically, I need to do a rule where I have a group of "any" criteria, "Message content contains X" OR "Message content ...
jan's user avatar
  • 768
2 votes
1 answer
243 views

Mail.app button to explicitly move to Junk without built-in filtering

I'd like to create a button in Mountain Lion's Mail.app to move mail to an IMAP folder called Junk, much like the Archive button moves mail to my IMAP Archive folder. (This folder is automatically ...
Mattie's user avatar
  • 4,346
2 votes
1 answer
219 views

Script to run Apple Inbox Rules

Note: I am not asking how to create a rule which runs an Applescript. I want to go the other way around: run a script that will apply existing rules to all the messages in the inbox. That is, simulate ...
Andrew Lazarus's user avatar
2 votes
1 answer
335 views

Big Sur Mail all archives folder

In Big Sur the mail client doesn't show a folder combining archives of all accounts. I'd like to have such a folder and tried creating a smart mailbox for this purpose as I'd successfully done to ...
Kristoffer Rom's user avatar
2 votes
1 answer
365 views

Mail.App, Rules, Regular Expression or content search, Base64

Will the Mail.App (on Mojave) search within the base64 encoded parts of a message with mail rules? It looks like it only searches the text. I'm not looking for it to decode the base64, rather just ...
znhohs's user avatar
  • 23
2 votes
1 answer
357 views

AppleScript auto-responder with incrementing number

I'm trying to create an auto-responder that will respond to any email from a certain address with something like: Thank you for your email. Your number is #0000042. The number should increment ...
user avatar
2 votes
1 answer
2k views

Forward or redirect email with attachments using Apple Mail to another email address

I'm on MacOS Sierra. I'm using Apple Mail with Exchange Server. I want to set a rule that when an email is received from a specific sender, then redirect the email to another email address. I'm trying ...
Xavier's user avatar
  • 21
2 votes
2 answers
1k views

How do you set a rule to move sent items in Mail?

I've got a rule set in my Apple Mail app to move email older than 90 days out of my inbox to a separate local mailbox (to free up some space on my server – I use imap). My inbox rule is If [all] of ...
Ben's user avatar
  • 295
2 votes
1 answer
1k views

How to determine the specific rule Mail App used to move a given message?

I have dozens of filter rules in my Apple Mail (under Mavericks). (the SyncedRules.plist file is 110460 bytes long) 99% of my rules move spam mail to the trash. My criteria are somewhat loose, and ...
user avatar
2 votes
1 answer
8k views

Outlook quick-steps functionality on Mac

In Outlook 2010 on Windows, I use the quick steps functionality a lot to automatically sort incoming messages to different folders. The good thing is it applies these rules on subsequent messages as ...
tempid's user avatar
  • 131
2 votes
1 answer
407 views

Mail.app rule works only partially

I have this Mail rule: The Move Message works great and all messages that fits the rules has been moved to the selected folder. The issue here, is the Mark as Read part of the rule does not work. ...
jherran's user avatar
  • 13.3k
2 votes
0 answers
249 views

Export MacOS Mail rules to Office 365 server

My company is moving our mail from an old IMAP server to an Office 365 server. I currently have dozens of mail rules for automatically filing messages into folders. I'm told that Office 365 can ...
Barmar's user avatar
  • 1,443
2 votes
0 answers
167 views

Manual edit of SyncedRules.plist not sticking

I have a number of Mail.app rules whose action is to move the message to mailbox A. I just created a new mailbox B that I want them to move to instead. Doing this by hand is very tedious. Also, there'...
Barmar's user avatar
  • 1,443
2 votes
0 answers
32 views

Which Mail rule processed a message?

I have lots of mail rules that sort incoming mail into different folders. Today a message got put into a folder it didn't belong in. There are over 40 rules that move messages into this particular ...
Barmar's user avatar
  • 1,443
2 votes
0 answers
16 views

Find mail rules that are no longer being used

I have over 80 rules in Mail, many are for automatically filing mail from service providers to folders. Some of these are probably obsolete, as they were for temporary situations, or refer to ...
Barmar's user avatar
  • 1,443
2 votes
0 answers
257 views

How to set up an Applescript to remove attachments in Mail as part of a rule?

I'm on Sierra and have MailActOn in Mail. I want to set up an Outbox mail rule to run an Applescript that effectively will delete all email attachments on the message I am replying to, after ...
MMcLaren's user avatar
2 votes
0 answers
995 views

OSX Sierra: Mail Rules gone

Just went add a mail rule and it appears that the sierra upgrade has wiped all mail rules: Is there any way to recover them, or do I need to set them all up again? Staggers me that apple still can't ...
user2003052's user avatar
2 votes
0 answers
32 views

Is there a way to know which rule filtered an email?

My Mail.app has at least 100 rules with thousands of conditions and sometimes I get mail filtered that was not supposed to be filtered. All my filters work by moving unwanted stuff to the trash. Is ...
Duck's user avatar
  • 2,437
2 votes
2 answers
261 views

Why doesn't Apple Mail let me move a message when viewing it in a Smart Mailbox?

I use Apple Mail as an IMAP client for my Gmail account. I have a few Smart Mailboxes that I use regularly, e.g. "Today", "Yesterday", etc. If I'm browsing the contents of a smart ...
Bill's user avatar
  • 332
1 vote
3 answers
3k views

Help writing AppleScript with Mail rule to keep most recent

I've created a rule to move mail from specified senders to a new mailbox called "News." I'd like my AppleScript to go through the "News" folder and only keep the most recent emaisa from those senders,...
Lantz Warrick's user avatar
1 vote
1 answer
60 views

Reverting an inversion bug in Apple Mail Rules

Sometimes I observe a strange inversion bug in my incoming mails : the sender and title listed in my mailbox do not correspond to the content when I open the mail. Usually it is inverted with the ...
Hugues's user avatar
  • 491
1 vote
1 answer
1k views

macOS Mail app rules to delete are archiving instead

I have several rules in macOS Mail app version 12.4 set to detect certain senders and/or subjects, with the action to delete the matching emails. Here's an example rule: However, I see they're ...
2540625's user avatar
  • 1,888
1 vote
2 answers
2k views

How to auto-archive mails after sent?

Is it possible to auto-archive mails, after sending - or adding a separate "Send and archive" button? I use the Inbox Zero approach, so now I need to manually archive conversations that have ended.
curly_brackets's user avatar
1 vote
2 answers
2k views

How can I move an email without deleting it from iCloud server?

I have local rules on my Mac to move emails from certain people into their own local folders, and sound a unique alert. The problem is that it appears that moving it causes it to be deleted from ...
Chap's user avatar
  • 1,184
1 vote
0 answers
31 views

Mail rule to move messages with all-capital subject to Junk

I would like to create a rule on Mail that automatically moves any new e-mail message to the Junk folder if the subject contains all capital letters. I do not think that thanks to the Mail Rules it is ...
AlessioX's user avatar
  • 1,264
1 vote
0 answers
229 views

I am trying to create a script with a keyboard shortcut that will move the selected message in Mail to a specific folder

I have certain emails that come in from various sources, and I need to file them away for future reference. Yes, I can drag and drop it into the folder, but I would like to create a keyboard shortcut ...
Kyddrivers's user avatar
1 vote
0 answers
64 views

Why does an email rule testing for "<>" in header "Return-Path" not work?

I found that a good fraction of unwanted emails have the header "Return-Path" equal to "<>", so I thought that I could have an email rule to test for this and then move the ...
Alan Wehmann's user avatar
1 vote
0 answers
43 views

Junk Folder Rules: block any sender with an emoji in the address?

I know how to do block a sender for any given emoji, but how can I do this for all emojis?
SumNeuron's user avatar
  • 183
1 vote
0 answers
161 views

Can e-mails that were recently deleted through the “delete message” rule action in Apple Mail still be recovered?

I recently set up a rule in Apple Mail with “delete message” as the action. Unfortunately, I made a mistake in the conditions of the rule. And to my dismay, “delete message” really seems to ...
Rinzwind's user avatar
  • 3,711