Issue Description
When sending an email using JMAP (tested with Bulwark webmail and sterna) to a non existing mailbox on the local domain (eg from [email protected] to [email protected]), there’s no failure notice indicating the email was not delivered
Expected Behavior
As the sender, I should be notified somehow (either at submission time, or through a failure notice email) that my email wasn’t delivered
Actual Behavior
The email is silently lost. Only stalwart logs show the email was not delivered
Reproduction Steps
- Configure stalwart with a local domain
- Using a JMAP client, try to send an email from a valid account to a non existing mailbox on the same domain
Relevant Log Output
Stalwart logs show the email is not delivered
2026-08-27T09:51:46Z INFO Message appended via JMAP (message-ingest.jmap-append) listenerId = "http", localPort = 8877, remoteIp = 127.0.0.1, remotePort = 46284, accountId = 66, documentId = 192, mailboxId = [3], blobId = "bfd88e27507bab7414926329aac8b31c9bff6cdb4ef70f8b45775faeda355396", changeId = 620, messageId = "18cfa0bc134c1af6.6f8db0bc3cdea1d5.fc2c09f495823eb7@11a5ee146cfd", size = 311, elapsed = 50ms
2026-08-27T09:51:50Z INFO Message appended via JMAP (message-ingest.jmap-append) listenerId = "http", localPort = 8877, remoteIp = 127.0.0.1, remotePort = 46960, accountId = 66, documentId = 193, mailboxId = [3], blobId = "96688918b340ef9484ddee79edf2897c9b0f3e414537d3db830d4c454fec7677", changeId = 621, messageId = "18cfa0bcdfa33d82.c46bfca662aa3776.941006569d3391b@11a5ee146cfd", size = 679, elapsed = 29ms
2026-08-27T09:51:50Z INFO Message appended via JMAP (message-ingest.jmap-append) listenerId = "http", localPort = 8877, remoteIp = 127.0.0.1, remotePort = 46284, accountId = 66, documentId = 194, mailboxId = [3], blobId = "50df71f11b0548e6d8753b8409c855f4f846be18f622414b1c230fc7bac8e950", changeId = 623, messageId = "[email protected]", size = 689, elapsed = 36ms
2026-08-27T09:51:50Z INFO SMTP MAIL FROM command (smtp.mail-from) from = "[email protected]"
2026-08-27T09:51:50Z INFO Mailbox does not exist (smtp.mailbox-does-not-exist) to = "[email protected]"
### Stalwart Version
v0.16.x
### Installation Method
Binary (Linux)
### Database Backend
PostgreSQL
### Blob Storage
PostgreSQL
### Search Engine
PostgreSQL
### Directory Backend
OIDC
### Additional Context
Running stalwart 0.16.19
Haven't tried with a more standard IMAP+SMTP client yet, but I'd like to use JMAP anyway
### 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