Mail server settings
The settings of the mail server of this installation are in Qubix settings → Maintenance → Mail. An administrator sees and changes them; Save writes the changes. The help note of the row — the question mark in the window — says: This installation's mail server: its name, who may connect (directly or only through your mail proxy) and the proxy addresses, receiving mail directly on this server, loading images from emails, the blocklist check key and the mail time zone. Save the server name and mail deploys itself shortly afterwards if your plan includes Mail. “Save” writes the changes; an administrator sees and changes these settings.
Mail runs on an installation only when both are true: the plan includes Mail, and Mail server name is set. While the name is empty, Mail stays down: it is paid for separately and takes several gigabytes of memory.
The settings
| Setting | What it does | Default |
|---|---|---|
| Mail server name | The name this server gives the world in every message, for example mail.example.com. Save the name and mail deploys itself shortly afterwards if your plan includes Mail | Empty |
| Mail time zone | The zone the mail server stamps on messages and writes its logs in, for example Europe/Moscow | UTC |
| Blocklist lookup key | Your key for the free Spamhaus query service. Without it the check goes to the public Spamhaus mirror, which refuses a query made through a public DNS server — then the Spamhaus line reads “could not check”, which is not the same as a sender being clean. SpamCop and Barracuda are checked without a key. The line that cannot be checked is marked could not check | Empty |
| Who may connect to mail | Who is allowed to open a connection to this server's mail ports: Directly — accept from anyone or Only through my mail proxy. In the proxy mode, only the proxy gets through: anything else is refused at once, before the secure connection begins | Directly |
| Mail proxy addresses | Addresses of the machine your mail goes through, separated by commas; a whole network works too, for example 203.0.113.0/24. Only those may deliver messages and accept mail clients when “only through my mail proxy” is chosen; that mode needs at least one address | Empty |
| Accept mail straight to this server | Needed only if your domain's MX record points here. If mail arrives through the mail proxy, leave it off | Off |
| Mailboxes one person can connect | How many external mailboxes one person can connect to Qubix. Each connection is a mail server job that fetches mail regularly. The installation's own limit from the plan applies separately | 20 |
| Days to keep mail backups | A backup of all mail is saved to this server's disk every day. Backups older than this are deleted; the newest successful backup is always kept | 7 |
| Delete expired backups when space runs short | When the room for a new backup runs short, first delete the backups older than the keeping period; the newest successful one stays. Off — such backups are deleted only after a successful new one | On |
| Allow loading pictures in mail | Off — pictures from the internet stay hidden in every message, and the button to show them is removed. On — each person decides: Ask in every message, Always show or Never show. See Pictures in messages | On |
What the screen says under each setting
The panel puts a short explanation under the name of each setting:
- Mail server name — The name this server gives the world in every message, for example mail.example.com. While it is empty, Mail is not brought up on this installation: it is paid for separately and takes several gigabytes of memory. Save the name and mail deploys itself shortly afterwards if your plan includes Mail.
- Mail time zone — The zone the mail server stamps on messages and writes its logs in, for example Europe/Moscow. UTC by default.
- Who may connect to mail — Who is allowed to open a connection to this server's mail ports. Anything arriving from anywhere else is refused immediately, before the secure connection even begins.
- Mail proxy addresses — Addresses of the machine your mail goes through. Only those may deliver messages and accept mail clients when "only through my mail proxy" is chosen. Separate several with commas; a whole network works too, for example 203.0.113.0/24.
- Accept mail straight to this server — Needed only if your domain's MX record points here. If mail arrives through the mail proxy, leave it off — then this port is not opened on the server at all.
- Mailboxes one person can connect — How many external mailboxes one person can connect to Qubix. Each connection is a mail server job that fetches mail regularly. The installation's own limit from the plan applies separately.
- Days to keep mail backups — A backup of all mail is saved to this server's disk every day. Backups older than this are deleted; the newest successful backup is always kept.
- Allow loading pictures in mail — Off — messages show no pictures from the internet and no button to show them. On — each person decides: a button in every message, always show, or never show. Pictures go out the way chosen under Protection → Outbound requests, and the sender learns the message was opened.
Limits of your plan
Mail is a separately paid part of the plan.
- Your plan can limit how many mailboxes the whole installation may hold. The mailboxes people have connected and the ones created on the company's own domains are counted together. When the number is reached, connecting a mailbox and creating a company mailbox are refused; disconnecting or deleting a mailbox frees a place.
- Each person may connect only so many mailboxes of their own: Mailboxes one person can connect.
- When Mail is outside the plan, what is already in Qubix can still be read and searched, and mailboxes can still be paused, disconnected and deleted. Connecting mailboxes, sending, saving drafts, attaching files, changing messages, creating company mailboxes, writing rules, adding aliases, switching on a catch-all address or giving it another mailbox, creating passwords for mail apps, adding mail domains, publishing their DNS records and connecting a way of sending are refused. Switching a catch-all address off and deleting it stay open.
Background jobs of Mail
The jobs are listed in Qubix settings → Services and jobs, where five jobs stand in the Mail section, which carries the note “A daily mail backup: the database, messages, encryption keys and spam filter data.” The other five jobs stand in the Domains and sites section (the mail DNS records, the sending routes and the hold queue), in the AI section (mail vectors) and in the Housekeeping section (attachments of unsent messages). Opening a job shows its schedule and last run; see Services and jobs.
| Job | What it does |
|---|---|
| Mail DNS records | Publishes the mail DNS records of the customer's own domains — see Mail domains |
| Mail backup | Every day backs up the mail database, the messages, their encryption keys and the spam filter's data to this server's disk |
| Mail log trimming | Every minute cuts the mail service logs down to the configured number of lines |
| Removed mailboxes cleanup | Every 30 minutes deletes the messages of removed mailboxes once five days have passed since removal |
| Mail full-text index | Every night at 00:00 in the mail time zone optimizes the full-text search index of every mailbox |
| Spam filter rules | Downloads the spam rules once a day and hands them to the spam filter; restarts the filter only when the rules change |
| Mail vectors | Prepares messages and attachments for search by words and meaning on this installation — see Searching mail |
| Attachments of unsent messages | Removes files attached to messages that waited longer than a day to be sent |
| Mail sending routes | Asks the delivery services and the domains' own VPS whether a domain's sending route is ready, and switches it on; completes the disconnection of routes that stayed attached after the first attempt — see How a domain's mail leaves |
| Mail hold queue | Holds mail a domain's sending route keeps refusing, and lets it go when the route takes mail again |