예제 #1
0
 def __init__(self, slice=None, numslices=1):
     Runner.__init__(self, slice, numslices)
     BounceMixin.__init__(self)
     # We look this function up only at startup time
     modname = 'Mailman.Handlers.' + mm_cfg.DELIVERY_MODULE
     mod = __import__(modname)
     self._func = getattr(sys.modules[modname], 'process')
     # This prevents smtp server connection problems from filling up the
     # error log.  It gets reset if the message was successfully sent, and
     # set if there was a socket.error.
     self.__logged = False
     self.__retryq = Switchboard(mm_cfg.RETRYQUEUE_DIR)
예제 #2
0
 def __init__(self, slice=None, numslices=1):
     Runner.__init__(self, slice, numslices)
     BounceMixin.__init__(self)
     # We look this function up only at startup time
     modname = 'Mailman.Handlers.' + mm_cfg.DELIVERY_MODULE
     mod = __import__(modname)
     self._func = getattr(sys.modules[modname], 'process')
     # This prevents smtp server connection problems from filling up the
     # error log.  It gets reset if the message was successfully sent, and
     # set if there was a socket.error.
     self.__logged = False
     self.__retryq = Switchboard(mm_cfg.RETRYQUEUE_DIR)
예제 #3
0
 def _cleanup(self):
     BounceMixin._cleanup(self)
     Runner._cleanup(self)
예제 #4
0
 def _cleanup(self):
     BounceMixin._cleanup(self)
     Runner._cleanup(self)