[Mailman-Developers] mailpasswds and SuppressPasswordReminder
Jon Parise
jon at csh.rit.edu
Mon Feb 3 22:35:30 EST 2003
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 person at dom.ain the same as PERSON at dom.ain.
> password = mlist.getMemberPassword(member)
--
Jon Parise (jon at csh.rit.edu) :: http://www.csh.rit.edu/~jon/
More information about the Mailman-Developers
mailing list