# Cannot access orcpt

**URL:** https://support.stalw.art/t/cannot-access-orcpt/1234
**Category:** Issues
**Tags:** no-ai
**Created:** [July 31, 2026, 7:15am UTC](https://support.stalw.art/t/cannot-access-orcpt/1234 "2026-07-31T07:15:03Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![ungeskriptet](https://support.stalw.art/user_avatar/support.stalw.art/ungeskriptet/32/680_2.png) [@ungeskriptet](https://support.stalw.art/u/ungeskriptet)
#### Post date: [July 31, 2026, 7:15am UTC](https://support.stalw.art/t/cannot-access-orcpt/1234/1 "2026-07-31T07:15:03Z")

</div>

### Issue Description

I am trying to filter incoming emails using the envelope “RCTP TO” test. I have a catch-all address set up on my domain, which means the original “to” gets rewritten to my catch-all address.  
After a bit more digging, it seems like I can access the original “to” by using “orcpt”.  
I wrote a little sieve script to test whether filtering by “orcpt” works:

```auto
require ["enotify", "envelope", "envelope-dsn"];
notify :message "Step 1" "mailto:myuser@example.org";
if envelope :matches "orcpt" "*" {
  notify :message "Step 2" "mailto:myuser@example.org";
}

```

The issue is that I never receive the “Step 2” notification from this script when I receive an email. I have tested this script in MtaStageRcpt as well as the untrusted runtime, since according to the changelog, v0.16.6 should support “orcpt” in the untrusted runtime.

I am running Stalwart v0.16.14

### Expected Behavior

I should be able to access the original `RCPT TO` in the untrusted runtime using `envelope :matches "orcpt" ...`, `${envelope.orcpt}`, or something similar.

### Stalwart Version

v0.16.x

### Installation Method

NixOS

### Database Backend

PostgreSQL

### Blob Storage

PostgreSQL

### Search Engine

Internal

### Directory Backend

Internal

### I have reviewed the documentation and FAQ and confirm that my issue is NOT addressed there.

on

### I have searched this support forum (open and closed topics) and confirm this is not a duplicate.

on

### I understand that topics in this category are triaged by a bot first but a human reply will follow up. If I’d prefer a human-only reply, I’ll add the no-ai tag to my topic.

on

---

<div class="post-metadata">

### Author: ![stalwart](https://support.stalw.art/user_avatar/support.stalw.art/stalwart/32/12_2.png) [@stalwart](https://support.stalw.art/u/stalwart)
#### Post date: [August 2, 2026, 2:32pm UTC](https://support.stalw.art/t/cannot-access-orcpt/1234/2 "2026-08-02T14:32:47Z")

</div>

The `DATA` stage was not include ORCPT data. I have fixed this and the change will be included in v0.16.16.

Please see [Subaddressing information lost after delivery - #13 by stalwart](https://support.stalw.art/t/subaddressing-information-lost-after-delivery/203/13) for more details.
