On 04/21/2016 06:02 AM, Martin Stein wrote: > Hello, > > I'm looking for a way to send the monthly password reminder message > without the member(s) password(s). The list member should only see the > name(s) of the subcribed list(s) and the corresponding URL. > How can I modify the responsible mailpasswds-Script in > /usr/lib/mailman/cron to preventing it from sending the password(s)?
At around line 242 you will see try: password = mlist.getMemberPassword(member) except Errors.NotAMemberError: # Here's a member with no passwords, which I think was # possible in older versions of Mailman. Log this and # move on. syslog('error', 'password-less member %s for list %s', member, mlist.internal_name()) continue (although not wrapped). Remove all those lines and replace them with the one line password = '****' or something similar indented the same 16 spaces as the 'try' (don't use tabs). This is the easiest change and will show the passwords as ****. Eliminating the passwords completely is a more complex change. -- Mark Sapiro <m...@msapiro.net> The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan ------------------------------------------------------ Mailman-Users mailing list Mailman-Users@python.org https://mail.python.org/mailman/listinfo/mailman-users Mailman FAQ: http://wiki.list.org/x/AgA3 Security Policy: http://wiki.list.org/x/QIA9 Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/ Unsubscribe: https://mail.python.org/mailman/options/mailman-users/archive%40jab.org