Re: [Mailman-Users] Allow a domain to post to a list
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]' 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. -Mensaje original- De: Mark Sapiro [mailto:[EMAIL PROTECTED] Enviado el: lunes, 16 de mayo de 2005 17:38 Para: Miguel Tarazona Belenguer; mailman-users@python.org Asunto: Re: [Mailman-Users] Allow a domain to post to a list Miguel Tarazona Belenguer wrote: This is my config file: ... = [] posters = ['@my.uni.es'] ... And I want to allow all members of the domain my.uni.es to post to the list but I don't fint the correct syntax to do this (if it can be done) This is an old version of Mailman. Those attributes don't exist in current versions, but assuming that current syntax might apply here, try posters = ['[EMAIL PROTECTED]'] This assumes that a regular expression is allowed in the 'posters' list and an initial '^' signals a regular expression. In current Mailman, this would be 'accept_these_nonmembers' and the above syntax would work. -- 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=showamp;file=faq01.027.htp
Re: [Mailman-Users] Allow a domain to post to a list
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, 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=showamp;file=faq01.027.htp
[Mailman-Users] Allow a domain to post to a list
I've been searching but I don't found the right way to do this. This is my config file: ... # Use this option if you want to restrict posting to list members. If # you want list members to be able to post, plus a handful of other # posters, see the i posters /i setting below # # legal values are: #0 = No #1 = Yes member_posting_only = 1 # Adding entries here will have one of two effects, according to whether # another option restricts posting to members. ul li If # imember_posting_only/i is 'yes', then entries added here will have # posting privilege in addition to list members. li If # imember_posting_only/i is 'no', then emonly/em the posters # listed here will be able to post without admin approval. /ul #posters = [] posters = ['@my.uni.es'] ... And I want to allow all members of the domain my.uni.es to post to the list but I don't fint the correct syntax to do this (if it can be done) thanks people -- 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=showamp;file=faq01.027.htp
Re: [Mailman-Users] Allow a domain to post to a list
Miguel Tarazona Belenguer wrote: This is my config file: ... # Use this option if you want to restrict posting to list members. If # you want list members to be able to post, plus a handful of other # posters, see the i posters /i setting below # # legal values are: #0 = No #1 = Yes member_posting_only = 1 # Adding entries here will have one of two effects, according to whether # another option restricts posting to members. ul li If # imember_posting_only/i is 'yes', then entries added here will have # posting privilege in addition to list members. li If # imember_posting_only/i is 'no', then emonly/em the posters # listed here will be able to post without admin approval. /ul #posters = [] posters = ['@my.uni.es'] ... And I want to allow all members of the domain my.uni.es to post to the list but I don't fint the correct syntax to do this (if it can be done) This is an old version of Mailman. Those attributes don't exist in current versions, but assuming that current syntax might apply here, try posters = ['[EMAIL PROTECTED]'] This assumes that a regular expression is allowed in the 'posters' list and an initial '^' signals a regular expression. In current Mailman, this would be 'accept_these_nonmembers' and the above syntax would work. -- 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=showamp;file=faq01.027.htp