メインコンテンツまでスキップ

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
1ユーザーが接続できるメールボックス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。空の間は、このインストールでメールは起動されません: メールは別料金で、数ギガバイトのメモリを使います。名前を保存すると、メールはまもなく自動的に導入されます。ただし、ご利用のプランにメールが含まれている場合に限ります。
  • メールのタイムゾーン — メールサーバーがメッセージに付与し、ログに記録するタイムゾーンです。たとえば Europe/Moscow。デフォルトは UTC です。
  • メールに接続できる相手 — このサーバーのメールポートへの接続を開くことが許可される相手です。それ以外から届いたものは、セキュア接続が始まる前に即座に拒否されます。
  • メールプロキシのアドレス — メールが経由するマシンのアドレスです。「自分のメールプロキシ経由のみ」が選択されている場合、メッセージの配送とメールクライアントの受け付けができるのは、これらだけです。複数ある場合はカンマで区切ってください。ネットワーク全体も指定できます。たとえば 203.0.113.0/24。
  • このサーバーでメールを直接受信する — ドメインの MX レコードがこのサーバーを指している場合にのみ必要です。メールがメールプロキシ経由で届く場合は、オフのままにしてください — その場合、このポートはサーバーでまったく開かれません。
  • 1ユーザーが接続できるメールボックス — 1ユーザーが 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: 1ユーザーが接続できるメールボックス.
  • 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​