An SMTP domain which keeps relayable pickles of all messages
Methods
|
|
__init__
exists
startMessage
willRelay
|
|
__init__
|
__init__ ( self, path )
Initialize
First argument is the directory in which pickles are kept
|
|
exists
|
exists (
self,
user,
success,
failure,
)
Check whether we will relay
Call overridable willRelay method
|
|
startMessage
|
startMessage ( self, user )
save a relayable pickle of the message
The filename is uniquely chosen.
The pickle contains a tuple: from, to, message
|
|
willRelay
|
willRelay ( self, protocol )
Check whether we agree to relay
The default is to relay for non-inet connections or for
localhost inet connections. Note that this means we are
an open IPv6 relay
|
|