twisted.mail.tap
module documentationtwisted.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. |
Create an endpoint based on a description.
Parameters | description | An endpoint description string or a TCP port number. (type: bytes ) |
certificate | The name of a file containing an SSL certificate. (type: bytes
or NoneType ) | |
Returns | An endpoint. (type: IStreamServerEndpoint
provider) |
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).
Parameters | config | Configuration options specifying which servers to include in the returned
service and where they should keep mail data. (type: Options ) |
Returns | A service which contains the requested mail servers. (type: IService
provider) |