On Fri, 23 Apr 1999, Janet Vratny wrote:
> Date: Fri, 23 Apr 1999 16:54:58 -0700
> From: Janet Vratny <email@example.com>
> To: Majordomo-Users@GreatCircle.COM
> Subject: Help! Novice seeks help with Restrict_Post...
> May apologies for such a basic question! I just inherited a majordomo
> service in my new job, and am trying to keep things going while I get
> up-to-speed on PERL and UNIX! ;-)
> My question: I need to severly restrict the number of folks who can post
> to some of my lists. I'm considering using the RESTRICT_POST function in
> the various .config files, pointing to a separate file (I'm thinking of
> calling it "permissions"). Is there a specific syntax I should use, or
> has someone already dealt with this?
1) in ur .config file list the *names* of the files which contain the
"allowed-to-post" email addresses
2) the files in this list must be separated by colons or spaces
3) they must not contain dots '.' in the names ( like <owner>.<list> )
4) the paths of these files must be relative to the home dir of ur lists
E.g. if ur lists are in the dir: /usr/local/majordomo/lists
and u want to restrict postings to the lists: 'fans' and 'unixnews'
then, the restrict_post variable can be set this way:
a) create another dir in lists, call it say, 'restrict'
b) then in the .config file for each list, set the variable
restrict_post = restrict/fans (for restrict on 'fans')
restrict_post = restrict/unixnews (for restrict on 'unixnews')
5) *IF* however u have more than one restrict file, for only one list,
then u can put both files in the same .config file, but separated by
colons or spaces.
E.g. If u have a list 'bolton' and want to restrict posts to two separate
groups, say: 'british' and 'americans' then the .config variable
would be set this way: (assuming the same dir setup)
restrict_post = restrict/british restrict/americans
> I've been scanning/reading every FAQ for majordomo I can find, as well as
> all the install documents--it seems that not many folks use this feature?
> Many Thanks in advance for any suggestions!
this is not a suggestion. the information is in the .config file for any
of ur current lists. plz email 1 quatloo (sp?) :)
its ok, i was once a newbie at everything... (unix majordomo perl)
joe comunale /url> www.qc.edu/~hn8qc
Queens College/OIT /off> 718-997-5919
unix/asst Sys Mgr /fax> 718-997-5678