Re: how to change 'restrict_post' by command
"Joe R. Jah" <[email protected]> Fri, 30 Aug 2013 12:15:12 -0700 (PDT)
| Newsgroups | gmane.mail.majordomo.general |
|---|---|
| Message-ID | <[email protected]> |
On Fri, 30 Aug 2013, [email protected] wrote: > Date: Fri, 30 Aug 2013 18:03:00 +0900 > From: [email protected] > To: [email protected] > Subject: how to change 'restrict_post' by command > > Hello all, > > I want to investigate how to change 'restrict_post' setting by using > command. > This is because I want to allow mailing list administrator to change > each 'restrict_post' list. > > I think that 'restrict_post' is described to config file, and it > requires file name of member list. > > restrict_post = <filename> : <filename> : ... > > But, the administrator of ML can not access Mailing List server's local > file system. > So, he or she can not create member list files for 'restrict_post'. > > If you have any methods or ideas to solve it, would you help me by > informing me your ideas ? You can change restrict_post, along with any other parameter by changing the list configuration; send the following commands: ---8<-- config <list> <password> Retrieves a self-documenting configuration file for the list <list>. The <password> is the password contained in the admin_passwd setting of the configuration file. newconfig <list> <password> Validates and installs a new configuration file. It reads everything after the "newconfig" command to end-of-message or the word "EOF" on a line by itself as the new info for the list. The config file is expected to be a complete config file as returned by "config". Incremental changing of the config file is not yet supported. As soon as the config file is validated and installed its settings are available for use. This is useful to remember if you have multiple commands in your mail message since they will be subject to the settings of the new config file. If there is an error in the config file (incorrect value...), the config file will not be accepted and the error message identifying the problem line(s) will be returned to the sender. Note that only the error messages are returned to the sender not the entire config file, so it would be a good idea to keep a copy of your outgoing email message. writeconfig <list> <password> Write a new config file in standard form. Writeconfig forces a rewrite of the config file with all comments and default values in place. It is useful to use after an upgrade of Majordomo since it will add the new keywords for people to change. It also updates the documentation in the file if that has changed. ---8<-- Joe -- _/ _/_/_/ _/ ____________ __o _/ _/ _/ _/ ______________ _-\<,_ _/ _/ _/_/_/ _/ _/ ......(_)/ (_) _/_/ oe _/ _/. _/_/ ah [email protected]