aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMark Sapiro <msapiro@value.net>2012-11-01 20:19:11 -0700
committerMark Sapiro <msapiro@value.net>2012-11-01 20:19:11 -0700
commitd9efa7366817f87af212995a28cccaf457cdff40 (patch)
tree629d34fbe7614c6b3e542411e81ab9a1e29bb32f
parenteee8403942a0bdaf70d955c1571684e2e479dfef (diff)
downloadmailman2-d9efa7366817f87af212995a28cccaf457cdff40.tar.gz
mailman2-d9efa7366817f87af212995a28cccaf457cdff40.tar.xz
mailman2-d9efa7366817f87af212995a28cccaf457cdff40.zip
Added an Auto-Generated: header to password reminders. (LP: 558240)
-rw-r--r--NEWS2
-rwxr-xr-xcron/mailpasswds2
2 files changed, 4 insertions, 0 deletions
diff --git a/NEWS b/NEWS
index a5f961d3..fb5ce6be 100644
--- a/NEWS
+++ b/NEWS
@@ -23,6 +23,8 @@ Here is a history of user visible changes to Mailman.
Bug Fixes and other patches
+ - Added an Auto-Generated: header to password reminders. (LP: 558240)
+
- Fixed a bug where non-ascii characters in the real name in a subscription
request could throw a UnicodeEncodeError upon subscription approval and
perhaps in other situations too. (LP: 1047100)
diff --git a/cron/mailpasswds b/cron/mailpasswds
index 5745265a..da643761 100755
--- a/cron/mailpasswds
+++ b/cron/mailpasswds
@@ -226,6 +226,8 @@ def main():
finally:
i18n.set_translation(otrans)
msg['X-No-Archive'] = 'yes'
+ del msg['auto-submitted']
+ msg['Auto-Submitted'] = 'auto-generated'
# We want to make this look like it's coming from the siteowner's
# list, but we also want to be sure that the apparent host name is
# the current virtual host. Look in CookHeaders.py for why this