Miguel Tarazona Belenguer wrote: >The syntax does not work. I put the config directive in a file >posters.config and when I aply the config this is the result: > >system:~/scripts/listas/mailman/config# cat posters.config >posters='[EMAIL PROTECTED]'
First of all, posters is a list of strings, not a string so that should be posters=['[EMAIL PROTECTED]'] >system:~/scripts/listas/mailman/config# config_list -v -i posters.config >testlist >attribute "posters" changed > >system:~/scripts/listas/mailman/config# config_list -o - testlist | grep >posters >posters = '[EMAIL PROTECTED]' >forbidden_posters = [] > > >As you can see, the config_list script adds one extra backslash before >the dot, so the regexp is not correct, I don't figure how to solve it >and I don't know why it happens. It appears that config_list is escaping the '\' character by doubling it. If this still occurs after you make it a list, You can try setting posters using withlist. For example: $ bin/withlist -l testlist Loading list testlist (locked) The variable `m' is the testlist MailList instance >>> m.posters=['[EMAIL PROTECTED]'] >>> m.Save() >>> <- control-D Unlocking (but not saving) list: mailman Finalizing $ -- Mark Sapiro <[EMAIL PROTECTED]> The highway is for gamblers, San Francisco Bay Area, California better 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