Please visit the Lightspeed Systems Community Site for the latest documentation.
Access Keys:
Skip to content (Access Key - 0)








Search Lightspeed Systems Rocket

Navigation

Toggle Sidebar

Spam Filter Email Patterns

Skip to end of metadata
Go to start of metadata

Follow the steps below to add an email pattern.

  1. From the dashboard click Spam Filter.
  2. Under Polices click Email Patterns.
  3. Click Add Email Pattern. The following will be displayed.
  4. Enter a name for the email pattern.
  5. Enter a meaningful description.
  6. Set an action for the email pattern by selecting Allow or Block.
  7. Check (select) Allow user rules to override to let users override this pattern.
    Note
    If you do not enable this option then users will not be able to override the pattern in their spam summary emails or in the user console. In addition, a hold flag will be set on emails matching this pattern that will prevent users from forwarding these emails to themselves.
  8. Configure 1 to 4 rules for the pattern by following the steps below.
    1. From the dropdown list select one of the following rule types:
      • Attachment — This rule tests the name or partial name of attachments to the email item. This rule will be compared ONLY to the attachment file name. Wildcard characters ( * ) can be used in the string, such as "*viagra*", "*.EXE", or "*.ASF".
      • Email Body — This rule tests the text of the email body or message.
      • Email Subject — This is subject line text. This rule will be compared ONLY to the subject field of the Email item. Wildcard characters (*) can be used in the string, such as "*invest*" or "* purchase online*".
      • External IP Address — This is the IP address of the sending mail server. This rule will be compared ONLY to the external IP address field of the email item.
      • Hostname — This is the hostname of the sending email server. This rule is useful in evaluating email coming from server locations with non-static IP addresses.
      • Recipient Email Address — This is the recipient's address, or portions of an address, such as "I.HateSpam@OurUsd.k12.ca.us". This rule will be compared ONLY to the recipient field of the email item. Wildcard characters (*) can be used in the string, such as "*catchall*" or "Molly*@ourdomain.com".
      • Sender Email Address — This is the sender's address, or portions of an address, such as "J.Neebegood@SpamRus.org". This rule will be compared ONLY to the sender field of the email item. Wildcard characters (*) can be used in the string, such as "*.hotmail.com" or "*.click*".
      • URL — If the email item contains any embedded URLs, the URL can be tested by this rule. This rule will be compared ONLY to the embedded URLs. Text (non-linked) URLs will be ignored. Wildcard characters (*) can be used in the string, such as "*advert*", "*/index*" or "www.*hot*".
    2. Enter objects for rule to be performed on. For example, if you selected Email Subject you could enter "gambling". Separate multiple objects with commas. In addition, wildcards are supported.
    3. Repeat steps a and b to create up to 4 rules.
  9. From the dropdown lists select And or Or to determine how the Spam Filter module will evaluate how the rules will work together.
    Pattern with Multiple Rules Example
    In the following example Rules 1, 2, and 3 or Rule 4 must be true for the conditions of the pattern to be met.

    If Rule 4 is true then the conditions of the pattern will be met regardless if Rule 1, 2, or 3 is true or false. On the other hand, if Rule 4 is false then Rules 1, 2, and 3 must all be true for the conditions of the pattern to be met.
  10. Click Save.

How the Spam Filter Resolves Pattern Conflicts

If the Spam Filter detects conflicts between email patterns it will evaluate them in the following order:

  1. Non-overridable allow email pattern
  2. Non-overridable block email pattern
  3. User allow
  4. User block
  5. Allow email pattern
  6. Block email pattern

Please note allows take priority over blocks for each rule type.

  1. Aug 16, 2013

    Roger Kresge says:

    The Spam Filter does not support an IP Address Range option as a whitelist entry...

    The Spam Filter does not support an IP Address Range option as a whitelist entry, just an IP address. However, LS support has told me you may be able to enter an IP address range using this tool:

    http://support.google.com/bin/answer.py?hl=en&answer=1034771&rd=1

    So in my case I needed to whitelist an address range like 10.10.10.1-10.10.10.254. The Google tool created this entry, that I plugged in as an External IP Address in Rule #1 of the Email Pattern:

    ^10\.10\.10\.([1-9]|[1-9][0-9]|1([0-9][0-9])|2([0-4][0-9]|5[0-4]))$

    Having said that, the ability to configure an IP address range is really needed.

Adaptavist Theme Builder Powered by Atlassian Confluence