iCloud Mail Rules - Is advanced syntax possible?

I have searched Apple Support and do not see that this is possible, but I thought to ask if anyone knows more.


I would like to use the Mail rules to sort incoming mail by the email address domain, without specifying the prefix. Like this:


*@domain.com


where * means any sequence of characters. So all emails coming from a particular business or entity would be filtered identically. This would allow one simple rule for certain business domains that send you emails with prefixes such as noreply, receipts, notifications, etc., all with the same @domain.com.


iMac 27″

Posted on Jul 6, 2025 9:11 AM

Reply
Question marked as Top-ranking reply

Posted on Jul 7, 2025 6:33 AM

Unfortunately, iCloud Mail’s built-in rules are pretty basic. I was actually just testing this out the other day. I would’ve had to setup multiple rules, which may or may not have caught everything I wanted.


They don’t support wildcards or advanced syntax like *@domain.com. Rules have to match full addresses or specific conditions exactly as you type them, which means you'd need to list out each variation like noreply@domain.comreceipts@domain.com, and so on, one by one.


You may be able to do something like this on a Mac, but I believe it would be a local rule, not applied on all devices automatically. In other words, it’d need to run from your Mac when it’s active.

2 replies
Question marked as Top-ranking reply

Jul 7, 2025 6:33 AM in response to Bob Owen

Unfortunately, iCloud Mail’s built-in rules are pretty basic. I was actually just testing this out the other day. I would’ve had to setup multiple rules, which may or may not have caught everything I wanted.


They don’t support wildcards or advanced syntax like *@domain.com. Rules have to match full addresses or specific conditions exactly as you type them, which means you'd need to list out each variation like noreply@domain.comreceipts@domain.com, and so on, one by one.


You may be able to do something like this on a Mac, but I believe it would be a local rule, not applied on all devices automatically. In other words, it’d need to run from your Mac when it’s active.

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

iCloud Mail Rules - Is advanced syntax possible?

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.