aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/bounces
diff options
context:
space:
mode:
authorbwarsaw <>2004-02-22 22:34:50 +0000
committerbwarsaw <>2004-02-22 22:34:50 +0000
commit128af0573c554be30be6397a11d66e69e888c565 (patch)
tree0dfba159a85865df0b0519d5a6ef7b07a3242c81 /scripts/bounces
parentd7eec848a0f8c6641275dd491ca558e35f2e8728 (diff)
downloadmailman2-128af0573c554be30be6397a11d66e69e888c565.tar.gz
mailman2-128af0573c554be30be6397a11d66e69e888c565.tar.xz
mailman2-128af0573c554be30be6397a11d66e69e888c565.zip
Much refactoring to improve bounce processing. The basic change moves the
queuing of bounce events out of the process's memory and into a 'bounce event' file, essentially consisting of a stream of pickles. Every once in a while the qrunner wakes up and processes the event file, which is named to be specific to each qrunner instance. The actually processing is factored out into a mixin class which is now subclassed by both the BounceRunner and OutgoingRunner classes (since the latter has to handle SMTP rejects as bounces). Specific changes include: REGISTER_BOUNCES_EVERY: Promote to a Defaults.py.in variable. BounceMixin: Mixin class for handling the basics of bounce event queuing, periodic processing, and registering, as well as cleanup. It also contains a _probe_bounce() method for handling bounces of the probe message (which cause an immediate disable). BounceRunner: Add BounceMixin as a base class.
Diffstat (limited to 'scripts/bounces')
0 files changed, 0 insertions, 0 deletions