I have a script that adds an e-mail address to accept_these_nonmembers
for a number of lists. # From a Mailman-Users reply August 19, 2007 to my posting: # Mark Sapiro replied: # Not directly, but in a shell script you could prepare a file that # looks like # # mlist.accept_these_nonmembers.append('usera at example.com') # mlist.accept_these_nonmembers.append('userb at example.com') # # and so on for all the non-members you want to add and then run # # bin/config_list -i filename listname # # where filename is the name of the above file. I now have a need to add an e-mail address to acceptable_aliases for a number of lists. I took the existing script and cloned it. When I ran it I got some messages: Traceback (most recent call last): File "/usr/sbin/config_list", line 362, in ? main() File "/usr/sbin/config_list", line 357, in main do_input(listname, infile, checkonly, verbose) File "/usr/sbin/config_list", line 263, in do_input execfile(infile, globals) File "append_acceptable_aliases.file", line 1, in ? mlist.acceptable_aliases.append('testu...@example.com') AttributeError: 'str' object has no attribute 'append' I have not looked at the Mailman source, so I am not sure what is failing. Is it the case that the accept_these_nonmembers is stored in a different internal format than acceptable_aliases is? This is a 2.1.14 package built from the SourceForge source. Thanks. -- ---------------------------------------------------------------------- Barry S. Finkel Computing and Information Systems Division Argonne National Laboratory Phone: +1 (630) 252-7277 9700 South Cass Avenue Facsimile:+1 (630) 252-4601 Building 240, Room 5.B.8 Internet: bsfin...@anl.gov Argonne, IL 60439-4828 IBMMAIL: I1004994 ------------------------------------------------------ Mailman-Users mailing list Mailman-Users@python.org http://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: http://mail.python.org/mailman/options/mailman-users/archive%40jab.org