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 ISMTPMessage.
def __init__(self, service, authenticated=False): (source)
Undocumented
def exists(self, user): (source)

Check whether we will relay

Call overridable willRelay method
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 ISMTPMessage.
API Documentation for Twisted, generated by pydoctor at 2011-10-27 16:02:37.