next up previous contents index
Next: 11. List configuration parameters Up: Sympa Mailing Lists Management Software Previous: 9. Mailing list definition   Contents   Index

Subsections


10. Creating and editing mailing using the web

The management of mailing lists by list owners will usually be done via the web interface. This is based on a strict definition of privileges which pertain respectively to the listmaster, to the main list owner, and to basic list owners. The goal is to allow each listmaster to define who can create lists, and which parameters may be set by owners. Therefore, a complete installation requires some careful planning, although default values should be acceptable for most sites.

Some features are already available, others will be shortly, as specified in the documentation.

10.1 List creation

Listmasters have all privileges. Currently the listmaster is defined in sympa.conf but in the future, it might be possible to define one listmaster per virtual robot. By default, newly created lists must be activated by the listmaster. List creation is possible for all intranet users (i.e. : users with an e-mail address within the same domain as Sympa). This is controlled by the create_list scenario.

10.1.1 create_list scenario

This scenario can apply any condition concerning the [sender] (ie: WWSympa user), and it must return reject, do_it or listmaster. Only in cases where a user is authorized by the create_list scenario will the "create" button be available in the main menu. If the scenario returns do_it, the list will be created and installed. If the scenario returns "listmaster", the user is allowed to create a list, but the list is created with the pending status, which means that only the list owner may view or use it. The listmaster will need to open the list of pending lists using the "pending list" button in the "server admin" menu in order to install or refuse a pending list.

10.1.2 typical list profile

Mailing lists can have many different uses. Sympa offers a wide choice of parameters to adapt a list's behavior to different situations. Users might have difficulty selecting all the correct parameters, so instead the create list form asks the list creator simply to choose a profile for the list, and to fill in the owner's e-mail and the list subject together with a short description.

List profiles can be stored in ~sympa/etc/create_list_templates or ~sympa/bin/etc/create_list_templates, which are part of the Sympa distribution and should not be modified. ~sympa/etc/create_list_templates, which will not be overwritten by make install, is intended to contain site customizations.

A list profile is an almost complete list configuration, but with a number of missing fields (such as owner e-mail) to be replaced by WWSympa at installation time. It is easy to create new list templates by modifying existing ones. Contributions to the distribution are welcome.

You might want to hide or modify profiles (not useful, or dangerous for your site). If a profile exists both in the local site directory ~sympa/etc/create_list_templates and ~sympa/bin/etc/create_list_templates directory, then the local profile will be used by WWSympa.

Another way to control publicly available profiles is to edit the create_list.conf file (the default for this file is in the ~sympa/bin/etc/ directory, and you may create your own customized version in ~sympa/etc/). This file controls which of the available list templates are to be displayed. Example :

# Do not allow the public_anonymous profile
public_anonymous hidden
* read

When a list is created, whatever its status (pending or open), the owner can use WWSympa admin features to modify list parameters (future version), or to edit the welcome message, and so on.

WWSympa logs the creation and all modifications to a list as part of the list's config file (and old configuration files are saved).

10.1.3 creating list alias

If you defined an alias_manager in wwsympa.conf (see 5.3.1, page [*]), WWSympa will run this script for installing aliases. You can write your own alias_manager script, adapted to your MTA or mail configuration, provided that it recognizes the same set of parameters.


10.2 List edition

For each parameter, you may specify (via the ~sympa/etc/edit_list.conf configuration file) who has the right to edit the parameter concerned ; the default ~sympa/bin/etc/edit_list.conf is reasonably safe.

     examples :

         \# only listmaster can edit user\_data\_source, priority, ...
         user\_data\_source listmaster  

         priority listmaster
      
         \# only privileged owner can modify  editor parameter, send, ...
         editor privileged\_owner

         send privileged\_owner

         \# other parameters can be changed by simple owners
         default owner

Privileged owners are defined in the list's config file as follows :

		owner
		email owners.email@foo.bar
      		profile privileged

The following rules are hard coded in WWSympa :

Sympa aims to define two levels of trust for owners (some being entitled simply to edit secondary parameters such as "custom_subject", others having the right to manage more important parameters), while leaving control of crucial parameters (such as the list of privileged owners and user_data_sources) in the hands of the listmaster. Consequently, privileged owners can change owners' e-mails, but they cannot grant the responsibility of list management to others without referring to the listmaster.


next up previous contents index
Next: 11. List configuration parameters Up: Sympa Mailing Lists Management Software Previous: 9. Mailing list definition   Contents   Index
root 2001-06-05