Jump to content

Search For all Emails with a specific domain


markjrouse

Recommended Posts

Hi,

 

I'm trying to find a way to search emails that have senders and receivers from a specific domain, or variations of a domain, using a wildcard.  So for example, @domain* would return @domain.com or @domain-support.net.

 

I've tried agent:@domain* but it doesn't seem to work.

 

I'm wondering if there is a specific search syntax I could use to add to a keyword list.

Link to comment
Share on other sites

Hello Mark,

 

I would use the following query:

 

*@domain*

 

I.e., a wildcard at the start as well. The reason for this is that the text indexer recognizes email addresses and registers them as a single "word" in the index.

 

The host name itself is also turned into an index term, so this also works:

 

agent:domain

 

but using the former is probably safer, especially when the domain has special characters like -

Link to comment
Share on other sites

×
×
  • Create New...