From d7eec848a0f8c6641275dd491ca558e35f2e8728 Mon Sep 17 00:00:00 2001 From: bwarsaw <> Date: Sun, 22 Feb 2004 22:23:35 +0000 Subject: sendProbe(): Add key 'probe_token' to the metadata. This is used by the OutgoingRunner for easier handling of probe messages which are rejected at SMTP time. --- Mailman/Deliverer.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/Mailman/Deliverer.py b/Mailman/Deliverer.py index 2479c91a..49a88a1b 100644 --- a/Mailman/Deliverer.py +++ b/Mailman/Deliverer.py @@ -217,5 +217,7 @@ is required."""))) text = MIMEText(text, _charset=Utils.GetCharSet(ulang)) outer.attach(text) outer.attach(MIMEMessage(msg)) - # Turn off further VERP'ing in the final delivery step - outer.send(self, envsender=probeaddr, verp=False) + # Turn off further VERP'ing in the final delivery step. We set + # probe_token for the OutgoingRunner to more easily handling local + # rejects of probe messages. + outer.send(self, envsender=probeaddr, verp=False, probe_token=token) -- cgit v1.2.3