User Tools

Site Tools


faq:email:global_mail_rules_configuration

Home > FAQ > Email > General > Global Email Rules

Global Email Rules


The Global Email Rules is for the administrator to further refine their email traffic. It is applicable to incoming emails, where you can determine which sender's emails are always allowed and which sender's emails should be blocked.

Accessing Global Email Rules

1. You have to login as an Avomaster/VOadmin in order manage these mail rules.

2. Referring to the image below, go to ProfileAdmin.

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 “Updated” message will be shown when the changes are successfully saved.


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: [action] [space] [rule] [cr]

Examples

The following will allow all email from yahoo.com to get pass:

 pass *@yahoo.com

Note that the “*” sign is very important here.

The following will mark all emails from somedomain.com as Junk:

 junk *@somedomain.com

The following will reject (stop delivery) incoming mails from an email address.

 block someone@somedomain.com

The following will reject (stop delivery) of all email coming from hotmail domain.

 block *@hotmail.*

Note that the * at the end will basically block all hotmail domain including: hotmail.com, hotmail.net or hotmail.cc

The following will reject (stop delivery) incoming mails from the domain xyz.com, including its subdomain (like shop.xyz.com, alert.xyz.com):

 block *.xyz.com

The following will allow one person vip@domain.com to pass the rule:

 pass vip@domain.com
 junk *@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.

Action tags available:
pass: Let the email pass. The Junk ranking will set to 0.
reject (or block): Reject the email, not going into the delivery system.
junk: Deliver the email, with Junk rank set as 5 at least.

Note:

  • 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, the line pass *@somedomain.co must be inserted before the block *.co line.

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 “pass”, it means incoming emails from this email address will be accepted and enter your Inbox.

If the result is “block”, it means all emails that is sent from this email address will be rejected.

Likewise, if the result is “junk”, it implies that incoming emails from this email address will be moved to the Junk folder.

faq/email/global_mail_rules_configuration.txt · Last modified: 2022/12/15 11:48 by vikki