You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 37091ea
Browse filesBrowse the repository at this point in the historyBrowse files
Copy file name to clipboardExpand all lines: docs/dev/architecture/delivery-queue.md
+12-11Lines changed: 12 additions & 11 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -166,14 +166,14 @@ the `Message-ID` scheme with it.
166
166
167
167
Sending an announcement writes a notification of kind `announcement`, with its
168
168
subject and text, to each recipient's inbox, from the recipients it locked, and
169
-
records `AnnouncementSent`, whose fan-out creates one delivery per
170
-
recipient with a primary verified address, leaving out, unless the announcement
171
-
is essential, those who turned announcements' email off
169
+
records `AnnouncementSent`, whose fan-out creates one delivery per recipient
170
+
with a primary verified address, leaving out, unless the announcement is
171
+
essential, those who turned announcements' email off
172
172
([email preferences](notifications.md#email-preferences)). Disabling an account
173
-
releases its addresses to other accounts: once another one verifies the disabled
174
-
account's primary address, the address is the other account's, and the disabled
175
-
account's email is left out. These emails go out
176
-
here, never on the `email` channel, and link the inbox. Each names its list in
173
+
releases its addresses to other accounts, so a disabled account is also left
174
+
out when another account, an active one or one being deleted, owns its primary
175
+
address. These emails go out here, never on the `email` channel, and link the
176
+
inbox. Each names its list in
177
177
a `List-Id` header (RFC 2919), `<announcements.<sender's domain>>`, so mail
178
178
clients can sort and filter announcements, and one that is not essential also
179
179
carries the recipient's one-click unsubscribe link, in its body and its
@@ -182,10 +182,11 @@ every kind of email: bulk mail gets them, and transactional mail, every email
182
182
about the account itself, none. A delivery stores only the account's ID
183
183
as its recipient and the announcement's ID as its payload, and its `destination`
184
184
names both. The sender reads the account's primary verified address and the text
185
-
when it sends, so an address changed meanwhile gets it, and an account with none
186
-
left, whose address another account verified since, no longer a recipient, or
187
-
that turned announcements' email off since, unless it is essential, is skipped: the delivery succeeds without a send. The text of a sent announcement never changes, so every attempt sends the
188
-
same message. `MAX_AGE` is three days, as an announcement stays worth reading
185
+
when it sends, so an address changed meanwhile gets it. An account with none
186
+
left, whose address another account owns now, no longer a recipient, or that
187
+
turned announcements' email off since, unless it is essential, is skipped: the
188
+
delivery succeeds without a send. The text of a sent announcement never changes,
189
+
so every attempt sends the same message. `MAX_AGE` is three days, as an announcement stays worth reading
189
190
through a long relay outage or a slow send to every account. A purge deletes the
190
191
account's announcement deliveries, which would find no recipient left.
0 commit comments