Great Circle Associates Majordomo-Users
(September 1993)
 

Indexed By Date: [Previous] [Next] Indexed By Thread: [Previous] [Next]

Subject: A near majordomo trick
From: Tom Limoncelli <tom_limoncelli @ Warren . MENTORG . COM>
Date: Tue, 14 Sep 1993 10:37:24 -0400 (EDT)
To: majordomo-users @ GreatCircle . COM

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.


Indexed By Date Previous: Re: Majordomo addin modules
From: Alan Millar <amillar@bolis.sf-bay.org>
Next: Re: Obtaining Lists
From: "John P. Rouillard" <rouilj@cs.umb.edu>
Indexed By Thread Previous: Re: Limiting lists by domain
From: Brent Chapman <brent@GreatCircle.COM>
Next: WHO <list> [<password>] (was Re: WHICH returns only first match !?!)
From: Werner Uhrig <werner@rascal.ics.utexas.edu>

Google
 
Search Internet Search www.greatcircle.com