aboutsummaryrefslogtreecommitdiffstats
path: root/cron
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 /cron
parenteee8403942a0bdaf70d955c1571684e2e479dfef (diff)
downloadmailman2-d9efa7366817f87af212995a28cccaf457cdff40.tar.gz
mailman2-d9efa7366817f87af212995a28cccaf457cdff40.tar.xz
mailman2-d9efa7366817f87af212995a28cccaf457cdff40.zip
Added an Auto-Generated: header to password reminders. (LP: 558240)
Diffstat (limited to 'cron')
-rwxr-xr-xcron/mailpasswds2
1 files changed, 2 insertions, 0 deletions
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