On Sun, Feb 02, 2003 at 09:14:22PM -0500, Jon Parise wrote:

> It looks like the "massive rewrite" that occured between revisions 2.5
> and 2.5 of cron/mailpasswds removed the SuppressPasswordReminder
> check.
> 
> Attached is a totally untested patch provided simply to suggest a
> possible fix.
 
Just a note that I was able to verify that the following patch does
indeed fix the problem.  I'll submit a SourceForge patch so this
doesn't get lost.

> Index: mailpasswds
> ===================================================================
> RCS file: /cvsroot/mailman/mailman/cron/mailpasswds,v
> retrieving revision 2.14
> diff -u -r2.14 mailpasswds
> --- mailpasswds       2 Jan 2003 05:40:57 -0000       2.14
> +++ mailpasswds       3 Feb 2003 02:12:47 -0000
> @@ -136,6 +136,10 @@
>          for mlist in byhost[host]:
>              listaddr = mlist.GetListEmail()
>              for member in mlist.getMembers():
> +                # The user may have disabled password reminders for this list
> +                if mlist.getMemberOption(member,
> +                                         mm_cfg.SuppressPasswordReminder):
> +                    continue
>                  # Group by the lower-cased address, since Mailman always
>                  # treates [EMAIL PROTECTED] the same as [EMAIL PROTECTED]
>                  password = mlist.getMemberPassword(member)

-- 
Jon Parise ([EMAIL PROTECTED])  ::  http://www.csh.rit.edu/~jon/

_______________________________________________
Mailman-Developers mailing list
[EMAIL PROTECTED]
http://mail.python.org/mailman/listinfo/mailman-developers

Reply via email to