markjrouse Posted December 5, 2014 Report Share Posted December 5, 2014 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 More sharing options...
admin Posted December 5, 2014 Report Share Posted December 5, 2014 Hi Mark, Have you tried group by host name? Link to comment Share on other sites More sharing options...
markjrouse Posted December 9, 2014 Author Report Share Posted December 9, 2014 Thanks for this. But I was hoping that there is some query syntax that I could use as part of a keyword list. So if as part of the processing tasks, I want all hits that match *@domain* to be tagged with a certain tag, then having that query syntax in my keyword list will help to automate the process. Link to comment Share on other sites More sharing options...
Chris Posted December 9, 2014 Report Share Posted December 9, 2014 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 More sharing options...
Recommended Posts