First, a side-note. I haven't caught up on mail from this list yet,
but it just struck me that one way to do all these flags would be with
a directory for each mailing list:
$listdir/$listname/members --the membership
$listdir/$listname/info --the long description
$listdir/$listname/description --the short description
$listdir/$listname/no-advertise --if it exists, don't advertise in "info"
$listdir/$listname/secret-membership --don't let anyone see membership
$listdir/$listname/auto-accept --auto approve
$listdir/$listname/closed-membership --always require approval.
$listdir/$listname/pre-edit-perl --code to eval before adding members
$listdir/$listname/post-edit-perl --code to eval after adding members
This eliminates the need to parse a .config file, and you also get
one entry in $listdir per mailing list. The changes to majordomo
would be small, since you'd just have to change ".info" to "/info",
etc.
Ok, that was a long side-note.
-----------
What I started to write this note about was the problem of
some mailing lists including sub-mailing lists. For example,
the Drew University Alumni mailing list (drewids) has a "announcements
only" version (drewids-news). I've added "drewids" to the
"drewids-news" mailing list, so that one is a superset of the
other. I manually made sure that people were not on both lists.
The problem is that this causes majordomo to be called twice, users
get extra "Received:" lines, and there are other problems. I
have some lists that are subsets and supersets that would make
any ven-diagrammer scream.
I solved the problem as follows, and it has the benefit that Sendmail
removes any duplicates for me! People can join drewids and
drewids-news and not get the messages twice!
Rather than subscribing one mailing list to the other mailing
list, I simply list the "right" include files on the -outgoing
line in aliases. I don't know why I didn't do this much earlier!
drewids-outgoing: :include:/mnts/mail/conf/majordomo/Lists/drewids,
drewids-archive
drewids-news-outgoing: :include:/mnts/mail/conf/majordomo/Lists/drewids-news,
:include:/mnts/mail/conf/majordomo/Lists/drewids, drewids-news-archive
-Tom
--
Tom Limoncelli -- tal@warren.mentorg.com (work) -- tal@plts.org (play)
"Some people run 'biff' to alert them that | Disclaimer: I do not
they have new email. I run '/bin/true'". | speak for Mentor Graphics.
|
|