跳到主要内容

Mail server settings

The settings of the mail server of this installation are in Qubix 设置 → 维护 → 邮件. An administrator sees and changes them; 保存 writes the changes. The help note of the row — the question mark in the window — says: 此安装的邮件服务器:它的名称、允许谁连接(直接连接,或仅通过您的邮件代理连接)以及代理地址、直接在此服务器上接收邮件、加载邮件中的图片、黑名单检查密钥和邮件时区。保存服务器名称后,邮件功能会在不久后自行部署,前提是您的套餐包含邮件功能。「保存」会写入更改;管理员可以查看和更改这些设置。

Mail runs on an installation only when both are true: the plan includes Mail, and 邮件服务器名称 is set. While the name is empty, Mail stays down: it is paid for separately and takes several gigabytes of memory.

The settings​

SettingWhat it doesDefault
邮件服务器名称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 MailEmpty
邮件时区The zone the mail server stamps on messages and writes its logs in, for example Europe/MoscowUTC
黑名单查询密钥您用于免费 Spamhaus 查询服务的密钥。没有它时,查询会发往 Spamhaus 的公共镜像,而该镜像会拒绝经公共 DNS 服务器发来的查询——此时 Spamhaus 一行显示“无法检查”,这与发件人是干净的并不是一回事。SpamCop 和 Barracuda 无需密钥即可检查。 The line that cannot be checked is marked 无法检查Empty
谁可以连接到邮件服务Who is allowed to open a connection to this server's mail ports: 直接连接——接受任何人 or 仅通过我的邮件代理. In the proxy mode, only the proxy gets through: anything else is refused at once, before the secure connection beginsDirectly
邮件代理地址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 addressEmpty
直接向此服务器接收邮件Needed only if your domain's MX record points here. If mail arrives through the mail proxy, leave it offOff
每人可连接的邮箱数量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 separately20
邮件备份保留天数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 kept7
空间不足时删除已过期的备份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 oneOn
允许加载邮件中的图片Off — pictures from the internet stay hidden in every message, and the button to show them is removed. On — each person decides: 每封邮件都询问, 始终显示 or 始终不显示. See Pictures in messagesOn

What the screen says under each setting​

The panel puts a short explanation under the name of each setting:

  • 邮件服务器名称 — 此服务器在每封邮件中对外使用的名称,例如 mail.example.com。在它为空时,此安装上不会启动邮件功能:该功能需单独付费,并占用数 GB 内存。保存名称后,邮件功能会在不久后自行部署,前提是您的套餐包含邮件功能。
  • 邮件时区 — 邮件服务器在邮件上标注并用于写入日志的时区,例如 Europe/Moscow。默认为 UTC。
  • 谁可以连接到邮件服务 — 谁可以向此服务器的邮件端口建立连接。来自其他任何地方的连接都会被立即拒绝,甚至在安全连接开始之前。
  • 邮件代理地址 — 您的邮件所经过的机器的地址。当选择「仅通过我的邮件代理」时,只有这些地址可以投递邮件和接受邮件客户端。多个地址用逗号分隔;也可以填整个网段,例如 203.0.113.0/24。
  • 直接向此服务器接收邮件 — 仅当您域名的 MX 记录指向这里时才需要。如果邮件是经由邮件代理到达的,请保持关闭——这样该端口在服务器上根本不会被打开。
  • 每人可连接的邮箱数量 — 每人可以将多少个外部邮箱连接到 Qubix。每个连接都是邮件服务器的一项任务,会定期收取邮件。套餐为此安装本身设定的上限另行适用。
  • 邮件备份保留天数 — 每天都会把全部邮件复制一份,存入此服务器的磁盘。早于此期限的副本会被删除;最近一次成功的副本始终保留。
  • 允许加载邮件中的图片 — 关——邮件不会显示来自互联网的图片,也没有显示图片的按钮。开——由每个人自己决定:每封邮件中有一个按钮,或始终显示,或始终不显示。图片按「防护」→「出站请求」中选择的路径加载,发件人会得知邮件已被打开。

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: 每人可连接的邮箱数量.
  • 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 设置 → 服务和任务, 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.

JobWhat it does
Mail DNS recordsPublishes the mail DNS records of the customer's own domains — see Mail domains
Mail backupEvery day backs up the mail database, the messages, their encryption keys and the spam filter's data to this server's disk
Mail log trimmingEvery minute cuts the mail service logs down to the configured number of lines
Removed mailboxes cleanupEvery 30 minutes deletes the messages of removed mailboxes once five days have passed since removal
Mail full-text indexEvery night at 00:00 in the mail time zone optimizes the full-text search index of every mailbox
Spam filter rulesDownloads the spam rules once a day and hands them to the spam filter; restarts the filter only when the rules change
Mail vectorsPrepares messages and attachments for search by words and meaning on this installation — see Searching mail
Attachments of unsent messagesRemoves files attached to messages that waited longer than a day to be sent
Mail sending routesAsks 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 queueHolds mail a domain's sending route keeps refusing, and lets it go when the route takes mail again

What's next​