# Disabled strict "From"

**URL:** https://support.stalw.art/t/disabled-strict-from/2232
**Category:** Questions
**Created:** [November 5, 2026, 1:17pm UTC](https://support.stalw.art/t/disabled-strict-from/2232 "2026-11-05T13:17:33Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![Bob.Dig](https://support.stalw.art/letter_avatar_proxy/v4/letter/b/e9c0ed/32.png) [@Bob.Dig](https://support.stalw.art/u/Bob.Dig)
#### Post date: [November 5, 2026, 1:17pm UTC](https://support.stalw.art/t/disabled-strict-from/2232/1 "2026-11-05T13:17:33Z")

</div>

### Your question

I am not a Stalwart user yet. I want to ask, if the free version supports the “Disabled strict From” option, that I know from my current email server. It allows me to change the address-part before the @ of the from address in Thunderbird, while writing an email.

Because I am the only user of my email server, I like to use catch-all and also to change the address (to a not existing one). And those mails should be signed by dkim too.

Please excuse, not an English native speaker and also just a novice user of an email server in general.

### 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: ![helpbot](https://support.stalw.art/user_avatar/support.stalw.art/helpbot/32/13_2.png) [@helpbot](https://support.stalw.art/u/helpbot)
#### Post date: [November 5, 2026, 1:17pm UTC](https://support.stalw.art/t/disabled-strict-from/2232/2 "2026-11-05T13:17:44Z")

</div>

Stalwart has no option with that exact name. You can get the same result with the default settings plus one change, and the free edition has everything you need.

**The envelope sender check.** When you log in and send, Stalwart checks the envelope sender (`MAIL FROM`). The setting [`mustMatchSender`](https://stalw.art/docs/mta/inbound/auth#sender-verification) on the MtaStageAuth object controls this check, and it is on by default. With it on, you can only send as your own account name, your own addresses, or addresses of groups you belong to. Anything else is refused with `501 5.5.4 You are not allowed to send from this address.` If you set it to `false`, an authenticated user can send with any sender address.

**The From header.** The docs say the `From` header, which is the address the recipient sees, is not checked by default. An authenticated user can put any address there. Thunderbird usually sets the envelope sender from the identity you picked, so the envelope check is the one you are most likely to hit. If you change the address and your server refuses it, turn `mustMatchSender` off.

**DKIM.** By default, the [`dkimSignDomain`](https://stalw.art/docs/mta/inbound/data#dkim-signing) expression signs a message with the sender’s domain. This happens when you are logged in and the domain is hosted on your server. So if you change only the part before the `@` and keep your own domain, the mail is still signed with that domain’s DKIM key. This works even if the address does not exist.

**Catch-all.** You set a catch-all address per domain with the [`catchAllAddress`](https://stalw.art/docs/mta/inbound/rcpt#catch-all-addresses) field. Unknown recipients on that domain are then delivered to it. The docs note that this can increase spam.

If you use a different domain in the From address, that domain must be hosted on your server to be signed by default.

_This is an automated reply from the Stalwart Help Bot. Other community members may follow up if this answer is incomplete or wrong._

---

<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: [November 8, 2026, 2:07pm UTC](https://support.stalw.art/t/disabled-strict-from/2232/3 "2026-11-08T14:07:29Z")

</div>

Hi Bob,

Yes, that works in the free (community) edition, and you don’t need any Enterprise feature for it.

Stalwart checks the envelope sender of authenticated mail, the address your client gives in `MAIL FROM`, against the addresses of your account. That check is the [`mustMatchSender`](https://stalw.art/docs/mta/inbound/auth#sender-verification) setting and it’s on by default. Thunderbird uses the address you type in the From field as the envelope sender, so with the default a made-up address like `shop-xyz@example.org` would be refused with `501 5.5.4 You are not allowed to send from this address.`

Since you’re the only user, you can turn the check off for your own account and domain. `mustMatchSender` is an [expression](https://stalw.art/docs/configuration/expressions/), so something like this (with your account name and domain) does it:

```json
{
  "match": {
    "0": {"if": "authenticated_as == 'you@example.org' && sender_domain == 'example.org'", "then": "false"}
  },
  "else": "true"
}

```

Anyone else who logs in still gets the normal check. DKIM is not affected: outgoing mail is signed with the keys of the sender’s domain whatever the part before the @ is, so those messages are signed like any other. Together with a [catch-all address](https://stalw.art/docs/domains/addresses#catch-all-address) on the domain, replies to those invented addresses land in your mailbox too.
