Skip to content
Nederlands

Blocklist

The blocklist allows you to prevent specific email addresses or entire domains from creating tickets. Emails from blocked senders still create tickets, but they’re marked as Spam and hidden from customers.

Access: Settings → Email → Email blocklist
Route: /admin/mail/blocklist
Permissions: Admin only

The Settings hub is accessible via the gear icon in the navigation rail.

  1. Before ticket creation, the sender of an email that would start a new ticket is checked against the blocklist
  2. If blocked:
    • Ticket created with status = Spam
    • Ticket hidden from all requesters (not visible in portal)
    • No requester account is created for blocked senders
    • No new-ticket alert to agents and no notice or acknowledgement to the sender
  3. If not blocked:
    • Normal ticket creation process

Replies on existing tickets are not affected by the blocklist.

Characteristics:

  • Status = Spam
  • Invisible to all requesters
  • Visible to agents in the queue (when filtering by status “Spam”)

Agent actions:

  • Can view spam tickets
  • Can select tickets and click Not spam (moves them to Open), or Mark as spam on other tickets
  • Cannot manually delete spam tickets

Automatic cleanup:

  • Daily job (tickets:delete-spam) permanently deletes tickets that have been Spam for at least 7 days
  • Keeps database clean

Example: spammer@example.com

Effect:

  • Exact match only
  • Blocks spammer@example.com
  • Does not block other@example.com

Use case: Block a specific sender who’s abusing your system

Example: @spam-domain.com (entered with @ prefix)

Effect:

  • Matches any email ending with @spam-domain.com
  • Blocks anyone@spam-domain.com, user@spam-domain.com, etc.
  • Does not block user@subdomain.spam-domain.com (must block subdomain separately if needed)
  • A domain must contain a dot (e.g. @example.com)

Note: Domains are entered with the @ prefix in the blocklist form.

Use case: Block an entire spam domain

  1. Go to Settings → Email → Email blocklist (/admin/mail/blocklist)
  2. In the Block sender field, enter:
    • For specific email: spammer@example.com
    • For domain: @spam-domain.com (with @ prefix)
  3. Click Add

Validation:

  • Must be an email address or a domain starting with @
  • Entries are stored in lowercase; duplicates are refused (“… is already on the blocklist.”)
  • The system mailbox and its domain cannot be blocked
  • Staff email addresses cannot be blocked

Each entry shows:

  • Address or domain
  • Added by: Admin who added it
  • Date added
  1. Find entry in the blocklist
  2. Click Remove
  3. Confirm the prompt “Remove … from the blocklist?”

Effect:

  • Future emails from this sender/domain will create normal tickets
  • Past spam tickets remain spam (not retroactively changed)
  1. Go to Queue
  2. Change status filter to Spam
  3. View spam tickets

If a legitimate email was marked as spam:

  1. Open the spam ticket and change its status to Open (or select it in the Spam view and click Not spam)
  2. The ticket is no longer deleted automatically
  3. Requesters can see it if it has a requester account linked
  4. Consider removing sender from blocklist

Blocking entire domains can have unintended consequences:

  • Risk: Legitimate customers using the same domain
  • Better: Block specific addresses unless domain is clearly spam-only

Monthly review:

  1. Check entries for outdated blocks
  2. Remove temporary blocks that are no longer needed
  3. Verify blocks are still necessary

Blocklist is reactive (blocks known senders):

  • Supplement with email server spam filters
  • Use Microsoft 365 spam/phishing protection
  • Train agents to recognize and mark spam

When a blocked sender emails, no requester account is created:

  1. If domain matches an organization:

    • Spam ticket created in that organization
    • Linked to the sender’s existing account, if there is one
  2. If domain doesn’t match:

    • Spam ticket created in the “Unmatched senders” holding organization

Note: Blocking does not deactivate an existing account; that user can still sign in.

If a blocked sender becomes legitimate:

  1. Remove from blocklist
  2. Change past spam tickets to normal status (if appropriate, before they are deleted)
  3. Create or move the requester account in the correct organization (admin action)

Blocklist:

  • Creates spam tickets (hidden from customers)
  • Specific addresses/domains
  • Admin-managed list

Disable Email Intake (Workflow settings):

  • Prevents all new tickets by email, from any sender
  • Sends a notice pointing to the portal (once per sender per day)
  • No tickets created

Use blocklist for: Spam/abuse from specific sources
Disable intake for: Accepting new requests through the portal only

Table: blocked_senders

Columns:

  • address (exact address or @domain, lowercase)
  • created_by (foreign key to admin user)
  • created_at, updated_at

Matching logic:

  • Email addresses matched exactly (case-insensitive)
  • Domains matched on the full part after @ (case-insensitive, no subdomains)

Check:

  1. Is entry in blocklist correct?
    • Email: full address including @domain.com
    • Domain: @domain.com with the @ prefix
  2. Is the email a reply on an existing ticket? (replies are not blocked)
  3. Are tickets marked as Spam? (blocking works: blocked senders still get a ticket, as Spam)

Solution: Review blocklist entry format.

Possible causes:

  1. Domain or email mistakenly added to blocklist
  2. Similar domain (typo) in blocklist

Solution:

  1. Remove from blocklist
  2. Change spam ticket(s) to normal status
  3. Notify customer if needed

Back to Documentation