import cherrypy from .web import Server from .imapplugin import ImapPlugin def run(): server=Server() imap=ImapPlugin( cherrypy.engine ) imap.subscribe() cherrypy.quickstart(server) if __name__=="__main__": run()