Select Categories

Run Custom Log Search

March 13, 2024

In the Admin or Domain Level Control Panel, search incoming or outgoing logs by selecting Incoming > Logs

Query Rules Panel

The Query Rules panel allows you to customise your search filters. The default query rule for the Log Search is the Timestamp rule.

Use the shortcuts beneath the Timestamp filter to quickly select results from Yesterday, the Last week and Last month.

Run Custom Log Search | Picture 1
Step 1 - Click on + New rule and select from the filter options available:
Run Custom Log Search | Picture 2

The Query Rules are constructed of three parts:

  • The part of the message/metadata you are looking for - Select from the first dropdown in the Query Rules panel
  • The type of match e.g. contains, does not start with etc. - Select from the second dropdown in the Query Rules panel
  • The content you are trying to match

All query rule possibilities and types
 
Message Part Match Type Content
Message ID
  • Contains
  • Does Not Contain
  • Equals
  • Does Not Equal
  • Starts With
  • Ends With
  • Matches
  • Does Not Match
Text box; enter Message ID to search for
Filtering Host
  • Contains
  • Does Not Contain
  • Equals
  • Does Not Equal
  • Starts With
  • Ends With
  • Matches
  • Does Not Match
Text box; enter Filtering Host to search for
Timestamp
  • On
  • Before
  • After
  • Between
  • Previous
Date and time selector
Sender
  • Contains
  • Does Not Contain
  • Equals
  • Does Not Equal
  • Starts With
  • Ends With
  • Matches
  • Does Not Match
Text box; enter Sender address to search for
Recipient
  • Contains
  • Does Not Contain
  • Equals
  • Does Not Equal
  • Starts With
  • Ends With
  • Matches
  • Does Not Match
Text box; enter Recipient address to search for
Sender Hostname
  • Contains
  • Does Not Contain
  • Equals
  • Does Not Equal
  • Starts With
  • Ends With
  • Matches
  • Does Not Match
Text box; enter Sender Hostname to search for
Sender IP
  • Matches
  • Contains
  • Does Not Contain
  • Equals
  • Does Not Equal
  • Starts With
  • Ends With
Text box; enter Sender IP to search for
Sender Location
  • Is
  • Is Not

Text box; begin typing a country to see a list of pre-populated locations or type:

  • Anonymous Proxy
  • Satellite provider
Bytes Received
  • Equals
  • Does Not Equal
  • Greater Than
  • Less Than
  • Greater Than Or Equals
  • Less Than Or Equals
Text box; enter number of bytes to search for
Bytes Sent
  • Equals
  • Does Not Equal
  • Greater Than
  • Less Than
  • Greater Than Or Equals
  • Less Than Or Equals
Text box; enter number of bytes to search for
Main Class
  • Is One Of
  • Is Not One Of
  • Matches
  • Does Not Match

Text box; begin typing a message class or click to see a pre-populated list of suggestions split into:

  • Good Mail
    • Not Spam
    • Allow listed
    • False-positive
  • Bad Mail
    • Block listed
    • False-negative
    • Phish
    • Virus
    • Spam
    • Locked
  • Other
    • Greylist
    • Unsure
    • Unknown
    • Error
Sub Class
  • Contains
  • Does Not Contain
  • Equals
  • Does Not Equal
  • Starts With
  • Ends With
  • Matches
  • Does Not Match
Text box; enter the Sub Class of a message to search for
Extra Class
  • Contains
  • Does Not Contain
  • Equals
  • Does Not Equal
  • Starts With
  • Ends With
  • Matches
  • Does Not Match
  • Greater Than
  • Less Than
  • Greater Than Or Equals
  • Less Than Or Equals
Text box; enter Extra Class to search for
Error Class
  • Contains
  • Does Not Contain
  • Equals
  • Does Not Equal
  • Starts With
  • Ends With
  • Matches
  • Does Not Match
Text box; enter Error Class to search for
From
  • Contains
  • Does Not Contain
  • Equals
  • Does Not Equal
  • Starts With
  • Ends With
  • Matches
  • Does Not Match
Text box; enter From address to search for
To
  • Contains
  • Does Not Contain
  • Equals
  • Does Not Equal
  • Starts With
  • Ends With
  • Matches
  • Does Not Match
