Table of Contents

How Sonar Manages Spam Tickets

Jennifer Trower Updated by Jennifer Trower

Read Time: 5 mins

Sonar keeps suspected spam out of your Tickets tab automatically. Every email that comes into an inbound mailbox is given a spam score before it reaches Sonar, and that score decides what happens next. The email is either rejected, sent to the Spam tab without an auto-reply, or created as a normal ticket.

You control where those lines fall. Two spam score thresholds in your ticketing settings set the score at which an email is rejected and the score above which a new ticket is marked as spam. You can also mark or unmark tickets as spam yourself, resend an auto-reply to a ticket you’ve unmarked, and delete confirmed spam.

Permissions

Before getting started with the feature, your user roles will need to be adjusted to account for the permissions required to manage spam tickets and spam settings.

If you’re a Super Admin, you already have full access, and no changes are needed. To learn more, see the User Role Creation & Best Practices article.
Entity
Permission
Reason
Ticket
View all non-private tickets
See tickets in the Tickets and Spam tabs.
Ticket
Update a ticket
Mark or unmark tickets as spam and resend auto-replies.
Ticket
Delete a ticket
Delete tickets from the Spam tab.
Ticketing Settings
Update the ticketing settings.
Change the spam score thresholds.

How Spam Scoring Works

When someone emails one of your inbound mailboxes, the message passes through Sonar’s email processor before it reaches your instance. The email processor gives each message a spam score based on its contents. Sonar doesn’t calculate this score; it uses the score the email processor provides.

Sonar then compares that score to your two spam thresholds:

  1. Rejected: If the score is at or above your Minimum Spam Score to Reject an Email, the email is discarded. It never creates a ticket or updates an existing one.
  2. Reply to an existing ticket: If the email is a reply to an existing ticket and wasn’t rejected, it’s added to that ticket. Replies are only checked against the reject threshold.
  3. Marked as spam: If the email creates a new ticket and its score is above your Maximum Spam Score to Send an Auto-Reply, the ticket goes to the Spam tab, and no auto-reply is sent.
  4. Normal ticket: Otherwise, the ticket goes to the Tickets tab and receives an auto-reply if the inbound mailbox has auto-reply turned on.
An email that arrives without a spam score is treated as a score of 0, so it’s never rejected or marked as spam.

Adjusting the Spam Score Thresholds

Use these settings when too much spam is reaching your Tickets tab, or when legitimate email is being rejected or sent to the Spam tab.

  1. Navigate to Settings → Ticketing → General.
  2. Locate the Spam Filtering section, between Public Tickets and Ticket Resolution.
    The Ticketing General settings page, showing the Settings, Ticketing, Global breadcrumb, General selected in the left menu, and the Spam Filtering section between Public Tickets and Ticket Resolution.
  3. Enter your thresholds:
    1. Minimum Spam Score to Reject an Email: Inbound emails with a spam score at or above this value are discarded and never create or update a ticket.
    2. Maximum Spam Score to Send an Auto-Reply: New tickets created from inbound emails with a spam score above this value are marked as spam and don’t receive an auto-reply.
    The Spam Filtering section with Minimum Spam Score to Reject an Email set to 20 and Maximum Spam Score to Send an Auto-Reply set to 20, each with its helper text below.
  4. Click Save.

Both fields are set to 20 by default on new instances. Each must be a whole number of 0 or higher, and neither can be left blank.

Rejected emails are discarded before they reach Sonar and can’t be recovered. Setting the reject threshold too low can cause legitimate email from subscribers to be lost without a ticket ever being created.

The reject threshold must be greater than or equal to the auto-reply threshold. If you set the reject value lower, Sonar won’t save the change and shows an error under the field.

The Spam Filtering section with the reject threshold set to 5 and the auto-reply threshold set to 10, showing the error that the minimum spam score to reject an email must be greater than or equal to the maximum spam score to send an auto-reply.
When both thresholds are the same value, emails are either rejected or created as normal tickets, so nothing is sent to the Spam tab automatically. To have suspected spam held in the Spam tab for review instead, set the auto-reply threshold lower than the reject threshold.

Viewing Spam Within Sonar

Spam tickets are only visible in the Spam tab. They don’t appear anywhere else in your instance.

To view tickets that were automatically or manually marked as spam, navigate to Ticketing → Spam tab. A banner at the top of the tab reminds you that auto-replies weren’t sent to tickets automatically marked as spam.

The Tickets page with the Spam tab selected, showing the banner stating that auto-replies were not sent to tickets automatically marked as spam, and the search, filter, and export controls above the ticket list.

From here, you have two options:

  1. If the ticket isn’t spam, click Unmark As Spam. The ticket moves to the Tickets tab.
  2. If the ticket is spam and you want to remove it, click the drop arrow next to Unmark As Spam and select Delete.
If your role doesn’t have the Delete a ticket permission, you won’t see Delete as an option in the Spam tab.

How to Mark or Unmark Tickets as Spam

To mark a ticket as spam, open the Tickets tab, click the drop arrow next to Edit on the ticket, and select Mark As Spam. Confirm in the modal to move the ticket to the Spam tab.

To unmark a ticket, open the Spam tab and click Unmark As Spam on the ticket. Confirm in the modal, and the ticket moves back to the Tickets tab and is no longer treated as spam.

Resending an Auto Reply

A ticket that’s automatically marked as spam doesn’t receive an auto-reply, even if the inbound mailbox has auto-reply turned on. If you unmark a ticket, you can send the auto-reply then.

To resend the auto-reply, click the drop arrow next to Edit on the ticket and select Resend Auto Reply.

Resend Auto Reply is only available for tickets received through an inbound mailbox. It doesn’t appear on tickets created manually in your instance.
You can also resend the auto-reply from the ticket’s overview page.

Deleting Spam Tickets

If your role doesn’t have the Delete a ticket permission, you won’t see Delete as an option in the Spam tab.

Spam tickets stay in your instance until you delete them. Once you’ve confirmed a ticket in the Spam tab is spam, click the drop arrow next to Unmark As Spam and select Delete. Confirm in the modal, and the ticket is removed from your instance.

Need a hand?

Our Support Team is here to help

How did we do?

Exploring Ticket Groups

How to Integrate Inbound Mailboxes with Slack