Questions tagged [mail-rules]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0 votes
0 answers
12 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 ...
user avatar
1 vote
0 answers
21 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 ...
user avatar
  • 990
1 vote
0 answers
13 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....
user avatar
  • 505
2 votes
0 answers
28 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 ...
user avatar
  • 121
0 votes
0 answers
18 views

iCloud.com Server Side Rules not Working

I haven't had any trouble making server-side rules in iCloud until the recent iCloud.com update. I have over a hundred rules and now I added a new one and it is not triggering. I even moved it to the ...
user avatar
2 votes
1 answer
1k 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?
user avatar
1 vote
1 answer
232 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 ...
user avatar
1 vote
0 answers
81 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'...
user avatar
  • 990
0 votes
0 answers
46 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 ...
user avatar
  • 299
1 vote
0 answers
24 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?
user avatar
  • 193
0 votes
0 answers
127 views

Mail Script in Rules

Hopefully, I can explain what I am attempting to achieve. I have an email address designated for SMS (sms@domain.com) This account gets check via Mail (apple V13). I have a rule that every message ...
user avatar
3 votes
0 answers
817 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 ...
user avatar
0 votes
0 answers
368 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,...
user avatar
  • 249
2 votes
0 answers
28 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 ...
user avatar
  • 990
2 votes
0 answers
14 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 ...
user avatar
  • 990
1 vote
1 answer
978 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 ...
user avatar
  • 1,560
0 votes
0 answers
126 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 trigger@applet.ifttt.com and I created a Rule in Apple Mail to run the AppleScript when a new mail is from a specific sender ...
user avatar
  • 1,117
1 vote
1 answer
187 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 ...
user avatar
  • 13
2 votes
1 answer
206 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 ...
user avatar
  • 686
0 votes
1 answer
64 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 ...
user avatar
0 votes
1 answer
1k 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 ...
user avatar
1 vote
0 answers
142 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 ...
user avatar
  • 3,611
1 vote
3 answers
2k 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,...
user avatar
0 votes
0 answers
581 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 ...
user avatar
18 votes
2 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 ...
user avatar
  • 1,030
2 votes
1 answer
293 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
1 vote
1 answer
799 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 ...
user avatar
  • 11
0 votes
1 answer
95 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 "...
user avatar
  • 533
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.
user avatar
  • 57
3 votes
0 answers
26 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 ...
user avatar
  • 143
2 votes
0 answers
236 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 ...
user avatar
0 votes
1 answer
51 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
919 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 ...
user avatar
  • 265
2 votes
0 answers
993 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 ...
user avatar
37 votes
3 answers
84k 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. - ...
user avatar
  • 695
0 votes
2 answers
215 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 ...
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
84 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 ...
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 ...
user avatar
  • 1,871
2 votes
1 answer
7k 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 ...
user avatar
  • 131
2 votes
1 answer
401 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. ...
user avatar
  • 12.6k
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.
user avatar
3 votes
1 answer
6k 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 ...
user avatar
  • 245
5 votes
2 answers
24k 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'...
user avatar
  • 4,231
0 votes
0 answers
47 views

Make rule for message in mail.app

Is there a way to create a mailbox rule based on the currently highlighted message in mail.app? OSX 10.8.5 I want to create a rule from the application rather than have to go to Mail -> Preferences -...
user avatar
  • 3,040
4 votes
1 answer
279 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 ...
user avatar
  • 155
0 votes
1 answer
210 views

Mail rules with Script Warning message

I am getting so fed up with this: It is too real not to make the mistake in a moment when I am not fully on alert (and to be hones that stresses me out), and I want to use my powerful Mac to protect ...
user avatar
  • 45.2k
2 votes
0 answers
30 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 ...
user avatar
  • 2,107
7 votes
1 answer
3k 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/...
user avatar
  • 1,525