summaryrefslogtreecommitdiff
path: root/src/mailman/pipeline/docs/ack-headers.rst
diff options
context:
space:
mode:
authorBarry Warsaw2012-03-23 19:25:27 -0400
committerBarry Warsaw2012-03-23 19:25:27 -0400
commit25a392bf5c1a8d4d2bc63d51697350fc7dbd48bc (patch)
treef51fe7931545e23058cdb65595c7caed9b43bb0e /src/mailman/pipeline/docs/ack-headers.rst
parentaa2d0ad067adfd2515ed3c256cd0bca296058479 (diff)
parente005e1b12fa0bd82d2e126df476b5505b440ce36 (diff)
downloadmailman-25a392bf5c1a8d4d2bc63d51697350fc7dbd48bc.tar.gz
mailman-25a392bf5c1a8d4d2bc63d51697350fc7dbd48bc.tar.zst
mailman-25a392bf5c1a8d4d2bc63d51697350fc7dbd48bc.zip
Merge the 'owners' branch. Posting to a list's -owner address now works as
expected.
Diffstat (limited to 'src/mailman/pipeline/docs/ack-headers.rst')
-rw-r--r--src/mailman/pipeline/docs/ack-headers.rst43
1 files changed, 0 insertions, 43 deletions
diff --git a/src/mailman/pipeline/docs/ack-headers.rst b/src/mailman/pipeline/docs/ack-headers.rst
deleted file mode 100644
index dba2169e2..000000000
--- a/src/mailman/pipeline/docs/ack-headers.rst
+++ /dev/null
@@ -1,43 +0,0 @@
-======================
-Acknowledgment headers
-======================
-
-Messages that flow through the global pipeline get their headers `cooked`,
-which basically means that their headers go through several mostly unrelated
-transformations. Some headers get added, others get changed. Some of these
-changes depend on mailing list settings and others depend on how the message
-is getting sent through the system. We'll take things one-by-one.
-
- >>> mlist = create_list('_xtest@example.com')
- >>> mlist.subject_prefix = ''
-
-When the message's metadata has a `noack` key set, an ``X-Ack: no`` header is
-added.
-::
-
- >>> msg = message_from_string("""\
- ... From: aperson@example.com
- ...
- ... A message of great import.
- ... """)
-
- >>> from mailman.pipeline.cook_headers import process
- >>> process(mlist, msg, dict(noack=True))
- >>> print msg.as_string()
- From: aperson@example.com
- X-Ack: no
- ...
-
-Any existing ``X-Ack`` header in the original message is removed.
-
- >>> msg = message_from_string("""\
- ... X-Ack: yes
- ... From: aperson@example.com
- ...
- ... A message of great import.
- ... """)
- >>> process(mlist, msg, dict(noack=True))
- >>> print msg.as_string()
- From: aperson@example.com
- X-Ack: no
- ...