TLS and return-path
Enforce TLS for a domain's mail, and choose its return-path when you add it.
On this page
Two settings decide how mail leaves your domain: TLS, which you can change at any time, and the custom return-path, which you choose once, when you add the domain.
TLS
TLS encrypts mail on its way to the receiving server.
- Opportunistic (the default) uses TLS whenever the receiving server offers it, and sends without it when it does not.
- Enforced sends only over TLS. Mail to a server without TLS bounces, and those bounces count toward your domain's bounce pause.
Choose Enforced only when every server you send to supports TLS, for example when the law or a contract requires encrypted delivery.
Only team admins can change TLS.
In the console
Go to Domains, open the domain and choose Configuration. Under TLS, choose Opportunistic or Enforced. It saves at once.
With the API
Call Change a domain's settings with tlsPolicy. It needs a full access key made by a team admin.
curl -X PATCH https://app.usenotix.dev/api/v1/domains/42 \
-H "Authorization: Bearer $NOTIX_API_KEY" \
-H "Content-Type: application/json" \
-d '{ "tlsPolicy": "ENFORCED" }'
With an AI agent, use the update_domain_settings tool with tls_policy.
Custom return-path
Bounces and complaints come back to the return-path host, and SPF is checked on it. By default it is mail.<your domain>. You can choose another label, such as send, so the host is send.<your domain>.
You choose it when you add the domain, and it cannot be changed after. To use another one, add the domain again. Names kept for mail services, such as www, inbound, mx and postmaster, cannot be used.
The domain's DNS records name the host to publish the MX and SPF records on. One-click DNS setup is not offered for a custom return-path: add the records yourself.
In the console
On Add domain, open Advanced options and type the label in Custom return-path.
With the API
Call Add a domain with customReturnPath.
curl -X POST https://app.usenotix.dev/api/v1/domains \
-H "Authorization: Bearer $NOTIX_API_KEY" \
-H "Content-Type: application/json" \
-d '{ "name": "acme.com", "customReturnPath": "send" }'
Sending customReturnPath to Change a domain's settings answers 400. With an AI agent, use the add_domain tool with custom_return_path.