Features

Everything a small mail system needs, and nothing it does not

SAInbox was written to do one job properly: hold the mail of several hosted domains on a server you own, and let both a browser and a desktop client read it.

Protocols

Mail protocols written from scratch

No third-party mail library, so the behaviour is known end to end and there is nothing to license or patch separately.

Listeners in the mail service, and the clients they serve
ProtocolDefault portEncryptedWhat it does
POP3110995Serves the inbox. Deleting a message moves it to Trash rather than destroying it.
IMAP143993All folders with flags, so a desktop client sees the same view as the website.
SMTP587465Submission with mandatory authentication, a copy kept in Sent, then relayed to your provider.
POP3 / IMAP clientproviderNone, SSL, STARTTLSCollects mail from Gmail, Yahoo, Zoho or your hosting account.

Encryption is chosen per domain, per mailbox and per listener. If a listener is set to TLS but no certificate is configured, it refuses to start rather than running unencrypted.

mail / reading pane
Message list with a reading pane showing the selected message and its attachment
Storage

Every message in two places

A row in SQL Server holds the index - owner, folder, sender, subject, size, flags and the path. A real .eml file holds the message itself. Attachments are never stripped, so the .eml opens in Outlook with its attachments intact.

  • Mirror, database only or disk only, switchable without moving a single message
  • Age-based archive releases the database copy and keeps the file
  • Live usage meter against the 10 GB Express limit, per user
  • Duplicate detection by content hash and Message-ID, with Skip, Keep or Keep and flag
Protection

Junk control that is easy to explain to a user

Six things to match on

Sender address, sender domain, subject, message body, attachment name and attachment extension. One dropdown and one line of text per entry.

Allow beats block

An allowed sender always arrives, so one line fixes a wrongly blocked address. Blocked mail is moved to Junk, never deleted.

File filters by default

Twenty-one dangerous extensions - exe, bat, cmd, scr, vbs, ps1, msi, jar and more - are blocked for every mailbox when the database is created.

Common lists, per domain

The administrator keeps lists that apply to every mailbox, optionally limited to one domain. A user's own entries layer on top of them.

Applied where mail arrives

The filter runs on mail delivered here and on mail fetched from a host, before the user's rules, so a rule cannot pull junk back into the inbox.

Honest about limits

Name-based filtering stops the common malware carriers. It is not an anti-virus, and the documentation says so rather than implying otherwise.

Editions

Three editions, because two customers want different things

A company whose mail lives at a hosting company and a school that never writes outside its own building are not buying the same product. The licence says which one you are, and how many domains and mailboxes of each kind you may hold.

Full

Hosted domains: a provider is contacted, mail is fetched and relayed. For a company whose mail lives at a hosting company or a public provider, and which writes to customers and suppliers.

Local

Local domains only: every message stays on your server and nothing outside the network is contacted. For a school, a hospital, a factory or a society that needs internal mail and nothing else.

Both

Hosted and local domains side by side on one server. The common case once an organisation wants internal mail for its own people and a real domain for the outside world.

Counted separately, priced separately

  • Hosted domains and hosted mailboxes are one allowance
  • Local domains and local mailboxes are another
  • A customer buying hosted mail does not pay for local domains it will never create
  • A school buying local mail does not pay for hosted mailboxes it cannot use

A limit that is actually a limit

  • The Domains screen refuses a domain beyond the allowance
  • The Users screen refuses a mailbox beyond it
  • Each refusal names the limit and what to do about it
  • Changing edition is a new key - the server, the database and every message stay where they are
Sending

Sending that can be proved, and a fetch that finishes

The two things that go wrong in a self-hosted mail system are a relay that refuses quietly and a fetch that reports nothing. Both are answered here, in words a person can act on.

The relay's own receipt

  • Every accepted message keeps the provider's line - 250 ... queued as ... - and shows it as "relay said"
  • That id is what the provider needs to trace a message that did not arrive
  • Every attempt is logged: time, relay, port, encryption, result
  • A sent message can never look the same as a dropped one

Three tests, three questions

  • Test in - can the stored settings read this mailbox?
  • Test out - will the relay accept a message from it? It offers a sender and a recipient, then resets, so nothing is sent
  • Test login - what does the provider say about the host, port, user name and password currently in the form? It saves nothing
  • Each answer names the step that failed, in about two seconds

Several messages at once

  • Four sends in parallel by default, capped at eight
  • 300 queued messages drain in 10 minutes instead of 40
  • A manual fetch sweeps the whole mailbox, so older mail is never skipped
  • The waiting box counts messages, real size and seconds, then closes itself

Told when it cannot be sent

  • A delay per mailbox - 24 hours by default, 0 for never
  • The notice arrives in the sender's own Inbox, from MAILER-DAEMON, with the reason and what to do
  • It is delivered inside the server, so it arrives even when the relay is down
  • A red "not sent" count sits in the status strip until it is dealt with

Forwarding keeps its attachments

  • Fwd: opens with the original's files already attached, as chips you can remove
  • The server copies them from the stored message - nothing is downloaded and uploaded again
  • Forward all fills To and Cc with everyone who received it the first time
  • A reply quotes the message being answered, not every message that shares its subject

Every connection, live

  • One line per provider: fetching now, done, failed, last error
  • A table of every SMTP connection open at that instant - mailbox, relay, recipients, size, elapsed
  • A panel of the numbers from the message table, so a restarted site never looks broken
  • Send queue and channels agree, because both count the same thing
Day to day

What the user actually gets

Reading and organising

  • Folders and subfolders, created by the user
  • Drag a message onto a folder to move it
  • Reading pane beside or below the list, resizable
  • Sortable, resizable columns, remembered per user
  • A folder shows its own mail only, never its children's

