summaryrefslogtreecommitdiff
path: root/src/mailman/app/docs
diff options
context:
space:
mode:
authorBarry Warsaw2011-07-15 18:48:32 -0400
committerBarry Warsaw2011-07-15 18:48:32 -0400
commit6a535715b6cd286df1bbbefe20b42a6ad0cc3390 (patch)
treec46c4da417f360bdf002f2511a55cd155a14026c /src/mailman/app/docs
parent651fe5ef452e6ae7cba741c819f9fcc994688753 (diff)
downloadmailman-6a535715b6cd286df1bbbefe20b42a6ad0cc3390.tar.gz
mailman-6a535715b6cd286df1bbbefe20b42a6ad0cc3390.tar.zst
mailman-6a535715b6cd286df1bbbefe20b42a6ad0cc3390.zip
Factor out bounce detection to flufl.bounce.
Diffstat (limited to 'src/mailman/app/docs')
-rw-r--r--src/mailman/app/docs/bounces.txt31
1 files changed, 0 insertions, 31 deletions
diff --git a/src/mailman/app/docs/bounces.txt b/src/mailman/app/docs/bounces.txt
index f18569743..f825064e3 100644
--- a/src/mailman/app/docs/bounces.txt
+++ b/src/mailman/app/docs/bounces.txt
@@ -99,34 +99,3 @@ passed in as an instance of a ``RejectMessage`` exception.
I sometimes say something important.
<BLANKLINE>
--...--
-
-
-Scanning a message
-==================
-
-When a message hits the ``-bounces`` address for a mailing list, it is scanned
-to see if it we can dig out a set of addresses that have bounced.
-
- >>> msg = message_from_string("""\
- ... To: test-bounces@example.com
- ... From: postmaster@example.org
- ... Content-Type: multipart/report; report-type=delivery-status;
- ... boundary="AAA"
- ...
- ... --AAA
- ... Content-Type: message/delivery-status
- ...
- ... Action: failed
- ... Status: 5.0.0 (recipient reached disk quota)
- ... Original-Recipient: rfc822; aperson@example.net
- ... Final-Recipient: rfc822; anne.person@example.net
- ...
- ... --AAA--
- ... """)
-
-The DSN bouncer will return the ``Original-Recipient:`` in preference to the
-``Final-Recipient:``.
-
- >>> from mailman.app.bounces import scan_message
- >>> print scan_message(mlist, msg)
- set([u'aperson@example.net'])