aboutsummaryrefslogtreecommitdiffstats
path: root/cron/mailpasswds
diff options
context:
space:
mode:
authorbwarsaw <>2003-02-08 07:14:13 +0000
committerbwarsaw <>2003-02-08 07:14:13 +0000
commit925200da11d52ae4d7fc664bff898f8050bef687 (patch)
tree389bbd6c076718221b427d6d6e4fa199a1729ec0 /cron/mailpasswds
parentdea51d7d5a5c5d8ea6900a838a12e230b7a000b6 (diff)
downloadmailman2-925200da11d52ae4d7fc664bff898f8050bef687.tar.gz
mailman2-925200da11d52ae4d7fc664bff898f8050bef687.tar.xz
mailman2-925200da11d52ae4d7fc664bff898f8050bef687.zip
Backporting from the trunk.
Diffstat (limited to 'cron/mailpasswds')
-rwxr-xr-xcron/mailpasswds4
1 files changed, 4 insertions, 0 deletions
diff --git a/cron/mailpasswds b/cron/mailpasswds
index 2c36313d..348ca336 100755
--- a/cron/mailpasswds
+++ b/cron/mailpasswds
@@ -136,6 +136,10 @@ def main():
for mlist in byhost[host]:
listaddr = mlist.GetListEmail()
for member in mlist.getMembers():
+ # The user may have disabled reminders for this list
+ if mlist.getMemberOption(member,
+ mm_cfg.SuppressPasswordReminder):
+ continue
# Group by the lower-cased address, since Mailman always
# treates person@dom.ain the same as PERSON@dom.ain.
password = mlist.getMemberPassword(member)