Wynn Netherland changelog.com/posts

SMTPRoutes - Python-powered SMTP server with Sinatra-style routes

A cool project from Benjamin E. Coe for SMTP using an elegant DSL in Python:

class ExampleRoute(Route):

    def open_route(self):
        print "%s at %s sent the message: nn %s" % (

Messages are routed to methods in your class based upon rules in the @route decorator. Routes can even specify sender authentication:

@route(r'(?P<prefix>spf)@(?P<suffix>.*)', sender_auth=SPFAuth)

Check the README for complete feature list and usage information.


Sign in or Join to comment or subscribe

Player art
  0:00 / 0:00