Text box; enter To address to search for
CC
  • Contains
  • Does Not Contain
  • Equals
  • Does Not Equal
  • Starts With
  • Ends With
  • Matches
  • Does Not Match
Text box; enter CC addresses to search for
Subject
  • Contains
  • Does Not Contain
  • Equals
  • Does Not Equal
  • Starts With
  • Ends With
  • Matches
  • Does Not Match
Text box; enter Subject to search for
Original Message ID
  • Contains
  • Does Not Contain
  • Equals
  • Does Not Equal
  • Starts With
  • Ends With
  • Matches
  • Does Not Match
Text box; enter the Original Message ID to search for
Status
  • Is One Of
  • Is Not One Of
  • Matches
  • Does Not Match

Text box; begin typing a message Status or click to see a pre-populated list of suggestions split into:

  • Accepted
    • Auto Released
    • Blackholed
    • Delivered
    • Delivery Failed
    • Quarantine Removed
    • Quarantine Expored
    • Quarantined
    • Queue Bounced
    • Bounced
    • Queue Expired
    • Queue Removed
    • Queued
    • Queued Frozen
    • Released
  • Not Accepted
    • Not Accepted
    • Rejected
Delivery Date
  • On
  • Before
  • After
  • Between
  • Previous
Date and time selector
Delivery IP
  • Matches
  • Contains
  • Does Not Contain
  • Equals
  • Does Not Equal
  • Starts With
  • Ends With
Text box; enter Delivery IP address to search for
Delivery Hostname
  • Contains
  • Does Not Contain
  • Equals
  • Does Not Equal
  • Starts With
  • Ends With
  • Matches
  • Does Not Match
Text box; enter Delivery Hostname to search for
Delivery Port
  • Equals
  • Does Not Equal
  • Greater Than
  • Less Than
  • Greater Than Or Equals
  • Less Than Or Equals
Text box; enter Delivery Port to search for
Delivery Data
  • Contains
  • Does Not Contain
  • Equals
  • Does Not Equal
  • Starts With
  • Ends With
  • Matches
  • Does Not Match
Text box; enter Delivery Data to search for
Delivery Interface
  • Matches
  • Contains
  • Does Not Contain
  • Equals
  • Does Not Equal
  • Starts With
  • Ends With
Text box; enter Delivery Interface to search for


Step 2 - If you wish, you can use the Quick select shortcuts provided e.g. Accepted; Not accepted.

Quick select options differ depending on the query rule selected, so check the options below the rule to see what is available at that time.
Step 3 - Once you have added the rules, use the Customise dropdown to select the fields you want displayed in the search results.
Run Custom Log Search | Picture 3

There are many options available, with the most useful choices outside of the defaults being:

  • Sub Class - Why the message was given the Main Class that it was assigned to the message. For example, if the message was classed as Spam, the Sub Class may be DNSBL (DNS Block listed).
  • Extra Class - The detail on why the Main Class and Sub Class were assigned to the message. For example, if the message was classed as Spam, the Sub Class may be DNSBL (DNS Block listed), so the Extra Class will provide the DNS Block list in question.
  • Delivery Data - Shows the destination mail server's most recent response to the filtering server's attempt to deliver. For example, if a message is accepted by the filter but can't be found in the recipient's Inbox, this field will show if the message was delivered to the destination mail server or not.
Step 4 -  You may also choose to display a summary row at the bottom of the table
Run Custom Log Search | Picture 4

There are three options available for this:

  • None - this will disable the summary row so nothing will be displayed
  • Total - this will display a row at the bottom of the table which will calculate the total of any columns containing number values such as Bytes Sent and Bytes Received
Run Custom Log Search | Picture 5
  • Average - this will display a row at the bottom of the table which will calculate the average of any columns containing number values such as Bytes Sent and Bytes Received
Run Custom Log Search | Picture 6

Step 5 -  Use the Group results by: dropdown and select from the list if you want to group the results by category. For example, to group the results by sender, select Sender

Step 6 - Once you have specified your filters, click on Show Results to run the search and display the results at the bottom of the page

For any inquiries or if you encounter any issues, please feel free to reach out to us via email at support@newpages.com.my or through WhatsApp at 010-799 1461 (David).

Tags:
Spam Expert

Related Article: