Advanced Rules Help

Back to the Table of Contents top of page
Advanced Rules
Advanced Rules (BasicUserInfo.aspx/AdvancedRulesDG.aspx)
You cannot change the rule number (order) of rules or their triggers and actions from Web Admin. This can ONLY be done from the MailMax Admin at the server level.

Back to the Table of Contents top of page
Add a New Rule
Advanced Rules (AdvancedRulesDG.aspx)

Enter the name of the rule you are adding. This can be anything that you like that describes the type of rule created.

Back to the Table of Contents top of page
Trigger Conditions
Advanced Rules (AdvancedRulesDG.aspx)
Add Trigger:
Rule Triggers are also known as Rule Conditions. For a rule to be "active" and have its actions take place, ALL of the conditions of the rule must be met.

Select the Trigger Type:
  • Message Size: This trigger is based on the total size of the e-mail,including the headers, any attachments of the message and footers / signatures of the message. The data field for this trigger is a number, which is in Bytes.
  • Date: This is based on the date of arrival, not in internal header "date". The data field for this header should be in MM/DD/YYYY format
  • Day of the Week: This is based on the day the message arrives, not the internal header date. It ranges from Sunday to Saturday. There is a pull down list for the data on this trigger.
  • Time of Message: This is based on the time the message arrives, not the internal header date. The data field for this trigger should be in HH:MM:SS format
  • Message Header: This is based on a text comparison of one of the "header" lines at the top of the e-mail message. The most common headers to use here would be From or Subject. The data field for this trigger is a "free text" field. Note:No colon should be used when defining the header lines.
  • Message Body: This will trigger on the given word, phrase or regular expression any where in the body part of the message, that is to say it will not trigger on a text in a header. The data field of this trigger is "free text" and may be in any format
  • Message Text: This will trigger on the given word, phrase or regular expression any where in the e-mail, (header or body part of the message). The data field of this trigger is "free text" and may be in any format
  • Attachment File name: This will trigger if the given word, phrase or regular expression is found in any file attached to the e-mail. The message must be "MIME" encoded for this option to have any meaning.
  • Any Message: This will be true on all messages that are processed by this rule. If a higher priority rule (lower number) cause the message to be discarded or to not process any more rules, this trigger will NOT take effect.
  • Command Line Program: This can only be selected by System or Domain level admins and only for System or Domain level rules.
  • File Attachment type: This will search the file names of all attached files. This is based on the extension of the file, not the MIME sub type. The data field for this trigger is free text, however it should only be the extension, with out the leading period, (i.e. EXE not .EXE)


    >> Click here to view help on selecting which comparison type to use.

Back to the Table of Contents top of page
Select which Comparison Type to Use
Advanced Rules (AdvancedRulesDG.aspx)

<< Back
to Trigger Conditions



Keep in mind that not all Trigger types have access to all Comparisons.

Note that "Any Message" and "Command Line Program" No Comparison (they will show as "Equals") and that "Attachment File Type" can only have "equals".
  • Equals This really only has meaning in "Attachment File Type" or "Day of the Week". It is legal, however not logical, for Date, Time and Size
  • Does Not Equals This really only has meaning in "Day of the Week". It is legal, however not logical, for Date, Time and Size
  • Is Less Than This can be used in Date, Time, Size, Day of Week. Please note that in Day of the Week Sunday has the lowest value and Saturday has the highest
  • Is Greater Than This can be used in Date, Time, Size, Day of Week. Please note that in Day of the Week Sunday has the lowest value and Saturday has the highest
  • Is Less Than or Equal to This can be used in Date, Time, Size, Day of Week. Please note that in Day of the Week Sunday has the lowest value and Saturday has the highest
  • Is Greater Than or Equal to This can be used in Date, Time, Size, Day of Week. Please note that in Day of the Week Sunday has the lowest value and Saturday has the highest
  • Contains This is a case insensitive text Comparisons. It in fact is a Regular expression following the Microsoft standard for this. Note that a Contains data value of fred would match against e-mail text of freddy. If this is not what you want use "Contains Exactly"
  • Does Not Contain This is a case insensitive text Comparisons. It is the inverse of Contains.
  • Exists This only has meaning in "Header". If the header is found, with any value, it is true.
  • Is Missing This only has meaning in "Header". If the header is not found, with any value, it is true.
  • Contains Exactly" This is a special case of contains. In this case the data value of fred would not match against e-mail text of freddy.

Back to the Table of Contents top of page
Triggered Actions
Advanced Rules (AdvancedRulesDG.aspx)
Add Action:
The triggered action(s) will be executed in the order they are in. If a message is discarded or rules are set to stop processing, all other actions below will NOT execute and no other rules will execute for that message.

Select an Action:
  • Stop Rules This will cause the system to not process any more rules for this message.
  • Store Message This will cause the message to be saved. If the data field is not blank, it will be stored in that IMAP mailbox. If you do not also select discard message, you will get two copies of the message, one in the INBOX, one in the selected mail box, even if that mail box is INBOX or blank. Please note that POP3 can only read the INBOX mailbox.
  • Forward Message This will cause the message to be forwarded to the e-mail address given. It will not discard the message.
  • Discard Message This will discard the message and stop all rules processing on that e-mail. Please be careful with this option.
  • Discard File Attachment This will cause all attached files to the message to be removed.
  • Send Autoresponder : Text This will cause an e-mail message to be sent to the sender of the message being processed, using the data supplied. The message text will be as given in the rule data and has a maximum size of 255 characters.
  • Send Autoresponder : File This will cause an e-mail message to be sent to the sender of the message being processed, using the data supplied, however the message text will be provided by a file in the user directory. This will require action by the System Administrator, as users normally don't have access to this.
  • Send Message To Self This will cause an e-mail to be sent to the user, using the data provided. Please note that this type of message does NOT have rules run against it.
  • Run Command Line Program This can only be used by the Domain or System admin and only on System or Domain rules.