t.m.tap : module documentation

Part of twisted.mail View Source

Support for creating mail servers with twistd.
Class Options An options list parser for twistd mail.
Class AliasUpdater A callable object which updates the aliases for a domain from an aliases(5) file.
Function makeService Configure a service for operating a mail server.
Function _toEndpoint Create an endpoint based on a description.
def _toEndpoint(description, certificate=None): (source)
Create an endpoint based on a description.
ParametersdescriptionAn endpoint description string or a TCP port number. (type: bytes)
certificateThe name of a file containing an SSL certificate. (type: bytes or NoneType)
ReturnsAn endpoint. (type: IStreamServerEndpoint provider)
def makeService(config): (source)
Configure a service for operating a mail server.

The returned service may include POP3 servers, SMTP servers, or both, depending on the configuration passed in. If there are multiple servers, they will share all of their non-network state (i.e. the same user accounts are available on all of them).

ParametersconfigConfiguration options specifying which servers to include in the returned service and where they should keep mail data. (type: Options)
ReturnsA service which contains the requested mail servers. (type: IService provider)
API Documentation for Twisted, generated by pydoctor at 2015-01-30 14:14:53.