Skip to main content

LevelBlue Completes Acquisition of Cybereason.  Learn More

LevelBlue Completes Acquisition of Cybereason.  Learn More

Services
Cyber Advisory
Managed Cloud Security
Data Security
Managed Detection & Response
Email Security
Managed Network Infrastructure Security
Exposure Management
Security Operations Platforms
Incident Readiness & Response
SpiderLabs Threat Intelligence
Solutions
BY TOPIC
Offensive Security
Solutions to maximize your security ROI
Operational Technology
End-to-end OT security
Microsoft Security
Unlock the full power of Microsoft Security
Securing the IoT Landscape
Test, monitor and secure network objects
Why LevelBlue
About Us
Awards and Accolades
LevelBlue SpiderLabs
LevelBlue Security Operations Platforms
Security Colony
Partners
Microsoft Security
Unlock the full power of Microsoft Security
Technology Alliance Partners
Key alliances who align and support our ecosystem of security offerings
Loading...
Loading...

HOWTO: Create "AND" condition rules

Expand / Collapse


This article applies to:

  • Trustwave MailMarshal (SEG)
  • Trustwave ECM/MailMarshal Exchange 

Question:

  • How do I create a rule that checks for an email address that exists in two groups?
  • How do I set up a boolean AND for MailMarshal rule conditions? 

Background:

MailMarshal rules allow you to match multiple user groups in the same condition. The matching uses an OR condition. So if an email address is found in ANY of the groups, the condition matches.

Sometimes you may want to use an AND condition. You may want to match only an address that is found in BOTH of two groups.

Procedure:

You can apply AND conditions by using two rules, with MailMarshal's "pass to rule" action.

For example, suppose you want to use a special archive folder to save a copy of any messages addressed to people who are managers in the sales area. You have a user group for Managers, and a user group for Sales. You want to save the messages that are addressed to people who are in both these groups.

You could use the following rules:

Standard Rule: Check for Managers
Skip over the next rule if the mail isn't addressed to a manager
When a message arrives
Where message is incoming
    Except where addressed to 'Managers'
Pass the message on and skip the next rule

Standard Rule: Copy mail to Sales Managers archive
Copies all email to sales managers into the special archive
When a message arrives
Where message is incoming

Where addressed to 'Sales'
Copy the message to 'Sales Managers Archive'
And pass message to the next rule for processing.

...Any additional rules...

  • The first rule checks whether the message is addressed to a member of the Managers group. If not, MailMarshal will skip the next rule.
  • The second rule will only apply for email addressed to the Managers group. This rule does a second check to find whether the message is addressed to a member of the Sales group, and takes action.

Notes:

  • You can use similar logic with the other MailMarshal rule conditions.
  • In MailMarshal (SEG) 10.0 and above, TextCensor and Category rule conditions provide the option for Boolean AND in a single rule.

To contact Trustwave about this article or to request support:


Rate this Article:
     

Add Your Comments


Comment submission is disabled for anonymous users.
Please send feedback to Trustwave Technical Support or the Webmaster
.