summaryrefslogtreecommitdiff
path: root/src/mailman/rest/docs
diff options
context:
space:
mode:
authorMark Sapiro2016-11-01 19:36:14 -0700
committerMark Sapiro2016-11-01 19:36:14 -0700
commit8e0795f728c86ac88fba8894a827081c7852451b (patch)
tree43116bf78e1db412c5381986c5043a5732a78a2c /src/mailman/rest/docs
parent2adcc70b65749c8fe616ac61c93765aade75c783 (diff)
downloadmailman-8e0795f728c86ac88fba8894a827081c7852451b.tar.gz
mailman-8e0795f728c86ac88fba8894a827081c7852451b.tar.zst
mailman-8e0795f728c86ac88fba8894a827081c7852451b.zip
Added new list DMARC attributes to rest/listconf.py and updated tests.
Diffstat (limited to 'src/mailman/rest/docs')
-rw-r--r--src/mailman/rest/docs/listconf.rst17
1 files changed, 17 insertions, 0 deletions
diff --git a/src/mailman/rest/docs/listconf.rst b/src/mailman/rest/docs/listconf.rst
index 3434f2a3d..da9f1e299 100644
--- a/src/mailman/rest/docs/listconf.rst
+++ b/src/mailman/rest/docs/listconf.rst
@@ -44,10 +44,16 @@ All readable attributes for a list are available on a sub-resource.
digest_volume_frequency: monthly
digests_enabled: True
display_name: Ant
+ dmarc_moderation_action: none
+ dmarc_moderation_notice:
+ dmarc_none_moderation_action: False
+ dmarc_quarantine_moderation_action: True
+ dmarc_wrapped_message_text:
filter_content: False
first_strip_reply_to: False
footer_uri:
fqdn_listname: ant@example.com
+ from_is_list: none
goodbye_message_uri:
header_uri:
http_etag: "..."
@@ -110,9 +116,15 @@ When using ``PUT``, all writable attributes must be included.
... digest_size_threshold=10.5,
... digest_volume_frequency='yearly',
... digests_enabled=False,
+ ... dmarc_moderation_action='munge_from',
+ ... dmarc_moderation_notice='Some moderation notice',
+ ... dmarc_none_moderation_action=True,
+ ... dmarc_quarantine_moderation_action=False,
+ ... dmarc_wrapped_message_text='some message text',
... posting_pipeline='virgin',
... filter_content=True,
... first_strip_reply_to=True,
+ ... from_is_list='none',
... convert_html_to_plaintext=True,
... collapse_alternatives=False,
... reply_goes_to_list='point_to_list',
@@ -162,6 +174,11 @@ These values are changed permanently.
digest_volume_frequency: yearly
digests_enabled: False
display_name: Fnords
+ dmarc_moderation_action: munge_from
+ dmarc_moderation_notice: Some moderation notice
+ dmarc_none_moderation_action: True
+ dmarc_quarantine_moderation_action: False
+ dmarc_wrapped_message_text: some message text
filter_content: True
first_strip_reply_to: True
footer_uri: