Re: [Mailman-Users] duplicate subscription problem
Gary Casterline wrote: > > # ../../bin/dumpdb config.pck | grep -i sudden > '[EMAIL PROTECTED]': 'en', languages > '[EMAIL PROTECTED]': 0, bogus entry in members list. > '[EMAIL PROTECTED]': 0, members > '[EMAIL PROTECTED]': 'x', passwords > '[EMAIL PROTECTED]': 264, user_options > >I think if I could clean up that line with [EMAIL PROTECTED] >from the config.pck file, I'd be ok. Is there a procedure >for editing a config.pck file? I don't know how the bogus entry got in the members dictionary, but it is definitely bogus. These entries MUST have an all lower case address as the key, and if the value is zero as here, that is also the case-preserved address. Otherwise the value is the case-preserved address. You get rid of the bogus entry with bin/withlist. bin/withlist -l listname Loading list listname (locked) The variable `m' is the listname MailList instance >>> del m.members['[EMAIL PROTECTED]'] >>> m.Save() >>> Unlocking (but not saving) list: list1 Finalizing >>> is the Python prompt. You type the indicated things on those lines. The >>> last entry is a control-D (end of file). Be sure to type the address with >>> the capital 'S' or you'll make things worse, and don't forget the m.Save(). I agree that this will fix your problem. -- Mark Sapiro <[EMAIL PROTECTED]> The highway is for gamblers, San Francisco Bay Area, Californiabetter use your sense - B. Dylan -- Mailman-Users mailing list Mailman-Users@python.org http://mail.python.org/mailman/listinfo/mailman-users Mailman FAQ: http://www.python.org/cgi-bin/faqw-mm.py Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/ Unsubscribe: http://mail.python.org/mailman/options/mailman-users/archive%40jab.org Security Policy: http://www.python.org/cgi-bin/faqw-mm.py?req=show&file=faq01.027.htp
[Mailman-Users] duplicate subscription problem
Somehow, I find an address subscribed to a list twice with a slight case difference. # ../../bin/dumpdb config.pck | grep -i sudden '[EMAIL PROTECTED]': 'en', '[EMAIL PROTECTED]': 0, '[EMAIL PROTECTED]': 0, '[EMAIL PROTECTED]': 'x', '[EMAIL PROTECTED]': 264, I think if I could clean up that line with [EMAIL PROTECTED] from the config.pck file, I'd be ok. Is there a procedure for editing a config.pck file? More info: The web interface shows two subscribers, both with lowercase S in suddenlink.net. bin/findmembers only shows one of the addresses. If I use bin/remove_members, I'm left with a broken list, in that I cannot list any members anymore. Here is what I get from the disabled cronjob: /opt/bin/python -S /opt/mailman/cron/disabled produced the following output: Traceback (most recent call last): File "/opt/mailman/cron/disabled", line 220, in ? main() File "/opt/mailman/cron/disabled", line 176, in main members = mlist.getDeliveryStatusMembers(who) File "/opt/mailman/Mailman/OldStyleMemberships.py", line 158, in getDeliveryStatusMembers return [member for member in self.getMembers() File "/opt/mailman/Mailman/OldStyleMemberships.py", line 139, in getDeliveryStatus self.__assertIsMember(member) File "/opt/mailman/Mailman/OldStyleMemberships.py", line 113, in __assertIsMember raise Errors.NotAMemberError, member Mailman.Errors.NotAMemberError: [EMAIL PROTECTED] This is mailman-2.1.9 Any help or pointers appreciated. Thanks, _Gary -- Mailman-Users mailing list Mailman-Users@python.org http://mail.python.org/mailman/listinfo/mailman-users Mailman FAQ: http://www.python.org/cgi-bin/faqw-mm.py Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/ Unsubscribe: http://mail.python.org/mailman/options/mailman-users/archive%40jab.org Security Policy: http://www.python.org/cgi-bin/faqw-mm.py?req=show&file=faq01.027.htp