Karta.SMTP.Policy.Closed (Karta v1.0.0)

The listener policy until routing and credentials exist: it accepts connections and refuses every recipient and every login, so no message is ever accepted.

Recipient checks read only the in-memory domain cache (a Karta.Cache; the listener's policy_opts[:domains_cache], default Karta.SMTP.Cache.Domains). While that cache is cold, for example because the database was down when the node started, the answer is the temporary 451 4.3.2, so senders retry later instead of bouncing.

Summary

Functions

The default name of the recipient-domain cache.

Functions

domains_cache()

@spec domains_cache() :: atom()

The default name of the recipient-domain cache.