Mail server settings
The settings of the mail server of this installation are in Cài đặt Qubix → Bảo trì → Thư. An administrator sees and changes them; Lưu writes the changes. The help note of the row — the question mark in the window — says: Máy chủ thư của bản cài đặt này: tên của nó, ai được phép kết nối (trực tiếp hoặc chỉ qua proxy thư của bạn) và các địa chỉ proxy, nhận thư trực tiếp trên máy chủ này, tải hình ảnh từ email, khóa kiểm tra danh sách chặn và múi giờ của thư. Lưu tên máy chủ và thư sẽ tự được triển khai không lâu sau đó nếu gói của bạn bao gồm Thư. “Lưu” sẽ ghi các thay đổi; quản trị viên xem và thay đổi các cài đặt này.
Mail runs on an installation only when both are true: the plan includes Mail, and Tên máy chủ thư 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 |
|---|---|---|
| Tên máy chủ thư | 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 |
| Múi giờ của thư | The zone the mail server stamps on messages and writes its logs in, for example Europe/Moscow | UTC |
| Khóa tra cứu danh sách chặn | Khóa của bạn cho dịch vụ truy vấn Spamhaus miễn phí. Khi không có khóa, việc kiểm tra đi tới bản sao công khai của Spamhaus, nơi từ chối truy vấn đi qua máy chủ DNS công khai — khi đó dòng Spamhaus hiển thị «không kiểm tra được», điều này không đồng nghĩa với việc người gửi sạch. SpamCop và Barracuda được kiểm tra mà không cần khóa. The line that cannot be checked is marked không kiểm tra được | Empty |
| Ai được phép kết nối tới thư | Who is allowed to open a connection to this server's mail ports: Trực tiếp — chấp nhận từ bất kỳ ai or Chỉ qua proxy thư của tôi. In the proxy mode, only the proxy gets through: anything else is refused at once, before the secure connection begins | Directly |
| Địa chỉ proxy thư | 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 |
| Nhận thư trực tiếp tại máy chủ này | Needed only if your domain's MX record points here. If mail arrives through the mail proxy, leave it off | Off |
| Số hộp thư một người có thể kết nối | 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 |
| Số ngày giữ bản sao lưu thư | 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 |
| Xóa các bản sao lưu đã hết hạn khi thiếu dung lượng | 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 |
| Cho phép tải hình ảnh trong thư | Off — pictures from the internet stay hidden in every message, and the button to show them is removed. On — each person decides: Hỏi trong mỗi thư, Luôn hiển thị or Không bao giờ hiển thị. See Pictures in messages | On |
What the screen says under each setting
The panel puts a short explanation under the name of each setting:
- Tên máy chủ thư — Tên mà máy chủ này tự giới thiệu với thế giới bên ngoài trong mỗi thư, ví dụ mail.example.com. Khi để trống, Thư sẽ không được khởi động trên bản cài đặt này: đây là tính năng trả phí riêng và chiếm vài gigabyte bộ nhớ. Lưu tên và thư sẽ tự được triển khai không lâu sau đó nếu gói của bạn bao gồm Thư.
- Múi giờ của thư — Múi giờ mà máy chủ thư đóng dấu lên các thư và dùng để ghi nhật ký, ví dụ Europe/Moscow. Mặc định là UTC.
- Ai được phép kết nối tới thư — Ai được phép mở kết nối tới các cổng thư của máy chủ này. Mọi thứ đến từ nơi khác đều bị từ chối ngay lập tức, thậm chí trước khi kết nối an toàn bắt đầu.
- Địa chỉ proxy thư — Địa chỉ của máy mà thư của bạn đi qua. Khi chọn «chỉ qua proxy thư của tôi», chỉ các địa chỉ đó mới được chuyển thư và tiếp nhận các ứng dụng khách thư. Phân tách nhiều địa chỉ bằng dấu phẩy; có thể nhập cả một dải mạng, ví dụ 203.0.113.0/24.
- Nhận thư trực tiếp tại máy chủ này — Chỉ cần khi bản ghi MX của tên miền của bạn trỏ về đây. Nếu thư đến qua proxy thư, hãy để tắt — khi đó cổng này hoàn toàn không được mở trên máy chủ.
- Số hộp thư một người có thể kết nối — Số hộp thư bên ngoài mà một người có thể kết nối với Qubix. Mỗi kết nối là một tác vụ của máy chủ thư, định kỳ tải thư về. Giới hạn riêng của bản cài đặt theo gói được áp dụng độc lập.
- Số ngày giữ bản sao lưu thư — Mỗi ngày, một bản sao của toàn bộ thư được lưu vào đĩa của máy chủ này. Các bản sao cũ hơn thời hạn này sẽ bị xóa; bản sao thành công mới nhất luôn được giữ lại.
- Cho phép tải hình ảnh trong thư — Tắt — thư không hiển thị hình ảnh từ internet và không có nút để hiển thị chúng. Bật — mỗi người tự quyết định: nút trong mỗi thư, luôn hiển thị, hoặc không bao giờ hiển thị. Hình ảnh được tải theo cách đã chọn trong Bảo vệ → Yêu cầu ra ngoài, và người gửi biết được rằng thư đã được mở.
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: Số hộp thư một người có thể kết nối.
- 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 Cài đặt Qubix → Dịch vụ và tác vụ, 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 |