AnnexGroup

Documentation

Sender lists — safe and blocked senders

Under Administration → Sender lists you maintain lists of safe and blocked senders for the whole server or for one domain. Users maintain their own list — through the web interface or over IMAP from Thunderbird, Apple Mail and Outlook.

1. What the lists control

  • The action “Junk” files the mail in the junk folder, “Reject” refuses it on receipt with 550 5.7.1. Reject exists only in the server and domain lists, never in the user list and never on safe entries.
  • Patterns: one address (anna@example.org), one domain (example.org, also covers subdomains) or — server level only — an IP or CIDR network (203.0.113.0/24).
  • Precedence: the most exact server-list hit with “Reject” always wins — even against a user or domain “safe”. The same holds for domain-list “Reject”: a rejection is the administrator’s decision, and no user “safe” overrides it. Otherwise the more exact entry wins; at equal exactness, “safe” beats “junk”.

2. How to maintain the lists

  1. Server list: operator only. Domain list: operator and the tenant admin of the domain (subdomains included). Entries of a deleted domain remain without effect.
  2. Single entries: enter pattern, kind (safe/blocked) and action; with Import you load a text list (one line per pattern: safe, junk or reject, then the pattern; # starts a comment). The import reports faulty lines.
  3. User page: under Account → Settings users find their own sender list and the switch “Block the sender when marking as junk”. When it is on, “Mark as junk” (IMAP flag or moving to the junk folder) enters the sender as blocked, “Not junk” as safe. A mail program only contributes when the user has turned this on.

3. What applies on receipt

  • At the SMTP ingress, each recipient is checked after the relay check and before the data is accepted: server list and domain list of the recipient domain. Authenticated submission (ports 587/465) is never refused.
  • If a “Reject” only surfaces on the internal delivery path (because the mail came in via a handover domain, for example), it lands in the junk folder instead of being discarded.
  • Safe entries lift built-in filter points: spam suspicion and “own rule to junk” then do not apply.

4. What does not work

  • No lists come from Exchange. EWS cannot read a mailbox’s safe and blocked senders; the migration does not carry them over. The spec is on the page Switching from Exchange.
  • Third-party block lists (DNSBL) only work with a zone the operator has entered.
  • There is no cache: each recipient triggers two small queries (server list, domain list). With very long lists or high inbound volume a cache with invalidation on write becomes necessary.
  • IP patterns assume that the server sees the real peer — behind a proxy without PROXY protocol the IP is not correct.

Something unclear or described wrong? Tell us — we will fix it. Your question shows us where the text falls short.