t.m.r.DomainQueuer : class documentation

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

An SMTP domain which add messages to a queue intended for relaying.
Method __init__ Undocumented
Method exists Check whether we will relay.
Method willRelay Check whether we agree to relay.
Method startMessage Add envelope to queue and returns an SMTP message.
def __init__(self, service, authenticated=False): (source)
Undocumented
def exists(self, user): (source)
Check whether we will relay.

Calls overridable willRelay method.

Raisessmtp.SMTPBadRcptRaised if the given user will not relay.
def willRelay(self, address, protocol): (source)
Check whether we agree to relay.

The default is to relay for all connections over UNIX sockets and all connections from localhost.

def startMessage(self, user): (source)
Add envelope to queue and returns an SMTP message.
API Documentation for Twisted, generated by pydoctor at 2013-11-08 22:07:30.