Skip to Content.
Sympa Menu

en - Re: [sympa-users] List members can be added before list is installed.

Subject: The mailing list for listmasters using Sympa

List archive

Chronological Thread  
  • From: Warren Howard <address@concealed>
  • To: Serge Aumont <address@concealed>
  • Cc: address@concealed
  • Subject: Re: [sympa-users] List members can be added before list is installed.
  • Date: Fri, 20 Oct 2006 11:20:47 +0530

Hi!

On 10/20/2006 02:01 AM, Serge Aumont wrote:
Warren Howard a écrit :
Hi,

I'm using Sympa 5.2.1.  My "create_list" authorization scenario is
"intranet".  I'm facing a problem here where list owners are able to and
are adding list members before the list has been approved and
"installed" by the listmaster (me).

I would like to prevent list owners from adding members to their list
until the list has been approved by the listmaster.
  
Why is this a problem : nobody can send message to the list ?
I have some naming conventions here for lists that I insist people follow.  These are documented in several places including the "create list" page (I've set up customised "create_list_templates").  Never the less as soon as they create a list they start adding list members --- which also generates welcome messages, because invariable they wont use "quiet".  Then I come along as listmaster and "close" the list because it is not following the naming convention --- after the welcome messages have already gone out to the list subscribers.  This creates confusion among the subscribers because shortly they receive a second welcome message for a new list about the same thing but with a different name.  So to avoid all this I would like to prevent the addition of list members to a list until that list has been installed by the listmaster.


Can this be done?
  
Yes :  you can add a a rule to any add scenario (in order to do it create a scenario file named include.add.header.
Add the following rule in that file
equal([list->status],'pending')  smtp,md5,smime -> reject

nobody will be able to add subscriber until the list status value differ from 'pending'

Serge

Rule added, tested and working!  Plus I made changes to my local "create_list.tt2" template file so that the message after list creation submission explains that members cannot be added until after the listmaster has validated the list.
With thanks,


Warren.
  

More thanks!

Warren.



Archive powered by MHonArc 2.6.19+.

Top of Page