summaryrefslogtreecommitdiff
path: root/cron/mailpasswds
diff options
context:
space:
mode:
authormailman1998-04-03 00:18:20 +0000
committermailman1998-04-03 00:18:20 +0000
commit401503e9682fbbb32f3bce4b117a33af87936a0f (patch)
tree361ddd62ff01c81710a7b3cc5feee292d70d2acc /cron/mailpasswds
parent4888ff3796208f97ba6f76bb2d2586cab8e51188 (diff)
downloadmailman-401503e9682fbbb32f3bce4b117a33af87936a0f.tar.gz
mailman-401503e9682fbbb32f3bce4b117a33af87936a0f.tar.zst
mailman-401503e9682fbbb32f3bce4b117a33af87936a0f.zip
Refined the notice a bit, to include the address of the user in
question within the message.
Diffstat (limited to '')
-rwxr-xr-xcron/mailpasswds11
1 files changed, 7 insertions, 4 deletions
diff --git a/cron/mailpasswds b/cron/mailpasswds
index b084f6aaf..e7028ad81 100755
--- a/cron/mailpasswds
+++ b/cron/mailpasswds
@@ -22,6 +22,8 @@ This is a reminder, sent out once a month, about your %s
mailing list memberships. It includes your subscription info and
how to use it to change it or unsubscribe from a list.
+Passwords for address %s:
+
%s
%s
@@ -54,14 +56,15 @@ def MailAllPasswords(list, users):
header = ("%-10s %-10s %s\n%-10s %-10s %s"
% ("List", "Password", "URL", "----", "--------", "---"))
text = USERPASSWORDSTEXT % (list.host_name,
+ user,
header,
string.join(table, "\n"),
l, list.host_name,
list.host_name)
- list.SendTextToUser(subject = subj,
- recipient = user,
- text = text,
- sender = mm_cfg.MAILMAN_OWNER)
+ list.SendTextToUser(subject = subj,
+ recipient = user,
+ text = text,
+ sender = mm_cfg.MAILMAN_OWNER)
# Consolidate all the list/url/password info for each user, so we send
# the user a single message with the info for all their lists on this