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.

News Films

Our little film studio focuses on telling developer-centric stories that need to be seen.

Beyond Code: Season 3 / GopherCon 2015

0:00 / 0:00