This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
faq:email:global_mail_rules_configuration [2019/12/30 10:52] – ziyu | faq:email:global_mail_rules_configuration [2022/12/15 11:48] (current) – [Examples] vikki | ||
---|---|---|---|
Line 1: | Line 1: | ||
+ | [[: | ||
+ | |||
====== Global Email Rules ====== | ====== Global Email Rules ====== | ||
\\ | \\ | ||
- | The **Global Email Rules** is for the administrator to further refine their email traffic. It is applicable | + | The **Global Email Rules** is for the administrator to further refine their email traffic. It is applicable |
- | 1. You have to login as an Avomaster/ | + | |
- | 2. Referring to the image below, go to **(1)Admin icon on the top section -> (2)Global Email Rules on the left side -> (3)Make any important edits on this section -> (4)Update button to save the edits**. | + | |
- | {{faq: | + | |
- | ==== Rules syntax | + | ===== Accessing Global Email Rules ===== |
- | * Each line is a rule. A rule may contains wild card like those used by the Bourne shell.\\ | + | |
+ | 1. You have to login as an Avomaster/ | ||
+ | |||
+ | 2. Referring to the image below, go to **Profile** -> **Admin**. | ||
+ | |||
+ | |{{: | ||
+ | |||
+ | 3. Click on **Global Email Rules** from the left panel. | ||
+ | |||
+ | |{{: | ||
+ | |||
+ | 4. At the Mail Rules page, add in the required rules in the provided field and click **Update** to save the edits. | ||
+ | |||
+ | |{{: | ||
+ | |||
+ | 5. The " | ||
+ | |||
+ | |{{: | ||
+ | |||
+ | -------- | ||
+ | |||
+ | ===== Rules Syntax ===== | ||
+ | * Each line is a rule. A rule may contains wild card like those used by the Bourne shell. | ||
* Each rule is prefix with an action, like this: **[// | * Each rule is prefix with an action, like this: **[// | ||
- | ==== Examples ==== | + | -------- |
+ | |||
+ | ===== Examples | ||
The following will allow all email from yahoo.com to get pass: | The following will allow all email from yahoo.com to get pass: | ||
pass *@yahoo.com | pass *@yahoo.com | ||
- | Note that the " | + | Note that the " |
The following will mark all emails from somedomain.com as Junk: | The following will mark all emails from somedomain.com as Junk: | ||
Line 24: | Line 47: | ||
The following will reject (stop delivery) of all email coming from hotmail domain. | The following will reject (stop delivery) of all email coming from hotmail domain. | ||
block *@hotmail.* | block *@hotmail.* | ||
- | Note that the * at the end will basically block all hotmail domain including:\\ | + | Note that the * at the end will basically block all hotmail domain including: hotmail.com, |
- | hotmail.com, | + | |
+ | The following will reject (stop delivery) incoming mails from the domain xyz.com, including its subdomain (like shop.xyz.com, | ||
+ | block *.xyz.com | ||
The following will allow one person vip@domain.com to pass the rule: | The following will allow one person vip@domain.com to pass the rule: | ||
Line 31: | Line 56: | ||
junk *@domain.com | junk *@domain.com | ||
This would basically block all other email from domain.com other than vip@domain.com.\\ | This would basically block all other email from domain.com other than vip@domain.com.\\ | ||
- | However, pay attention that the pass rule must place before the junk (or reject) rule, or else it will not work this way.\\ | + | However, pay attention that the pass rule must place before the junk (or reject) rule, or else it will not work this way. |
Action tags available: | Action tags available: | ||
- | **pass** Let the email pass. The Junk ranking will set to 0.\\ | + | **pass**: Let the email pass. The Junk ranking will set to 0.\\ |
- | **reject** (or block) Reject the email, not going into the delivery system.\\ | + | **reject** (or block): Reject the email, not going into the delivery system.\\ |
- | **junk** Deliver the email, with Junk rank set as 5 at least. | + | **junk**: Deliver the email, with Junk rank set as 5 at least. |
+ | |||
+ | **<color # | ||
+ | * Global mail rules take priority over junk ranking and spam filtering system. So if an email passed the rules, it will not be scanned and tagged with junk ranking.\\ | ||
+ | * The rules are processed line by line, from top to bottom. E.g. if you want to block the entire .co top level domain but wish to pass emails from somedomain.co, | ||
+ | |||
+ | -------- | ||
+ | |||
+ | ===== Rules Testing ===== | ||
+ | To check if the rule is correctly inserted, you can utilize the Test Rules Mail section to test it. Enter an email address that would respond to the rule, and click on the **Test** button. | ||
+ | |||
+ | |{{: | ||
+ | |||
+ | If the result is **" | ||
+ | |||
+ | |{{: | ||
+ | |||
+ | If the result is **" | ||
+ | |||
+ | |{{: | ||
+ | |||
+ | Likewise, if the result is **" | ||
- | Mail rules take priority over junk ranking and spam filtering system. So if an email passed the rules, it will not be scanned and tagged with junk ranking.\\ | + | |{{:faq:email: |