# Tài liệu Cloudfly VMail

Hướng dẫn sử dụng dịch vụ thư điện tử Cloudfly: quản trị tên miền, hộp thư, lọc thư rác,
và gửi thư qua API hoặc SMTP. Nguồn tiếng Việt là bản gốc; bản tiếng Anh là bản dịch.

Toàn văn: https://docs-vmail.cloudfly.vn/vi/llms-full.txt · https://docs-vmail.cloudfly.vn/en/llms-full.txt

Mọi trang đều có bản Markdown thô: thêm `.md` vào cuối đường dẫn.

## Tiếng Việt (/vi)

### Nền tảng

- [Tài liệu Cloudfly VMail](https://docs-vmail.cloudfly.vn/vi.md): Hướng dẫn sử dụng dịch vụ thư điện tử Cloudfly cho quản trị viên - thiết lập tên miền, tạo hộp thư, lọc thư rác và gửi thư từ ứng dụng.
- [Xác minh quyền sở hữu tên miền](https://docs-vmail.cloudfly.vn/vi/platform/verify-domain.md): Bước đầu tiên của cả bốn dịch vụ. Cắm một bản ghi TXT để chứng minh bạn sở hữu tên miền, và biết tên miền của bạn đến từ đâu.
- [Đọc trang Tổng quan của từng dịch vụ](https://docs-vmail.cloudfly.vn/vi/platform/read-dashboard.md): Phân biệt số của cả tài khoản với số của một tên miền, đọc đúng bộ chọn khoảng thời gian, và hiểu vì sao mọi số có thể đang bằng 0.

### Hộp thư

- [Cấu hình bốn bản ghi DNS cho thư](https://docs-vmail.cloudfly.vn/vi/email-business/dns-records.md): Cắm MX, SPF, DKIM và DMARC theo đúng giá trị bảng điều khiển hiển thị, để tên miền của bạn gửi và nhận thư được bình thường.
- [Tạo hộp thư đầu tiên](https://docs-vmail.cloudfly.vn/vi/email-business/create-mailbox.md): Tạo tài khoản thư cho nhân viên, hiểu ba con số hạn mức trên trang Người dùng và xử lý khi hệ thống báo vượt quá dung lượng khả dụng.
- [Cấp quyền quản trị cho người khác](https://docs-vmail.cloudfly.vn/vi/email-business/grant-admin.md): Cấp quyền quản trị viên cho một hộp thư đã có trong tên miền, để người đó quản lý tài khoản và cấu hình thay bạn.
- [Đặt lại mật khẩu cho một hộp thư](https://docs-vmail.cloudfly.vn/vi/email-business/reset-password.md): Đặt mật khẩu mới cho nhân viên quên mật khẩu, và biết trước điều gì xảy ra khi tài khoản đó là chủ sở hữu tên miền.
- [Đổi dung lượng một hộp thư đã tạo](https://docs-vmail.cloudfly.vn/vi/email-business/set-quota.md): Tăng hoặc giảm dung lượng hộp thư có sẵn, lấy lại phần dung lượng thừa cho hộp thư khác, và tránh đặt mức thấp hơn phần đang dùng.
- [Cấu hình Outlook và điện thoại](https://docs-vmail.cloudfly.vn/vi/email-business/mail-app-setup.md): Lấy đúng thông số máy chủ thư đến và thư đi, chọn giữa IMAP và POP3, và tránh lỗi đăng nhập hay gặp nhất khi cấu hình ứng dụng thư.
- [Chuyển thư cũ từ nhà cung cấp khác sang](https://docs-vmail.cloudfly.vn/vi/email-business/import-mail.md): Kéo toàn bộ thư từ Gmail, Outlook hay máy chủ cũ vào hộp thư mới bằng IMAP, chọn đúng giữa nhập một tài khoản và migration hàng loạt.
- [Chặn hoặc tin cậy người gửi ở cổng thư](https://docs-vmail.cloudfly.vn/vi/email-business/gateway-filters.md): Dùng danh sách tin cậy và danh sách chặn của Email Business, xem hàng đợi thư kẹt, và phân biệt màn hình này với màn hình cùng tên của Email Security.
- [Theo dõi dung lượng toàn tên miền](https://docs-vmail.cloudfly.vn/vi/email-business/storage.md): Đọc màn hình Quản lý bộ nhớ để biết dung lượng đang chia tới đâu, ai sắp đầy, và ai đã vượt hạn mức nên ngừng nhận thư.
- [Đổi logo và tên miền webmail riêng](https://docs-vmail.cloudfly.vn/vi/email-business/branding.md): Thay logo và favicon của giao diện webmail, và trỏ một tên miền riêng của công ty làm địa chỉ nhân viên gõ vào mỗi sáng.
- [Tạo mẫu thư dùng chung cho cả công ty](https://docs-vmail.cloudfly.vn/vi/email-business/templates.md): Soạn sẵn các mẫu thư chuẩn để nhân viên chèn nhanh khi viết mail, kèm biến tự điền tên người nhận và ngày tháng.
- [Quản lý danh bạ và tệp đính kèm](https://docs-vmail.cloudfly.vn/vi/email-business/contacts-and-files.md): Thêm liên hệ vào danh bạ hoặc nhập hàng loạt từ vCard, và xem những tệp đang âm thầm chiếm dung lượng hộp thư.

### Lọc thư rác

- [Trỏ MX qua cổng lọc thư](https://docs-vmail.cloudfly.vn/vi/email-security/routing.md): Bước 2 của Email Security. Đổi bản ghi MX để thư đến đi qua cổng lọc trước khi về máy chủ thư của bạn, và kiểm được rằng nó thật sự đi qua đó.
- [Cho qua hoặc chặn thẳng một người gửi](https://docs-vmail.cloudfly.vn/vi/email-security/filter-lists.md): Dùng danh sách tin cậy và danh sách đen để ép kết quả lọc cho một địa chỉ hoặc cả một tên miền, và biết khi nào không nên dùng chúng.
- [Chặn thư theo đuôi tệp đính kèm](https://docs-vmail.cloudfly.vn/vi/email-security/attachment-filters.md): Thêm đuôi tệp nguy hiểm vào danh sách chặn để bộ lọc từ chối cả thư mang tệp đó, và hiểu vì sao danh sách tin cậy không cứu được nó.
- [Lấy lại một thư bị giữ trong vùng cách ly](https://docs-vmail.cloudfly.vn/vi/email-security/quarantine.md): Đọc bảng thư cách ly, chọn đúng một trong ba hành động giải phóng hoặc xoá, và biết điểm spam nói lên điều gì trước khi quyết định.
- [Xử lý thư kẹt trong hàng đợi](https://docs-vmail.cloudfly.vn/vi/email-security/stuck-queue.md): Đọc hàng đợi thư kẹt để biết thư dừng ở chặng nào, sửa nguyên nhân ở máy chủ thư của bạn rồi bắt cổng lọc gửi lại ngay thay vì chờ.
- [Truy vết một thư không tới nơi](https://docs-vmail.cloudfly.vn/vi/email-security/troubleshooting.md): Dùng màn hình Theo dõi email để biết thư dừng ở chặng nào, đọc được cột Lý do, và biết mỗi trạng thái dẫn tới trang xử lý nào.

### Gửi thư qua API

- [Email API là gì và khi nào nên dùng](https://docs-vmail.cloudfly.vn/vi/email-api.md): Gửi thư giao dịch bằng một lệnh gọi HTTP. Trang này giúp bạn chọn giữa Email API và Email Relay, và chỉ chỗ tra cứu tham số đầy đủ.
- [Gửi thư đầu tiên qua Email API](https://docs-vmail.cloudfly.vn/vi/email-api/getting-started.md): Một lệnh gọi HTTP từ đầu tới thư nhận được, cách đọc mã trả về cho đúng, và ba lỗi hay gặp nhất ở lần gửi đầu tiên của một tài khoản mới.
- [Cắm bản ghi cho tên miền gửi](https://docs-vmail.cloudfly.vn/vi/email-api/guides/verify-sending-domain.md): Bước 2 của Email API. Thêm tên miền gửi rồi cắm các bản ghi ký thư và đường phản hồi, mà không đụng tới hộp thư đang dùng.
- [Tạo khoá API để gửi thư](https://docs-vmail.cloudfly.vn/vi/email-api/guides/create-api-key.md): Chọn đúng loại khoá cho từng ứng dụng, lưu mã khoá ngay ở lần hiển thị duy nhất, và thu hồi đúng cách khi khoá bị lộ.
- [Nhận sự kiện thư qua webhook](https://docs-vmail.cloudfly.vn/vi/email-api/guides/receive-webhooks.md): Cấu hình endpoint để biết thư tới hay hỏng ngay trong mã nguồn, chọn đúng sự kiện cần nghe và xác minh chữ ký để không nhận nhầm dữ liệu giả.
- [Dùng mẫu thư trong Email API](https://docs-vmail.cloudfly.vn/vi/email-api/guides/templates.md): Tạo mẫu thư có biến thay thế rồi gửi bằng template_id, để đổi nội dung thư mà không phải triển khai lại ứng dụng.
- [Đọc và xử lý danh sách chặn](https://docs-vmail.cloudfly.vn/vi/email-api/guides/suppressions.md): Hiểu vì sao một địa chỉ bị chặn gửi, khi nào được phép gỡ, và cách lọc danh sách người nhận trước khi gửi hàng loạt.
- [Xử lý sự cố Email API](https://docs-vmail.cloudfly.vn/vi/email-api/troubleshooting.md): Đi từ triệu chứng tới nguyên nhân theo thứ tự, cho các ca thư không gửi được, gửi được mà không tới, và bị từ chối vì quá hạn mức.

### Gửi thư qua SMTP

- [Email Relay là gì và khi nào nên dùng](https://docs-vmail.cloudfly.vn/vi/email-relay.md): Gửi thư qua SMTP từ phần mềm sẵn có mà không phải sửa mã nguồn. Trang này giúp bạn chọn giữa Email Relay và Email API.
- [Gửi thư đầu tiên qua relay](https://docs-vmail.cloudfly.vn/vi/email-relay/getting-started.md): Bốn bước từ tên miền trắng tới thư nhận được, kèm cách kiểm bằng dòng lệnh để tách bạch lỗi thông số với lỗi cấu hình phần mềm.
- [Cắm bản ghi cho tên miền gửi relay](https://docs-vmail.cloudfly.vn/vi/email-relay/guides/verify-sending-domain.md): Bước 2 của Email Relay. Thêm tên miền gửi rồi cắm các bản ghi ký thư và đường phản hồi, mà không đụng tới hộp thư đang dùng.
- [Tạo SMTP key](https://docs-vmail.cloudfly.vn/vi/email-relay/guides/create-smtp-key.md): Sinh mật khẩu SMTP cho phần mềm của bạn, lưu nó ở lần hiển thị duy nhất, giới hạn theo IP khi cần, và thu hồi đúng thứ tự khi đổi key.
- [Trỏ phần mềm của bạn qua relay](https://docs-vmail.cloudfly.vn/vi/email-relay/guides/configure-smtp-client.md): Lấy đúng bốn thông số kết nối SMTP, tránh lỗi tên đăng nhập hay gặp nhất, và kiểm được rằng thư thật sự đi qua relay.
- [Đọc và xử lý danh sách chặn](https://docs-vmail.cloudfly.vn/vi/email-relay/guides/suppressions.md): Hiểu vì sao một địa chỉ bị chặn gửi, địa chỉ nào gỡ được và địa chỉ nào không, và vì sao gỡ hàng loạt là việc nên tránh.
- [Xử lý sự cố Email Relay](https://docs-vmail.cloudfly.vn/vi/email-relay/troubleshooting.md): Đi từ triệu chứng tới nguyên nhân theo thứ tự, cho các ca không kết nối được, bị từ chối xác thực, và gửi được mà thư không tới.

## English (/en)

### Platform

- [Cloudfly VMail Docs](https://docs-vmail.cloudfly.vn/en.md): User guides for Cloudfly VMail services - set up your domain, create mailboxes, filter spam, and send mail from your own applications.
- [Verify domain ownership](https://docs-vmail.cloudfly.vn/en/platform/verify-domain.md): The first step for all four services. Publish one TXT record to prove you own the domain, and find out where your domain comes from.
- [Read the overview page of each service](https://docs-vmail.cloudfly.vn/en/platform/read-dashboard.md): Tell account-wide figures apart from per-domain ones, read the date range correctly, and understand why every number might be zero.

### Mailboxes

- [Publish the four mail DNS records](https://docs-vmail.cloudfly.vn/en/email-business/dns-records.md): Publish MX, SPF, DKIM and DMARC using the exact values the console shows, so your domain can send and receive mail normally.
- [Create your first mailbox](https://docs-vmail.cloudfly.vn/en/email-business/create-mailbox.md): Create a mail account for a colleague, read the three quota figures on the Users page, and fix it when every size option reports over quota.
- [Grant admin rights to someone else](https://docs-vmail.cloudfly.vn/en/email-business/grant-admin.md): Grant administrator rights to a mailbox that already exists in your domain, so that person can manage accounts and settings alongside you.
- [Reset a mailbox password](https://docs-vmail.cloudfly.vn/en/email-business/reset-password.md): Set a new password for someone who forgot theirs, and know in advance what happens when that account is the domain owner.
- [Change an existing mailbox's storage](https://docs-vmail.cloudfly.vn/en/email-business/set-quota.md): Raise or lower the storage of a mailbox, reclaim unused space for someone else, and avoid setting a limit below what is already used.
- [Set up Outlook and your phone](https://docs-vmail.cloudfly.vn/en/email-business/mail-app-setup.md): Get the right incoming and outgoing server settings, choose between IMAP and POP3, and avoid the most common sign-in mistake.
- [Move old mail from another provider](https://docs-vmail.cloudfly.vn/en/email-business/import-mail.md): Pull all mail from Gmail, Outlook or your old server into the new mailbox over IMAP, and choose correctly between a single import and a bulk migration.
- [Allow or block a sender at the mail gateway](https://docs-vmail.cloudfly.vn/en/email-business/gateway-filters.md): Use the Email Business trusted and blocked lists, watch the stuck mail queue, and tell this screen apart from the similarly named one in Email Security.
- [Track storage across the whole domain](https://docs-vmail.cloudfly.vn/en/email-business/storage.md): Read the storage screen to see how far your allocation has gone, who is nearly full, and who is already over their limit and no longer receiving mail.
- [Change the logo and use your own webmail domain](https://docs-vmail.cloudfly.vn/en/email-business/branding.md): Replace the logo and favicon of the webmail interface, and point a domain of your own at it as the address staff type in.
- [Create shared mail templates for the company](https://docs-vmail.cloudfly.vn/en/email-business/templates.md): Write standard message templates staff can insert while composing, with variables that fill in the recipient's name and the date automatically.
- [Manage contacts and stored files](https://docs-vmail.cloudfly.vn/en/email-business/contacts-and-files.md): Add contacts one by one or import them in bulk from vCard, and see which files are quietly taking up mailbox storage.

### Spam filtering

- [Point MX through the filtering gateway](https://docs-vmail.cloudfly.vn/en/email-security/routing.md): Step 2 for Email Security. Point MX at the filtering gateway so inbound mail is filtered before reaching your server, then verify it really goes through.
- [Always allow or always block a sender](https://docs-vmail.cloudfly.vn/en/email-security/filter-lists.md): Use the trusted and blocked lists to override the filter for one address or a whole domain, and learn when not to use them.
- [Block mail by attachment file type](https://docs-vmail.cloudfly.vn/en/email-security/attachment-filters.md): Add dangerous file extensions to the block list so the filter rejects the whole message, and learn why the trusted list cannot override it.
- [Get back a message held in quarantine](https://docs-vmail.cloudfly.vn/en/email-security/quarantine.md): Read the quarantine table, pick the right one of three actions, and understand what the spam score does and does not tell you.
- [Clear a stuck mail queue](https://docs-vmail.cloudfly.vn/en/email-security/stuck-queue.md): Read the stuck queue to see which hop failed, fix the cause on your own mail server, then force a retry instead of waiting.
- [Trace a message that never arrived](https://docs-vmail.cloudfly.vn/en/email-security/troubleshooting.md): Use the Email tracking screen to find where a message stopped, read the Reason column, and learn which status leads to which fix.

### Send via API

- [What Email API is and when to use it](https://docs-vmail.cloudfly.vn/en/email-api.md): Send transactional mail with one HTTP call. This page helps you choose between Email API and Email Relay, and points you to the full parameter reference.
- [Send your first message with Email API](https://docs-vmail.cloudfly.vn/en/email-api/getting-started.md): One HTTP call from nothing to a message received, how to read the response code correctly, and the three mistakes new accounts hit first.
- [Publish the sending domain records](https://docs-vmail.cloudfly.vn/en/email-api/guides/verify-sending-domain.md): Step 2 for Email API. Add a sending domain then publish the signing and feedback records, without touching the mailboxes you already use.
- [Create an API key](https://docs-vmail.cloudfly.vn/en/email-api/guides/create-api-key.md): Pick the right key type for each application, save the key at its one and only display, and revoke it properly when it leaks.
- [Receive mail events by webhook](https://docs-vmail.cloudfly.vn/en/email-api/guides/receive-webhooks.md): Configure an endpoint so your code knows whether a message arrived or failed, pick the right events, and verify the signature so you cannot be fed fake data.
- [Use templates in Email API](https://docs-vmail.cloudfly.vn/en/email-api/guides/templates.md): Create templates with substitution variables and send them by template_id, so you can change message wording without redeploying your application.
- [Read and manage the suppression list](https://docs-vmail.cloudfly.vn/en/email-api/guides/suppressions.md): Understand why an address is suppressed, which ones you may remove, and how to screen a recipient list before a bulk send.
- [Troubleshoot Email API](https://docs-vmail.cloudfly.vn/en/email-api/troubleshooting.md): Go from symptom to cause in order, for calls that are rejected, calls that succeed but never arrive, and rejections for exceeding limits.

### Send via SMTP

- [What Email Relay is and when to use it](https://docs-vmail.cloudfly.vn/en/email-relay.md): Send mail over SMTP from software you already run, without changing its code. This page helps you choose between Email Relay and Email API.
- [Send your first message through the relay](https://docs-vmail.cloudfly.vn/en/email-relay/getting-started.md): Four steps from a blank domain to a message received, plus a command-line check that separates wrong settings from wrong software configuration.
- [Publish the relay sending domain records](https://docs-vmail.cloudfly.vn/en/email-relay/guides/verify-sending-domain.md): Step 2 for Email Relay. Add a sending domain then publish the signing and feedback records, without touching the mailboxes you already use.
- [Create an SMTP key](https://docs-vmail.cloudfly.vn/en/email-relay/guides/create-smtp-key.md): Generate the SMTP password for your software, save it at its one and only display, restrict it by IP where useful, and revoke it in the right order.
- [Point your software at the relay](https://docs-vmail.cloudfly.vn/en/email-relay/guides/configure-smtp-client.md): Get the four SMTP connection settings right, avoid the most common username mistake, and confirm mail really goes through the relay.
- [Read and manage the suppression list](https://docs-vmail.cloudfly.vn/en/email-relay/guides/suppressions.md): Understand why an address is suppressed, which ones you may remove and which you may not, and why bulk-clearing the list is a bad idea.
- [Troubleshoot Email Relay](https://docs-vmail.cloudfly.vn/en/email-relay/troubleshooting.md): Go from symptom to cause in order, for failures to connect, rejected authentication, and mail that sends but never arrives.