Writing

  • Formatting toolbar, signatures, attachments
  • Reply and Reply all carry the whole conversation
  • Drafts, undo send, and a copy to yourself
  • Print any message, or open it on its own page
  • Every message rendered in an isolated frame, so broken formatting cannot disturb the page

Rules and vacation

  • Rules on sender, subject or recipient
  • File into any folder, mark read, flag or delete
  • Run the rules over mail that is already there
  • Out-of-office replies with a date range and a forward copy

Contacts and calendar

  • Personal address book with CSV import
  • Automatic completion while composing
  • Month calendar with reminders
  • Export to .ics for Outlook or Google Calendar
New in this release

What arrived after the first version

Each of these came from a customer asking for it, and each works without a single page reload.

Undo a delete

  • Deleting moves a message to Trash, and the note line offers Undo for eight seconds
  • One click puts it back where it was - no digging through Trash
  • Bulk deletes undo together

Snooze a conversation

  • Hide a message until this evening, tomorrow 09:00 or next week
  • It disappears from the folder and comes back by itself - no timer to fail
  • The folder count never includes what the folder does not show

Conversation view

  • One row per thread, with the number of messages beside it
  • One click opens the newest message and unfolds the rest
  • Opened threads stay open, and the choice is remembered per user

Drafts you can finish

  • Click a draft in the Drafts folder and it opens in the composer
  • Recipients, subject, body and its attachments come with it
  • Saving again updates the same draft; sending removes it from Drafts

Many files in one upload

  • One browse control, as many files as you like
  • Each file listed with its size, and the running total underneath
  • 25 MB per file and 100 MB per message, checked before anything is sent

A daily digest to the administrator

  • One mail a day: received, sent, waiting, failed, mailboxes, domains
  • Delivered inside the server, so it arrives even when the relay does not
  • A sentence when something needs a person, and the hour is yours to set

A read-only auditor

  • A third role beside User and Admin
  • Can read, search and export; cannot send, delete, move or change anything
  • Refused at the service layer, not on the screen, so a new page cannot open a hole

Performance, on one screen

  • Eight indexes for a large installation, created with one button
  • Database size, row counts, and which indexes are missing
  • How much runs at once: fetches, sends, queue batch, messages per fetch
Administration

One administrator, many domains

What the administrator controls, and where
AreaWhat can be set
DomainsProvider host, port and encryption per domain, delivery mode, delete policy, quota
MailboxesCreate, edit, reset a password, per-user overrides, quotas, landing page, open Sent after sending
Mail serviceWhich listeners open, on which ports, TLS certificates, the scheduled pass, heartbeat and port test
StorageMode, path, archive window, usage, write missing disk copies, backfill
Spam filterCommon block and allow lists, optionally limited to one domain, and the file-block repair
DatabaseSchema report with a Run this script button per missing script, backup and setup
ReportsMail flow, per-domain and per-mailbox figures, CSV export, print to PDF
LicencePublic key and licence key, term and limits, all from the browser
Audit copies

Keep a copy of everything a domain handles

A catch-all rule says: for this domain, when mail goes in this direction, keep a copy in that mailbox. The usual arrangement is two rules - in@ for what arrives and out@ for what leaves - and one rule can watch both. It is the record an organisation reaches for after the fact: who wrote to us, who we wrote to, what was said.

Per domain, per direction

Incoming, outgoing, or both. A rule for a domain wins over the “every domain” fallback, so one global rule can watch everything without being repeated.

A real mailbox, not a log file

Copies are ordinary messages in the mailbox you choose - they open, print, download and list their attachments. The subject is prefixed [in] or [out] so the reader knows which side of the conversation it is.

Cannot become a leak

A rule cannot point at a mailbox in another domain, and a copy is never caught again - otherwise two rules would copy each other for ever.

What a catch-all can see - and what it cannot

SituationResult
Mail fetched from your providerCopied
Mail between two of your own mailboxesCopied (as incoming)
Mail sent out, once the relay accepts itCopied
Mail addressed to the archive address from outsideNot copied - the address does not exist at your host
Mail the host filtered as spamNever reaches SAInbox
Mail already in the mailboxes before the ruleNot copied - there is no backfill
An address at the host is not created by this. Your MX record points at your provider, so only the provider can accept a new address. A catch-all copies what SAInbox sees, and nothing else.
Every copy is a full message. Two rules on a busy domain roughly triple what that domain occupies. Worth watching on SQL Server Express, which stops at 10 GB.
Before you connect a public mailbox

Gmail, Yahoo and Outlook have their own security

A public provider is stricter than a hosting account, and it is not negotiable. These four points have each caught a real installation - read them before typing anything.

An app password, not your password

Gmail, Yahoo, AOL, iCloud and Fastmail refuse the normal account password. Turn on two-step verification, create an app password, and paste that - with or without the spaces it is printed with.

Gmail needs IMAP switched on

Settings, See all settings, Forwarding and POP/IMAP. Until that is enabled the mailbox refuses every client, whatever the password.

Outlook.com needs modern sign-in

Outlook.com, Hotmail and Microsoft 365 require OAuth2, which SAInbox does not implement. Those accounts are refused however the settings are entered - use the domain's own mail host instead.

One wrong password, one attempt

A rejected password is tried once and then fails for good. Retrying it cannot help, and a stream of failed sign-ins is exactly what providers lock accounts for.

If a provider does lock the account. Stop the queue first - every retry makes the lock last longer. Recover from the computer and network you normally use, change the account password (which revokes every app password), create a fresh one, and test with a single message to yourself. Never test with a queue.

Questions the feature list does not answer?

Ask about your own setup: the domains, the provider, and how many mailboxes.