Package lamson :: Module server
[hide private]
[frames] | no frames]

Module server

source code

The majority of the server related things Lamson needs to run, like receivers, relays, and queue processors.

Classes [hide private]
  SMTPError
You can raise this error when you want to abort with a SMTP error code to the client.
  Relay
Used to talk to your "relay server" or smart host, this is probably the most important class in the handlers next to the lamson.routing.Router.
  SMTPReceiver
Receives emails and hands it to the Router for further processing.
  QueueReceiver
Rather than listen on a socket this will watch a queue directory and process messages it recieves from that.
Functions [hide private]
 
undeliverable_message(raw_message, failure_type)
Used universally in this file to shove totally screwed messages into the routing.Router.UNDELIVERABLE_QUEUE (if it's set).
source code
Variables [hide private]
  __package__ = 'lamson'
Function Details [hide private]

undeliverable_message(raw_message, failure_type)

source code 

Used universally in this file to shove totally screwed messages into the routing.Router.UNDELIVERABLE_QUEUE (if it's set).


Variables Details [hide private]

__package__

Value:
'lamson'