Great Circle Associates List-Managers
(December 2002)
 

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

Subject: files included into restrict_post files
From: Serge Hartmann <serge @ isdnet . net>
Organization: Cable&Wireless Research and development - http://www.cw.com/
Date: Tue, 17 Dec 2002 12:27:30 +0100 (CET)
To: list-managers @ greatcircle . com

hi there,

I just subscribed today because I didn't find anywhere an answer to my
problem.

I manage today 9 mailing-lists with majordomo 1.94.5

7 of these mailing-lists have common restriction post policies : every
email address subscribed in these 7 lists + another "friend" list is
authorized to post here.

for each of 7 files mailing-list[1-7].config I have :

restrict_post =
mailing-list-1:mailing-list-2:mailing-list-3:mailing-list-4:mailing-list-5:mailing-list-6:mailing-list-7:mailing-list-8

but I need to create 5 more mailing-lists.

this means I have to modify all *.config each time I add a list.
moreover, I have seen on usenet there would be a problem if the line is
too long.

according to majordomo documentation, I am not allowed to create a single
file like "my-lists.restrict" to include a list of files.
I am just allowed to write all the email addresses into my-lists.restrict,
not files inculding addresses.

one solution would be to call a script each 5 minutes from the crontab,
sounds like : cat (my files) | sort -u > my-lists.restrict
but this is very ugly...

does someone knows a better solution ?

-- 
Serge Hartmann                            o      _     _         _
pielagauffre@isdnet.net           _o     /\_   _ \\o  (_)\__/o  (_)
webmaster@frappadingues.org     _< \_   _>(_) (_)/<_    \_| \   _|/' \/
http://www.frappadingues.org/  (_)>(_) (_)        (_)   (_)    (_)'  _\o_



Follow-Ups:
Indexed By Date Previous: [Fwd: [VTLUUG] to all ye *nix admins ... (fwd)]
From: Greg Woods <woods@ucar.edu>
Next: Re: files included into restrict_post files
From: Jeffrey Goldberg <jeffrey@goldmark.org>
Indexed By Thread Previous: [Fwd: [VTLUUG] to all ye *nix admins ... (fwd)]
From: Greg Woods <woods@ucar.edu>
Next: Re: files included into restrict_post files
From: Jeffrey Goldberg <jeffrey@goldmark.org>

Google
 
Search Internet Search www.greatcircle.com