Questions tagged [mail-rules]

The tag has no usage guidance.

1
vote
1answer
49 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 ...
0
votes
0answers
20 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 ...
1
vote
1answer
34 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 ...
1
vote
0answers
44 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 ...
0
votes
1answer
22 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 ...
0
votes
1answer
175 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 ...
1
vote
0answers
62 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 ...
1
vote
3answers
797 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,...
0
votes
0answers
287 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 ...
10
votes
0answers
239 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 ...
2
votes
1answer
146 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 ...
1
vote
1answer
354 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 ...
0
votes
1answer
39 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 "...
2
votes
2answers
1k 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.
3
votes
0answers
23 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 ...
2
votes
0answers
160 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 ...
0
votes
1answer
39 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?
0
votes
2answers
509 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 ...
2
votes
0answers
979 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 ...
20
votes
2answers
33k 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. - ...
0
votes
2answers
90 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 ...
0
votes
1answer
32 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?
2
votes
1answer
509 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 ...
0
votes
1answer
67 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 ...
0
votes
0answers
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 ...
1
vote
1answer
6k 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 ...
2
votes
1answer
384 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. ...
0
votes
2answers
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.
3
votes
1answer
3k 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 ...
5
votes
2answers
21k 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'...
0
votes
0answers
41 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 -...
4
votes
1answer
256 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 ...
0
votes
1answer
158 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 ...
1
vote
0answers
25 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 ...
7
votes
1answer
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/...
1
vote
1answer
12k views

iPhone: Rule based email forwarding?

Is there a way to establish rules for mails processed on the iPhone (4s, iOS 6.1.3)? In my case, I am interested in automatically forwarding certain emails to another email account once I receive them....
0
votes
1answer
820 views

Identifying mail marked as junk; marking and unmarking mail as junk

I use several different macs to read my mail from an imap server. Each has developed its own junk mail filtering rules. I'd like to merge the rules, and keep them merged. Is there a way to merge the ...
2
votes
1answer
209 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 ...
9
votes
5answers
10k 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. ...
4
votes
2answers
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! ...
5
votes
1answer
1k 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 ...
3
votes
1answer
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 ...
2
votes
1answer
203 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 ...
1
vote
1answer
360 views

How do I set up a Mail.app rule for removing attachments?

While Mail.app offers a menu item for removing attachments from e-mail, I find myself wanting to make a rule for removing attachments from e-mails. Anyone knows how that can be done? AppleScript, ...
0
votes
1answer
689 views

Smart mailbox for senders who are not members of a group

I want to set up a smart mailbox in Mail that contains messages from any sender who is not a member of a particular group in my address book. There's an option in the smart mailbox rules for "sender ...
3
votes
3answers
4k 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 ...
0
votes
1answer
198 views

Address smart group based on mailbox? Or Tags?

I have manually created mailboxes in Mail and would like to create a rule that moves all future email from those senders who currently exist in one of those mailboxes to be sent to the same mailbox. ...
2
votes
2answers
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 ...
0
votes
1answer
735 views

How do I write a Mail.app rule to mark messages as read in one mailbox but leave them as unread in my in-box?

I have a Mail.app rule that copies certain incoming messages into an archive mailbox. I'd like those messages to be marked as read in the archive mailbox but remain unread in my in-box until I ...
0
votes
1answer
183 views

How do I remove multiple mail rules using iCloud server?

Using the iCloud server, is it possible to remove multiple rules at once (instead of selecting each rule individually)?