Blocklist
Overview
Section titled “Overview”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.
How the Blocklist Works
Section titled “How the Blocklist Works”When Email Arrives
Section titled “When Email Arrives”- Before ticket creation, the sender of an email that would start a new ticket is checked against the blocklist
- 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
- If not blocked:
- Normal ticket creation process
Replies on existing tickets are not affected by the blocklist.
Spam Tickets
Section titled “Spam Tickets”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
Blocking Entries
Section titled “Blocking Entries”Block an Email Address
Section titled “Block an Email Address”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
Block a Domain
Section titled “Block a Domain”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
Adding to Blocklist
Section titled “Adding to Blocklist”Via Admin Panel
Section titled “Via Admin Panel”- Go to Settings → Email → Email blocklist (
/admin/mail/blocklist) - In the Block sender field, enter:
- For specific email:
spammer@example.com - For domain:
@spam-domain.com(with@prefix)
- For specific email:
- 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
Blocklist Entries
Section titled “Blocklist Entries”Each entry shows:
- Address or domain
- Added by: Admin who added it
- Date added
Removing from Blocklist
Section titled “Removing from Blocklist”- Find entry in the blocklist
- Click Remove
- 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)
Viewing Spam Tickets
Section titled “Viewing Spam Tickets”In Ticket Queue
Section titled “In Ticket Queue”- Go to Queue
- Change status filter to Spam
- View spam tickets
Handling False Positives
Section titled “Handling False Positives”If a legitimate email was marked as spam:
- Open the spam ticket and change its status to Open (or select it in the Spam view and click Not spam)
- The ticket is no longer deleted automatically
- Requesters can see it if it has a requester account linked
- Consider removing sender from blocklist
Best Practices
Section titled “Best Practices”Use Domain Blocking Sparingly
Section titled “Use Domain Blocking Sparingly”Blocking entire domains can have unintended consequences:
- Risk: Legitimate customers using the same domain
- Better: Block specific addresses unless domain is clearly spam-only
Review Blocklist Periodically
Section titled “Review Blocklist Periodically”Monthly review:
- Check entries for outdated blocks
- Remove temporary blocks that are no longer needed
- Verify blocks are still necessary
Don’t Rely Solely on Blocklist
Section titled “Don’t Rely Solely on Blocklist”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
Integration with Organizations
Section titled “Integration with Organizations”Blocked Sender Accounts
Section titled “Blocked Sender Accounts”When a blocked sender emails, no requester account is created:
-
If domain matches an organization:
- Spam ticket created in that organization
- Linked to the sender’s existing account, if there is one
-
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.
Changing Requester Organization
Section titled “Changing Requester Organization”If a blocked sender becomes legitimate:
- Remove from blocklist
- Change past spam tickets to normal status (if appropriate, before they are deleted)
- Create or move the requester account in the correct organization (admin action)
Blocklist vs. Workflow Email Intake
Section titled “Blocklist vs. Workflow Email Intake”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
Database Storage
Section titled “Database Storage”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)
Troubleshooting
Section titled “Troubleshooting”Blocked sender still creating tickets
Section titled “Blocked sender still creating tickets”Check:
- Is entry in blocklist correct?
- Email: full address including
@domain.com - Domain:
@domain.comwith the@prefix
- Email: full address including
- Is the email a reply on an existing ticket? (replies are not blocked)
- Are tickets marked as Spam? (blocking works: blocked senders still get a ticket, as Spam)
Solution: Review blocklist entry format.
Legitimate email marked as spam
Section titled “Legitimate email marked as spam”Possible causes:
- Domain or email mistakenly added to blocklist
- Similar domain (typo) in blocklist
Solution:
- Remove from blocklist
- Change spam ticket(s) to normal status
- Notify customer if needed
Related Topics
Section titled “Related Topics”- Email Settings - Microsoft Graph configuration
- Workflow Settings - Email intake toggle
- Ticket Statuses - Understanding spam status