Sawmill
Download Sawmill 8.6.2
30 Days Free Trial
Home Products Downloads Purchase Support About About
Sawmill Sawmill

SAWMILLFORUM

Sawmill Discussion Forum

Subject: "Filtering by email recipient address"     Previous Topic | Next Topic
Printer-friendly copy    
Conferences Support Topic #4701
Reading Topic #4701
Analyzer
Member since May-10-13
3 posts
May-10-13, 01:10 AM (PDT)
Click to send private message to Analyzer Click to view user profileClick to add this user to your buddy list  
"Filtering by email recipient address"
 
  
I have a problem or misunderstanding when filtering by explicit recipient email address for Microsoft Exchange Server 2007/2010 Log Format (comma separated).

We generate daily recipient addresses reports, filtered by smtp-out connector id.

Let's say there is a recipient address "mail.address@example.com" with 24 mails sent.
I now want to see the sender addresses which sent to this email address. These 24 mails perfectly matches the Exchange Logfiles (checked manually).

When I generate a report, filtered by the explicit email address "mail.address@example.com" now there are 50 different recipient addresses and 87 mails - I expected only 1 recipient address due to filtering.

Results from command line and web GUI are the same.

Command line used:
Sawmill.exe -p mail_exchangeserver1 -a grf -rn single_page_summary -ghtd C:\outputdir -f "((date_time within '01/Jan/2013 __:__:__') and (connector_id matches 'SMTP-Out') and (recipient_address matches 'mail.address@example.com'))"


  Alert | IP Printer-friendly page | Edit | Reply | Reply With Quote | Top
SawmillSupportadmin
Member since Apr-12-13
2 posts
May-10-13, 01:35 PM (PDT)
Click to EMail SawmillSupport Click to send private message to SawmillSupport Click to add this user to your buddy list  
1. "RE: Filtering by email recipient address"
In response to message #0
 
   LAST EDITED ON May-10-13 AT 01:44 PM (PDT)
 
You used the "matches" operator for recipient_address which is meant to match a wildcard expression. To filter on an exact value, try using the "within" operator in the filter expression.

Sawmill.exe -p mail_exchangeserver1 -a grf -rn single_page_summary -ghtd C:\outputdir -f "((date_time within '01/Jan/2013 __:__:__') and (connector_id matches 'SMTP-Out') and (recipient_address within 'mail.address@example.com'))"

This should return only statistics for that address. However, I would expect that "matches" would still have filtered properly on a single address. Does "within" return proper results?


  Alert | IP Printer-friendly page | Edit | Reply | Reply With Quote | Top
Analyzer
Member since May-10-13
3 posts
May-13-13, 03:23 AM (PDT)
Click to send private message to Analyzer Click to view user profileClick to add this user to your buddy list  
2. "RE: Filtering by email recipient address"
In response to message #1
 
  
Unfortunately no difference.

I tried with both operators and some search patterns but either I got 0 matches or the known result with more matches than expected.

Following search patterns tested each with 'matches' and 'within' operator:

'mail*address*example*com'
'mail_address_example_com'
'mail.address_example.com'
'mail.address*example.com'


  Alert | IP Printer-friendly page | Edit | Reply | Reply With Quote | Top
Analyzer
Member since May-10-13
3 posts
Jun-06-13, 10:10 PM (PDT)
Click to send private message to Analyzer Click to view user profileClick to add this user to your buddy list  
3. "RE: Filtering by email recipient address"
In response to message #2
 
  
Solution:

After a database rebuild it's working as expected.


  Alert | IP Printer-friendly page | Edit | Reply | Reply With Quote | Top

Conferences | Topics | Previous Topic | Next Topic
© 2013 Flowerfire | Copyright | Privacy Policy | License Agreement | Terms of Use | Contact | Feedback | About
Sawmill Software
Sawmill Software
Back to Sawmill Home