diff options
| author | Barry Warsaw | 2011-05-03 09:44:54 -0400 |
|---|---|---|
| committer | Barry Warsaw | 2011-05-03 09:44:54 -0400 |
| commit | 4a183b61905b00cd23ffe4c2ecc2d5a1b5004ebd (patch) | |
| tree | 020a7b7c992f54add9d3b5fd9d8ae99547bfe4c2 /src/mailman/queue | |
| parent | eb7fca85f0b2a1a18daca761a5f5f6d9ffb76a43 (diff) | |
| download | mailman-4a183b61905b00cd23ffe4c2ecc2d5a1b5004ebd.tar.gz mailman-4a183b61905b00cd23ffe4c2ecc2d5a1b5004ebd.tar.zst mailman-4a183b61905b00cd23ffe4c2ecc2d5a1b5004ebd.zip | |
* Fix setup.py version regexp.
* Move get_verp() to class-based for easy overridding. Hook up StandardVERP
but not yet ProbeVERP.
* Use uuid.uuid4() to get unique id.
Diffstat (limited to 'src/mailman/queue')
| -rw-r--r-- | src/mailman/queue/bounce.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mailman/queue/bounce.py b/src/mailman/queue/bounce.py index d6b1576a2..35c27c6d6 100644 --- a/src/mailman/queue/bounce.py +++ b/src/mailman/queue/bounce.py @@ -26,7 +26,7 @@ import datetime from email.utils import parseaddr from lazr.config import as_timedelta -from mailman.app.bounces import get_verp +from mailman.app.bounces import StandardVERP from mailman.config import config from mailman.core.i18n import _ from mailman.interfaces.bounce import Stop @@ -190,7 +190,7 @@ class BounceRunner(Runner, BounceMixin): if not mlist.bounce_processing: return # Try VERP detection first, since it's quick and easy - addrs = get_verp(mlist, msg) + addrs = StandardVERP().get_verp(mlist, msg) if addrs: # We have an address, but check if the message is non-fatal. if scan_messages(mlist, msg) is Stop: |
