Skip to content
runout-at edited this page Oct 9, 2016 · 1 revision

On looking for a description of the Group Feature i found the following thread here: Mailing List, 2004

Subject: Vexim group (new feature)

Date Index Thread: Prev Next Thread Index

Hello,

I have developped the Vexim group feature

What it does :

from the vexim GUI you can put users together in a group, when a group is public anyone on the internet can write to it, when it's not public only members can write to it. Only admin user can register someone in a group, whereas with mailing list users subscribe by themself.

What it represents :

  • 2 additional tables
  • 1 additional router to insert before the catchall
  • 363 new lines of php

How it looks :

see groupechange.png

How it is made :

I have made the php code very similar to existing vexim php code : naming, dynamic behavior, use gettext.

I have minimised impacts on exim configuration : to turn it on/off, just comment or uncomment one line in the configure file.

There a thing I don't understand : in the vexim web part, just before executing query (select, update or delete) there is no check that the connected user is an admin user. Maybe there is a check a few page before, even if it is maybe security safe it is always better to add this check just at the start of the method that does the update/insert.

How stable :

I have found no bug til now, I will use it in production shortly.

What remains to be done :

I have'nt changed the site.php file to add messages about group managment, so some information message are not valid.

When a users is deleted, it should be removed automatically from all groups, or database contraint could be added to garanty this.

How it integrates in vexim :

  • add create table from mysql-create-group.sql in mysql.sql
  • add the router thocar-groups.conf in docs/
  • add in docs/configure just before virtual_domains_catchall .include /usr/exim/thocar-groups.conf
  • add group.php files in vexim directory
  • add one item in the main menu : one line to add in admin.php for group managment

My question :

Would you like to have vexim group included in vexim ?

Personnaly I would like it to happen, because I don't wan't to branch or patch vexim, since vexim group is not intrusive, I know it cannot break other vexim feature, people that need it will enjoy and the other can just ignore it or turn it off like mailman is turned off with a single property in variables.php.

--

Thomas Carrié