Jump to content


Photo

What is the correct Syntax for Advanced Search between two mailboxes

Advanced search

Best Answer Martin Bignell, 17 October 2019 - 08:44 AM

Hi Eric

To search exclusively for mails between two mailboxes this is likely best achieved via keyword expression:
https://campus.barra...rd-expressions/

 

the syntax would be along the lines of 
 

Email > Keyword Expression > matches > to:("Mailbox1" OR "Mailbox2") AND

Email > Keyword Expression > matches > from:("Mailbox1" OR "Mailbox2")

 

Where Mailbox1 and Mailbox2 are the email addresses for the mailboxes in question.

This will find mails between the two mailboxes using the From/To/CC fields, but not BCC.

It will also show messages where either Mailbox1 or Mailbox2 are includes in a distribution list in those fields due to group expansion.

Go to the full post


  • Please log in to reply
1 reply to this topic

#1 Eric Torres

Eric Torres
  • Members
  • 1 posts

Posted 17 October 2019 - 08:15 AM

I am new New to Barracuda and I am trying to search mail to and from two mailboxes and I keep getting results from other users that I do not want.

 

What is the correct search criteria to display mail between two users only?

 

ie: search all mail to and from user1@domain1.com and user2@domain1.com



#2 Martin Bignell

Martin Bignell
  • Barracuda Team Members
  • 6 posts

Posted 17 October 2019 - 08:44 AM   Best Answer

Hi Eric

To search exclusively for mails between two mailboxes this is likely best achieved via keyword expression:
https://campus.barra...rd-expressions/

 

the syntax would be along the lines of 
 

Email > Keyword Expression > matches > to:("Mailbox1" OR "Mailbox2") AND

Email > Keyword Expression > matches > from:("Mailbox1" OR "Mailbox2")

 

Where Mailbox1 and Mailbox2 are the email addresses for the mailboxes in question.

This will find mails between the two mailboxes using the From/To/CC fields, but not BCC.

It will also show messages where either Mailbox1 or Mailbox2 are includes in a distribution list in those fields due to group expansion.


Martin Bignell
Lead Support Engineer – Message Archiver