The operator had exactly one reassuring word to work with: updated. The message that landed was a cancellation. The Sieve script carried :deletecancelled. So the operator opened the calendar expecting a retained event — greyed out, marked cancelled, sitting there for the record — and found a hole where the meeting used to be.
Nothing had malfunctioned. RFC 9671 defines updated to mean a calendar object was updated, cancelled or removed. Three different fates, one label, no asterisk. The value is honest. It is also coarse. The distance between those two adjectives is where calendar automation quietly goes wrong.
Here is the sentence worth remembering: RFC 9671's updated outcome is not a receipt for what happened to your calendar. It is a receipt that something happened to it. Every operational failure in this space is a failure to keep those two claims apart.
What processcalendar actually promises
RFC 9671 bolts the processcalendar capability onto Sieve. The action parses machine-readable calendar data wrapped in MIME email and may create, update or delete calendar items — without a human ever touching the message. That last clause is the whole point and the whole problem: a mail filter is now writing to the thing that wakes you up at six in the morning.
The input has to earn its way in
It is not permission to process every attachment that resembles an invitation. Malformed data must be ignored. If several MIME parts carry calendar data, the implementation must compare them for semantic equivalence: representations that disagree must stop processing, and equivalent ones yield a single processed copy. This is more than syntactic tidiness. A readable HTML invitation and a machine-readable attachment can tell two different stories, and the one that moves the calendar is the one nobody reads.
The recipient boundary is explicit too. Unless :allowpublic is used, the data must be well-formed iTIP and one address belonging to the recipient must match the intended target — the ORGANIZER for a reply, or an ATTENDEE for a request, cancellation or addition. That address may come from account knowledge, the final envelope recipient, or a script's :addresses list.
Each source answers a different question, and none of them answers "did a human mean this?" The visible To header is not the final envelope recipient. An alias in :addresses is a policy assertion, not proof that every message touching it should move a calendar. A matching ATTENDEE is target evidence, not organizer authority.
The options rewrite the meaning of success
The action's options are not decoration; they define materially different control surfaces. :updatesonly blocks a new UID from being added, which means its no_action is often the desired safety outcome rather than a failure. :calendarid picks where a new object lands; leave it out and the implementation chooses a default. A successful addition therefore proves an addition — not that anyone intended that destination.
Cancellation carries the sharpest ambiguity. With :deletecancelled, the implementation should remove the associated item. Without it, the item is marked cancelled and retained. Both routes can report updated. And even the presence of :deletecancelled does not prove deletion, because the RFC expresses removal as a SHOULD. The result has to be observed, not assumed.
The optional :organizers list is another real but bounded control. When used, it demands well-formed iTIP and an ORGANIZER address matching an external list. When omitted, processcalendar performs no ORGANIZER-property validation at all. A list match proves a string fell inside a configured trust set. It does not prove the person behind that address intended this cancellation, on this day, for this meeting.
Authentication buys evidence, not intent
RFC 9671 is unusually candid about the danger: changing a calendar without user interaction is an abuse vector, and the document says so out loud. It forbids processing data in mail flagged as spam or malicious, recommends known senders, discourages potentially malicious or untrustworthy ones, and points at S/MIME, SPF, DKIM and DMARC as possible trust inputs.
Those mechanisms earn their keep. SPF relates an SMTP client to a domain's authorization policy. DKIM verifies a signature over selected message material under a signing domain. DMARC evaluates alignment and receiver policy. S/MIME adds message signing with its own certificate and identity checks.
But a pass is not a state of mind. A legitimate account can be compromised. An authorized service can send the wrong event. A signed message can be replayed within the limits of the surrounding system. An aligned domain can carry an automated decision no executive ever approved. Trust signals inform the calendar policy; they do not become the calendar policy. This is minimum specification working exactly as designed — standardize enough shared behaviour to interoperate, then leave the local risk decision visible instead of burying it inside the prestige of the shared mechanism.
Four values, one of which is moonlighting
The optional outcome has four values: no_action, added, updated and error. The optional reason may explain the result, and the RFC permits an empty string when no reason is available. Operators should not invent precision the interface never supplied.
Read them honestly and the picture is grim. no_action can mean no calendar data, or a policy option that blocked processing. error means the message would have been processed and something broke. added identifies a new item, not necessarily the intended calendar. And updated is doing three jobs at once: content change, cancellation and removal, all filed under one word.
Building a record that survives the argument
The evidence chain therefore has to continue after Sieve has finished. Preserve the message identifier, the final envelope recipient, the script generation, the option set, every calendar-bearing MIME part and the semantic-equivalence result. Record the format, iTIP method, UID, organizer, target attendee, trust decisions, selected calendar, and the exact outcome and reason.
Then go and read the calendar. Does the UID exist? On which calendar? What sequence or revision is present? Is STATUS now CANCELLED, or is the item simply gone? Did participant status stay unchanged, as RFC 9671 requires? Were alarms removed, as it recommends — or will old reminders still fire at six in the morning? Were embedded attachments decoded and scanned, and if a malicious one turned up, did processing actually stop?
Mail disposition stays separate too. processcalendar does not cancel Sieve's implicit keep: the calendar can change while the original email sits in the mailbox. Deleting the mail later proves nothing about the event. Removing the event proves nothing about the mail.
CalConnect's calendar-abuse guidance explains why the separation is not pedantry. Unwanted events can be planted in the past or the future, recur indefinitely and trigger alarms across every device a person owns. One accepted invitation creates effects far from the instant of mail processing. The human-visible outcome is a second observation, not a synonym for action success.
RFC 9671 is not weak because updated is coarse. It is honest — a portable branch condition that leaves the richer truth in the running calendar system, which is precisely the running-code primacy the standard quietly respects. The failure begins when an organization promotes that bounded fact into a claim about exact state, trusted intention or completed user outcome. That is the reality-layer mistake in miniature: a symbolic green tick standing in for an executable fact.
The word in the log was true. The story told around it was not. Keep the word — and go read the calendar.
Sources
- RFC 9671
- RFC 9671 text
- RFC 9671 XML
- RFC 9671 errata
- RFC 9671 information
- RFC 9671 history
- Sieve, RFC 5228
- Sieve spamtest and virustest, RFC 5235
- iCalendar, RFC 5545
- iTIP, RFC 5546
- iMIP, RFC 6047
- Sieve external lists, RFC 6134
- DKIM, RFC 6376
- SPF, RFC 7208
- DMARC, RFC 7489
- S/MIME 4.0, RFC 8551
- IANA Sieve extensions registry
- CalConnect calendar-abuse guidance
- Minimum initial specification
- Reality layers
- Running-code primacy
Member Briefing
Read the full trend briefing
Members read the full briefing with the source notes behind every finding.
Strategic Circle
A daily briefing in your language, built from changes we have verified.
Join for USD 20/monthCancel anytime.
Members also get the full research library, a daily briefing on the networks they follow and the private forum.






