Questions tagged [mail-rules]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0 votes
0 answers
90 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
  • 561
0 votes
0 answers
72 views

Custom actions to filter junk mail arriving in Junk mailbox aren't executed

I receive a lot of junk mail that is sent to [email protected]. I’ve found that I can set up a rule based on the Original-Recipient header that matches with “rfc822:[email protected]” to delete most of these ...
odysseus's user avatar
  • 965
0 votes
1 answer
167 views

Setting Mail app rules when using gmail account AND iCloud account

I'm having a problem. I recently subscribed to a daily newsletter of the MIT. Added to that I have some other newletters from news websites. Resulting in an average of 10-20 Mail messages per day. I ...
Thinkr's user avatar
  • 2,842
2 votes
1 answer
180 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
1 vote
0 answers
24 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,234
1 vote
0 answers
199 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
53 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
2 votes
0 answers
233 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,299
2 votes
0 answers
271 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
  • 685
3 votes
0 answers
98 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
  • 232
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
2 votes
1 answer
323 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
0 answers
154 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,299
0 votes
0 answers
55 views

Is Gmail stopping rules in Mail.app?

My rules in Mail.app works only when I run them manually. I gues this should not be a case. Rules should work on each sync. On https://support.apple.com/en-gb/guide/mail/mlhlp1017/mac I have found ...
Błażej's user avatar
  • 349
1 vote
0 answers
40 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
  • 173
0 votes
0 answers
237 views

Mail Script in Rules

Hopefully, I can explain what I am attempting to achieve. I have an email address designated for SMS ([email protected]) This account gets check via Mail (apple V13). I have a rule that every message ...
Frenchy's user avatar
4 votes
0 answers
1k 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
0 votes
0 answers
697 views

How to work-around limitations of iCloud Mail rules to emulate Mail.app rules?

I have been using Mail.app to manage my personal and work email accounts forever, using many rules in the desktop Mail.app to manage the large volume of messages that pass through my accounts; however,...
Rax Adaam's user avatar
  • 259
2 votes
0 answers
30 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,299
2 votes
0 answers
15 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,299
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,838
0 votes
0 answers
157 views

How to run an AppleScript from a Mail rule when screen is locked

I wrote an AppleScript to send an email with a hashtag in the subject to [email protected] and I created a Rule in Apple Mail to run the AppleScript when a new mail is from a specific sender ...
hepcat72's user avatar
  • 1,217
1 vote
1 answer
350 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
  • 13
2 votes
1 answer
602 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
0 votes
1 answer
90 views

OS X Mail: What circumstances are there were Mail rules could be delayed or not invoked

I have some rules set up in OS X mail to forward important messages (by containing a particular string in the subject) as MMS text to my phone. Obviously when the machine is off, internet is down, or ...
BBaysinger's user avatar
0 votes
1 answer
2k views

Apple Mail: Apply Rule to a Folder

I know how to setup basic rules to move emails in Apple Mail from the inbox of an email account into folders. Is it possible to do the same thing the other way around, i.e., to move emails that are ...
F Lekschas's user avatar
1 vote
0 answers
159 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,701
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
0 votes
0 answers
672 views

How can I create an iCloud mail rule to forward emails to an address and move them out of the inbox?

In iCloud, there are rules to forward matching emails to an address and to move matching emails to a mailbox, however I can't find a way of forwarding matching emails to an address and then moving ...
shearnonsense's user avatar
18 votes
3 answers
1k 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,120
2 votes
1 answer
354 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
1k 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
0 votes
1 answer
127 views

AppleScript: Activate all mail rules with "sort: " in their name

I would like an AppleScript to activate all rules that have the string "sort: " in their names. As far as I know this is how to enable a mail rule: tell application "Mail" to set enabled of rule "...
fiedl's user avatar
  • 653
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
0 answers
28 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
0 answers
256 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
0 votes
1 answer
53 views

Is it possible to create an invisible rule in Mail?

I'd like to apply a mail filtering rule within Mail without it appearing in the rules list. Is there any way to make this happen, either from within, or from outside the app?
user avatar
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
0 answers
994 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
38 votes
4 answers
101k 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
0 votes
2 answers
272 views

Debugging Mail.app rules

Is there a way to see what Mail.app is doing when it scans messages for rule firing? I have a rules that download bank statements when I get an email from my bank. Since I have multiple accounts, I ...
Paul Waldo's user avatar
0 votes
1 answer
36 views

Is it possible to set up rules in Mail that do not appear in the rules list?

I'd like to set up a few rules in Mail.app but not have them appear in the list of rules in Mail's preferences. Is there any way to do this?
user avatar
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
0 votes
1 answer
86 views

Mail Script that moves messages with download links to a folder

I am a music supervisor and I receive lots of emails with links to download new music. I'd like to sort these into their own folder automatically. Is there anyway to sort emails that have links to ...
Trygge Toven's user avatar
0 votes
0 answers
1k views

Accidentally deleted all Mail - How can I get it back?

In Apple Mail, I accidentally marked all messages in the Inbox folder as Junk (I meant to mark as read) and it appears all mail was deleted permanently. My Mailbox Behaviours specify Yet the deleted ...
oarfish's user avatar
  • 1,921
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
406 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.2k
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
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
  • 255
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,845