summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorBarry Warsaw2015-06-03 02:05:40 +0000
committerBarry Warsaw2015-06-02 22:13:53 -0400
commit955abee5c16a4a35f270c54cb8d658c4445b4b18 (patch)
tree24da89bce0b16970b17daffe1071db546d272dc3 /src
parente57787d8f6ff0cc8b1e30f2531a56eaf9a28511a (diff)
downloadmailman-955abee5c16a4a35f270c54cb8d658c4445b4b18.tar.gz
mailman-955abee5c16a4a35f270c54cb8d658c4445b4b18.tar.zst
mailman-955abee5c16a4a35f270c54cb8d658c4445b4b18.zip
Diffstat (limited to 'src')
-rw-r--r--src/mailman/app/registrar.py2
-rw-r--r--src/mailman/app/tests/test_subscriptions.py2
-rw-r--r--src/mailman/docs/NEWS.rst1
3 files changed, 4 insertions, 1 deletions
diff --git a/src/mailman/app/registrar.py b/src/mailman/app/registrar.py
index 240742bc0..1b051a7f3 100644
--- a/src/mailman/app/registrar.py
+++ b/src/mailman/app/registrar.py
@@ -104,4 +104,4 @@ def handle_ConfirmationNeededEvent(event):
event.mlist.preferred_language.code))
text = _(template)
msg = UserNotification(email_address, confirm_address, subject, text)
- msg.send(event.mlist)
+ msg.send(event.mlist, add_precedence=False)
diff --git a/src/mailman/app/tests/test_subscriptions.py b/src/mailman/app/tests/test_subscriptions.py
index 2d5a3733b..fa51184a9 100644
--- a/src/mailman/app/tests/test_subscriptions.py
+++ b/src/mailman/app/tests/test_subscriptions.py
@@ -489,6 +489,8 @@ approval:
self.assertEqual(message['Subject'], 'confirm {}'.format(token))
self.assertEqual(
message['From'], 'test-confirm+{}@example.com'.format(token))
+ # The confirmation message is not `Precedence: bulk`.
+ self.assertIsNone(message['precedence'])
def test_send_confirmation_pre_confirmed(self):
# A confirmation message gets sent when the address is not verified
diff --git a/src/mailman/docs/NEWS.rst b/src/mailman/docs/NEWS.rst
index de34c01d8..0fd37ed00 100644
--- a/src/mailman/docs/NEWS.rst
+++ b/src/mailman/docs/NEWS.rst
@@ -23,6 +23,7 @@ Bugs
subpart to plaintext via the `mimedel` handler. Now, a configuration
variable `[mailman]html_to_plain_text_command` in the `mailman.cfg` file
defines the command to use. It defaults to `lynx`. (Closes: #109)
+ * Confirmation messages should not be `Precedence: bulk`. (Closes #75)
Configuration
-------------