t.m.m.BounceDomain : class documentation

Part of twisted.mail.mail View Source View In Hierarchy

Implements interfaces: twisted.mail.mail.IDomain

A domain with no users.

This can be used to block off a domain.

Method exists Raise an exception to indicate that the user does not exist in this domain.
Method willRelay Indicate that this domain will not relay.
Method addUser Ignore attempts to add a user to this domain.
Method getCredentialsCheckers Return no credentials checkers for this domain.
def exists(self, user): (source)
Raise an exception to indicate that the user does not exist in this domain.
ParametersuserA user. (type: User)
RaisesSMTPBadRcptWhen the given user does not exist in this domain.
def willRelay(self, user, protocol): (source)
Indicate that this domain will not relay.
ParametersuserThe destination address. (type: Address)
protocolThe protocol over which the message to be relayed is being received. (type: Protocol)
ReturnsFalse. (type: bool)
def addUser(self, user, password): (source)
Ignore attempts to add a user to this domain.
ParametersuserA username. (type: bytes)
passwordA password. (type: bytes)
def getCredentialsCheckers(self): (source)
Return no credentials checkers for this domain.
ReturnsThe empty list. (type: list)
API Documentation for Twisted, generated by pydoctor at 2013-11-08 22:07:30.