On 9/24/15 1:47 PM, Matthew Saltzman wrote: > > 1. Could someone show me the right syntax to catch all embedded > dots in the part before the '+'?
^.*\..*\+.*@ for any domain or ^.*\..*\+.*@gmail.com$ for only gmail.com. > 2. Is there a way to script removing all my experimentation from > the ban lists on multiple mailing lists? Things are looking > pretty cluttered by now on the privacy admin pages. See the withlist script at <https://www.msapiro.net/scripts/add_banned.py>. In that script, replace the line mlist.ban_list.append(address) with mlist.ban_list = [] For that script, you would still need to supply an 'address_to_ban' argument even though it's ignored. You could make an even simpler withlist script along the lines of def init_ban_list(mlist): if not mlist.Locked(): mlist.Lock() mlist.ban_list = [] mlist.Save() mlist.Unlock() -- 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