Trustwave and Cybereason Merge to Form Global MDR Powerhouse for Unparalleled Cybersecurity Value. Learn More

Trustwave and Cybereason Merge to Form Global MDR Powerhouse for Unparalleled Cybersecurity Value. Learn More

Services
Managed Detection & Response

Eliminate active threats with 24/7 threat detection, investigation, and response.

Co-Managed SOC (SIEM)

Maximize your SIEM investment, stop alert fatigue, and enhance your team with hybrid security operations support.

Advisory & Diagnostics

Advance your cybersecurity program and get expert guidance where you need it most.

Penetration Testing

Test your physical locations and IT infrastructure to shore up weaknesses before exploitation.

Database Security

Prevent unauthorized access and exceed compliance requirements.

Email Security

Stop email threats others miss and secure your organization against the #1 ransomware attack vector.

Digital Forensics & Incident Response

Prepare for the inevitable with 24/7 global breach response in-region and available on-site.

Firewall & Technology Management

Mitigate risk of a cyberattack with 24/7 incident and health monitoring and the latest threat intelligence.

Solutions
BY TOPIC
Microsoft Security
Unlock the full power of Microsoft Security
Offensive Security
Solutions to maximize your security ROI
Rapidly Secure New Environments
Security for rapid response situations
Securing the Cloud
Safely navigate and stay protected
Securing the IoT Landscape
Test, monitor and secure network objects
Why Trustwave
About Us
Awards and Accolades
Trustwave SpiderLabs Team
Trustwave Fusion Security Operations Platform
Trustwave Security Colony
Partners
Technology Alliance Partners
Key alliances who align and support our ecosystem of security offerings
Trustwave PartnerOne Program
Join forces with Trustwave to protect against the most advance cybersecurity threats
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.X, 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
.