summaryrefslogtreecommitdiff
path: root/Mailman/Queue/OutgoingRunner.py
diff options
context:
space:
mode:
authorbwarsaw2002-02-12 04:47:04 +0000
committerbwarsaw2002-02-12 04:47:04 +0000
commitf5b21ea7b94b1c291771e68425b274874096ae3e (patch)
tree3ac79d31925d6a137f53c8a97b7fad30e933948b /Mailman/Queue/OutgoingRunner.py
parentb343a739d835fcbb9f67b1628aae0042a87b86b4 (diff)
downloadmailman-f5b21ea7b94b1c291771e68425b274874096ae3e.tar.gz
mailman-f5b21ea7b94b1c291771e68425b274874096ae3e.tar.zst
mailman-f5b21ea7b94b1c291771e68425b274874096ae3e.zip
Diffstat (limited to 'Mailman/Queue/OutgoingRunner.py')
-rw-r--r--Mailman/Queue/OutgoingRunner.py16
1 files changed, 7 insertions, 9 deletions
diff --git a/Mailman/Queue/OutgoingRunner.py b/Mailman/Queue/OutgoingRunner.py
index cce06b4be..10dda86af 100644
--- a/Mailman/Queue/OutgoingRunner.py
+++ b/Mailman/Queue/OutgoingRunner.py
@@ -1,4 +1,4 @@
-# Copyright (C) 2000,2001 by the Free Software Foundation, Inc.
+# Copyright (C) 2000,2001,2002 by the Free Software Foundation, Inc.
#
# This program is free software; you can redistribute it and/or
# modify it under the terms of the GNU General Public License
@@ -42,16 +42,14 @@ class OutgoingRunner(Runner):
# Maps mailing lists to (recip, msg) tuples
self._permfailures = {}
self._permfail_counter = 0
+ # We never lock the lists, but we need to be sure that MailList
+ # objects read from the cache are always fresh.
+ self._freshen = 1
def _dispose(self, mlist, msg, msgdata):
- # See if we should VERP this message.
- if mm_cfg.VERP_DELIVERY_INTERVAL > 0:
- if mm_cfg.VERP_DELIVERY_INTERVAL == 1:
- # VERP every time
- msgdata['verp'] = 1
- elif not int(mlist.post_id) % mm_cfg.VERP_DELIVERY_INTERVAL:
- msgdata['verp'] = 1
- # Fortunately, we do not need the list lock to do deliveries.
+ # Fortunately, we do not need the list lock to do deliveries. However
+ # this does mean that we aren't as responsive to changes in list
+ # configuration, since we never reload the list configuration.
handler = mm_cfg.DELIVERY_MODULE
modname = 'Mailman.Handlers.' + handler
mod = __import__(modname)