Archive Extra Search Query

for G Suite Office 365

 

Question

We have created some users with search restriction conditions on HENNGE Email Archive. Aside from the "Search Period Allowed" condition and the "Search Address Allowed" condition,  what is the "Extra Search Query" field for?

 

Answer

Below are some examples of settings that can be made using the Extra Search Query field.

For reference on basic search restrictions: How can I restrict users so they can only search for specific email addresses?

 

Example 1
Condition : Allow to search only for emails with files attached.
・Value in Extra Search Query :

(file "true")

Example 2
Condition : Exclude CEO members from being included in the allowed search range (taro@hde.co.jp, jiro@hde.co.jp, sabu@hde.co.jp) 
・Value in Extra Search Query :

(NOT
(OR
(rcpt_to (IN "taro@hde.co.jp" "jiro@hde.co.jp" "sabu@hde.co.jp"))
(to (IN "taro@hde.co.jp" "jiro@hde.co.jp" "sabu@hde.co.jp"))
(cc (IN "taro@hde.co.jp" "jiro@hde.co.jp" "sabu@hde.co.jp"))
(from (IN "taro@hde.co.jp" "jiro@hde.co.jp" "sabu@hde.co.jp"))
(mail_from (IN "taro@hde.co.jp" "jiro@hde.co.jp" "sabu@hde.co.jp"))))

Example 3
Condition : Allow to search only for emails that "user@hde.co.jp" has sent out to and received from external sources
・Value in Extra Search Query :

(OR (AND (rcpt_to "user@hde.co.jp") (mail_from (NE "@hde.co.jp")))
(AND (mail_from "user@hde.co.jp") (rcpt_to (NE "@hde.co.jp"))))

Example 4
Requirement : Allow to search only for emails that "user@hde.co.jp" has sent out to and received from external sources that have attached files. 
・Value in Extra Search Query

(AND (file "true")
(OR (AND (rcpt_to "user@hde.co.jp") (mail_from (NE "@hde.co.jp")))
(AND (mail_from "user@hde.co.jp") (rcpt_to (NE "@hde.co.jp")))))

【Precautions】
Note that if the Extra Search Query is being set with complicated multiple search restrictions, it may take the search engine longer to produce a result. We recommend you to keep the Extra Search Query simple.

If you have other special requirements, please contact our Success Guide.

 

          
Was this article helpful?

Frequently Asked Questions (FAQs)

Powered by Zendesk