aboutsummaryrefslogtreecommitdiffstats
path: root/Mailman/Bouncer.py
diff options
context:
space:
mode:
authorMark Sapiro <msapiro@value.net>2012-02-17 18:18:34 -0800
committerMark Sapiro <msapiro@value.net>2012-02-17 18:18:34 -0800
commitce7998b41a4d3980a0d4ac23207ad286678e1c95 (patch)
tree26937511260dba043ce522a6a7405824f1011dbc /Mailman/Bouncer.py
parent3d6e6f1d79d14e4aa2fb0d044949787ad818bc25 (diff)
downloadmailman2-ce7998b41a4d3980a0d4ac23207ad286678e1c95.tar.gz
mailman2-ce7998b41a4d3980a0d4ac23207ad286678e1c95.tar.xz
mailman2-ce7998b41a4d3980a0d4ac23207ad286678e1c95.zip
Subscription disabled warnings are now sent without a Precedence:
header. Bug #808821.
Diffstat (limited to '')
-rw-r--r--Mailman/Bouncer.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/Mailman/Bouncer.py b/Mailman/Bouncer.py
index 036b58a0..29fe4ea5 100644
--- a/Mailman/Bouncer.py
+++ b/Mailman/Bouncer.py
@@ -1,4 +1,4 @@
-# Copyright (C) 1998-2010 by the Free Software Foundation, Inc.
+# Copyright (C) 1998-2012 by the Free Software Foundation, Inc.
#
# This program is free software; you can redistribute it and/or
# modify it under the terms of the GNU General Public License
@@ -307,7 +307,8 @@ class Bouncer:
# set the Subject this way.
del msg['subject']
msg['Subject'] = 'confirm ' + info.cookie
- msg.send(self)
+ # Send without Precedence: bulk. Bug #808821.
+ msg.send(self, noprecedence=True)
info.noticesleft -= 1
info.lastnotice = time.localtime()[:3]
# In case the MemberAdaptor stores bounce info externally to