Memfilter email dengan aturan
Create mail rules that sort, label, and handle incoming mail automatically.
Rules run on the Aster server as each message arrives, so they work even when none of your devices are open.
Create a rule
- Go to Settings > Mail Rules.
- Click New rule. The editor opens with the title Create rule.
- Name the rule. Optional: Choose a Color.
- In When mail matches, choose all conditions or any condition.
- Click Add condition, choose what to match, and enter a value. Repeat for each condition.
- In Do this, click Add action, and choose what happens to matching mail. You can add more than one action.
- Click Save rule.
Conditions
A condition can check the sender, the To, Cc, or Bcc recipients, the Reply-To address, the subject, the body, a header, the List-ID, attachments and their names and sizes, the message size, the number of recipients, the date received, the spam score, whether the message is a reply or a forward, and the SPF, DKIM, and DMARC results. Depending on the field, you can match with is, contains, starts with, ends with, matches regex, matches domain, or a number comparison, and you can turn on Match case.
Match on an address instead of a display name, because senders can change their display name at any time.
Actions
A rule can move a message to a folder, apply labels, mark it as read or unread, star it, skip the inbox, delete it, pin it, snooze it, put it in a category, or change its notification.
Rules can’t forward mail or send automatic replies. To forward mail, use the Auto-Forward tab in Settings > Mail Rules. To reply while you’re away, see Set a vacation responder.
Start from a template
In Settings > Mail Rules, click Templates to choose from Rule templates. Adjust the template to fit your mail, and then save it.
Write a rule as an expression
To type conditions as text, switch from the Visual tab to the Expression tab. For example:
from.address is "alice@example.com" and subject contains "receipt"
If the expression isn’t valid, Aster shows an error and doesn’t save the rule.
How rules are applied
Aster checks rules in the order they appear in the list. To change the order, drag a rule. Every matching rule applies, so one rule can star a message while another moves it. Avoid two rules that move the same message to different folders.
Apply a rule to existing mail
Rules act only on mail that arrives after you save them. To apply a saved rule to mail you already have, open the rule from the list, and then select Apply to existing mail now.
The rule runs in the background and shows how many messages it scanned and updated. To end a run early, click Stop applying. The server can’t read some encrypted messages, so it skips them and tells you how many it skipped.
Manage your rules
To change a rule, select it in the list to open the editor. To remove a rule, open it, and then select Delete.
The Free plan includes 2 rules. Paid plans have no limit. When you reach the limit, Aster shows Mail rule limit reached. See Compare Aster plans. For every option in the rule editor, see Mail rules settings.
Troubleshooting
- The rule doesn’t act: Check that another rule higher in the list isn’t moving or deleting the message first.
- The rule matches too little: A rule set to all conditions acts only when every condition is true.
- Older mail isn’t sorted: Open the rule, and then select Apply to existing mail now.
Related articles
Apakah artikel ini membantu?