diff options
author | bwarsaw <> | 2004-02-22 22:23:35 +0000 |
---|---|---|
committer | bwarsaw <> | 2004-02-22 22:23:35 +0000 |
commit | d7eec848a0f8c6641275dd491ca558e35f2e8728 (patch) | |
tree | 704fafbdc1d66edc66e72f9e27989abe6cd0bc77 /Mailman/Deliverer.py | |
parent | 9f4fdc7caff40ff03f4059a7f1bdd6de51f57a26 (diff) | |
download | mailman2-d7eec848a0f8c6641275dd491ca558e35f2e8728.tar.gz mailman2-d7eec848a0f8c6641275dd491ca558e35f2e8728.tar.xz mailman2-d7eec848a0f8c6641275dd491ca558e35f2e8728.zip |
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.
Diffstat (limited to 'Mailman/Deliverer.py')
-rw-r--r-- | Mailman/Deliverer.py | 6 |
1 files 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) |