Module t.m.relaymanager

Part of twisted.mail View Source

Infrastructure for relaying mail through smart host

Today, internet e-mail has stopped being Peer-to-peer for many problems, spam (unsolicited bulk mail) among them. Instead, most nodes on the internet send all e-mail to a single computer, usually the ISP's though sometimes other schemes, such as SMTP-after-POP, are used. This computer is supposedly permanently up and traceable, and will do the work of figuring out MXs and connecting to them. This kind of configuration is usually termed "smart host", since the host we are connecting to is "smart" (and will find MXs and connect to them) rather then just accepting mail for a small set of domains.

The classes here are meant to facilitate support for such a configuration for the twisted.mail SMTP server
Class ManagedRelayerMixin SMTP Relayer which notifies a manager
Class SMTPManagedRelayer No class docstring; 1/1 methods documented
Class ESMTPManagedRelayer No class docstring; 1/1 methods documented
Class SMTPManagedRelayerFactory No class docstring; 2/3 methods documented
Class ESMTPManagedRelayerFactory No class docstring; 1/2 methods documented
Class Queue A queue of ougoing emails.
Class _AttemptManager Manage the state of a single attempt to flush the relay queue.
Class SmartHostSMTPRelayingManager Manage SMTP Relayers
Class SmartHostESMTPRelayingManager Undocumented
Function _checkState Undocumented
Function RelayStateHelper Undocumented
Class MXCalculator No class docstring; 2/7 methods documented
def _checkState(manager): (source)
Undocumented
def RelayStateHelper(manager, delay): (source)
Undocumented
API Documentation for twisted, generated by pydoctor.