Sieve: Allow User Sieve scripts to access orcpt

This commit is contained in:
Maurus Decimus
2026-05-19 17:40:45 +02:00
parent e54221dde6
commit f048e0f0bb
5 changed files with 7 additions and 0 deletions

View File

@@ -33,6 +33,7 @@ impl MessageWrapper {
let rcpt_addr = rcpt.address();
recipients.push(IngestRecipient {
address: rcpt_addr.to_lowercase(),
orcpt: rcpt.orcpt.as_ref().map(|orcpt| orcpt.to_string()),
is_spam: rcpt.flags & RCPT_SPAM_PAYLOAD != 0,
});
pending_recipients.push((rcpt_idx, rcpt_addr));