# Block unwanted senders

Block mail from selected addresses and domains, with rules only you can change.

Source: https://cherami.to/docs/guides/receiving-rules



Open [Account → Receiving rules](https://cherami.to/account/receiving-rules), select an inbox, and enter unwanted senders in the **Email addresses** and **Domains** tabs, one per line. Turn on **Block senders**, then choose **Save rules**.

Mail whose From address matches either list never arrives in that inbox, and no copy is kept. Mail already received stays. Blocking is off on a new inbox until you turn it on; turning it off later pauses it and keeps your lists.

## Choose addresses and domains [#choose-addresses-and-domains]

Enter bare ASCII email addresses, without display names or wildcards, and bare domains such as `example.com`, using punycode for internationalized domains (`xn--bcher-kva.de`). Each list holds up to 100 entries.

The part before `@` is case-sensitive: `Alex@example.com` and `alex@example.com` are different entries. Domain case doesn't matter. Plus tags and dots make different addresses, even when a provider delivers them to the same mailbox.

A domain rule matches only that exact domain: `example.com` doesn't block `sub.example.com` or `notexample.com`. Add subdomains separately.

## Understand what gets blocked [#understand-what-gets-blocked]

Rules match the address in From, not the display name or Reply-To. From is set by the sender and can be forged, so treat these as nuisance filters. They don't read message content; for spam or phishing screening, see [content screening](https://cherami.to/docs/guides/safety#content-screening).

## Let the agent inspect the rules [#let-the-agent-inspect-the-rules]

Agents can read the rules with `get_receiving_policy` or [over HTTP](https://cherami.to/docs/api/inboxes/get-receiving-policy). Only you can change them, from Account.
