Administration: domains, mailboxes, activity and backups: what a decision needs to know

Đang mở
#87 0 bình luận 0 reaction 0 người được giao Xem trên GitHub

Maintainer thường phản hồi trong vòng 1 ngày

Chưa có ai nhận issue này.

Đánh giá

Độ khó
5/5
Thời gian dự kiến
Hơn một tuần
Mức phù hợp với người mới
25/100
Loại issue
Tài liệu
Độ rõ ràng
Đặc tả rõ ràng
Mức độ hoạt động
Sôi nổi
Công nghệ
typescript
Lĩnh vực
backend, documentation

Hướng nghiên cứu

Re-read the platform and standards sources named in the issue, then record verified platform facts in the Cloudflare ledger. Propose a decision record addressing the Domains screen, tokens, mailbox status, activity, backups, and sending; the project lead must accept or change it. Update the roadmap and feature scope to reflect the decision.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

area: auth decision enhancement needs lead

The feature scope lists administration in phase A: accounts, invitations, domains, mailboxes, memberships, audit log, exports. Accounts, invitations and memberships exist. The project lead asked on 2026-11-19 for the rest to be planned as an area of its own, to the bar people know from Google Workspace's admin: a Domains screen with the state of each domain's mail records, a Mailboxes screen, activity, and backups. This issue holds the data; it builds nothing.

It meets a decision that already stands: the feature scope leaves "domain setup from inside the app" out, because it would need an account token inside the Worker. The first finding below is that showing a domain's state does not need one.

What was read (2026-11-19, from the platform's current documentation and the standards)

The pages were read through a tool that returns extracts. Every figure is checked again at its source, and goes into the Cloudflare ledger, before it enters a record.

A domain's state, without a token

  • A Worker can resolve DNS itself: Node's dns module works there over the platform's own resolver, and each query counts as a subrequest.
  • What a checker looks up is documented by the platform: the MX hosts of routing, the SPF include, the DKIM selector routing signs with and the one sending uses, and the records sending adds on its bounce subdomain.
  • SPF (RFC 7208): one record, at most ten lookups, and what ~all means. DMARC is RFC 9989 since May 2026, which replaces RFC 7489 and changes how the organisational domain is found. MTA-STS and TLS reporting are RFC 8461 and 8460.
  • What cannot be seen from DNS: the routing rules themselves. Their state can be said as "observed from DNS and from mail that arrived".

Routing

  • Routing is switched on for each zone and needs the platform's DNS. Limits: 200 rules for a domain, 200 destination addresses for an account, 25 MiB for a message. A catch-all exists for the apex only. A +tag does not change which rule matches and is kept in the recipient the Worker is given.
  • The Worker is given the envelope, the headers, the bytes, and the platform's own authentication results. Mail that fails both SPF and DKIM, or the sender's DMARC policy, is refused before the Worker.

Sending

  • Sending is in public beta since April 2026 and described as transactional. Without a sending domain only verified addresses can be written to. A sending domain is set up one at a time and adds its own records. The limits are 50 recipients and 25 MiB.
  • Delivered, deferred, bounced, failed, rejected and complained are events on a queue, one subscription for each sending domain. This is what #33 needs.

Several domains

  • Rules, the catch-all and the sending domain are each per zone, in the same account.

Addresses

  • RFC 5321 says a local part is case sensitive in principle and that relying on it is discouraged, that postmaster must exist, and that dropping mail silently is dangerous: an address that does not exist is refused while the sender is still connected, never bounced later.

If an operator chose to give an instance a read-only token

  • The smallest set is four read permissions, and a token can be held to named zones. The platform's secret store is in open beta.

The bar

  • The admin log of Google Workspace records who, what, when and from which address, grouped by kind. Its organisation export is asked for by a super administrator with two-step verification, takes days, gives one archive for each person and is deleted after sixty days.

Backups

  • D1 can be taken back to a point in the last 30 days, in place. A Durable Object's database can be taken back to a point in the last 30 days from inside the object. R2 has neither versions nor replication; locks stop deletion and overwriting under a prefix.

Not verified

  • The resolver's limits and terms; the permission one of the routing endpoints needs; whether "transactional" leaves out mail between people, and the daily quota in numbers; that a rule's Worker must be in the same account (implied, not stated).

A decision record must answer

  • Whether a Domains screen that only reads DNS fits the standing decision as it is, and what the screen may claim (seen in DNS) and may not (the rules).
  • Whether an instance may ever hold a read-only token, as an operator's choice, and where it would live.
  • What a mailbox's status is, and how aliases, a catch-all and several domains (#53) show on a Mailboxes screen; that an unknown address on a catch-all is refused, not bounced.
  • What "activity" shows, on top of the audit log in the app (#11).
  • What a backup of an instance is, given what the platform can and cannot take back, and how it meets exports (#19).
  • That sending is a beta described as transactional: what the project says about it and what would make it look again.

Done when

  • The facts above are re-read at their sources and recorded in the ledger where they are platform facts.
  • A decision record is proposed and accepted or changed by the project lead.
  • The roadmap and the feature scope say what changed.
Ngôn ngữ chính
TypeScript
Star
1
Fork
1
Merge trung bình
9 giờ 3 phút
Pull request đã merge (30 ngày)
136

Chuẩn bị môi trường

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của cloudhal-dev/podbay

Tất cả issue của cloudhal-dev/podbay

Issue tương tự

Thêm issue về TypeScript

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.