module documentation
(source)

Infrastructure for relaying mail through a smart host.

Traditional peer-to-peer email has been increasingly replaced by smart host configurations. Instead of sending mail directly to the recipient, a sender sends mail to a smart host. The smart host finds the mail exchange server for the recipient and sends on the message.

Class ​Canonical​Name​Chain​Too​Long An error indicating that when trying to look up a mail exchange host, too many canonical name records which point to other canonical name records were encountered and resolution was abandoned.
Class ​Canonical​Name​Loop An error indicating that when trying to look up a mail exchange host, a set of canonical name records was found which form a cycle and resolution was abandoned.
Class ​ESMTPManaged​Relayer An ESMTP managed relayer.
Class ​ESMTPManaged​Relayer​Factory A factory to create an ESMTPManagedRelayer.
Class ​Managed​Relayer​Mixin SMTP Relayer which notifies a manager
Class ​MXCalculator A utility for looking up mail exchange hosts and tracking whether they are working or not.
Class ​Queue A queue for messages to be relayed.
Class ​Smart​Host​ESMTPRelaying​Manager A smart host which uses ESMTP managed relayers to send messages from the relay queue.
Class ​Smart​Host​SMTPRelaying​Manager A smart host which uses SMTP managed relayers to send messages from the relay queue.
Class ​SMTPManaged​Relayer An SMTP managed relayer.
Class ​SMTPManaged​Relayer​Factory A factory to create an SMTPManagedRelayer.
Function ​Relay​State​Helper Set up a periodic call to prompt a relaying manager to check state.
Class _​Attempt​Manager A manager for an attempt to relay a set of messages to a mail exchange server.
Function _check​State Prompt a relaying manager to check state.
def RelayStateHelper(manager, delay): (source)
Set up a periodic call to prompt a relaying manager to check state.
Parameters
manager:SmartHostSMTPRelayingManagerA relaying manager.
delay:floatThe number of seconds between calls.
Returns
TimerServiceA service which periodically reminds a relaying manager to check state.
def _checkState(manager): (source)
Prompt a relaying manager to check state.
Parameters
manager:SmartHostSMTPRelayingManagerA relaying manager.