Re: restrict-post

Daniel Liston <[email protected]>
Newsgroups gmane.mail.majordomo.general
Message-ID <[email protected]>

Fr. Robert Bower wrote:

> I am running the newconfig command on a mailing list I have called news. I am setting up the list so only the list owner can post
> 
> Everything works fine on the newconfig except for the
> restrict_post = owner-news
> line
> 
> if I set the line to
> 
> restrict_post = news
> which would restrict postings to members only the command works fine. So everything is working fine except for the when I try to set the restrict line to the owner of the list.  Any ideas?
> 

Two things;

#1
restrict_post = <filename>

To use the value "owner-news" as filename, you need to create this file in
the "lists" directory, and that file must contain the email address of the
user allowed to send posts to the list.  [email protected] perhaps.
This file should be owned by the majordomo user with 644 permissions, the
same as your other list membership files in this directory.

#2
owner-news: :include:/path/to/majordomo/lists/owner-news

This is one way to set the alias so that you only need to make changes
in one location if the owner of the list does change.  Instead of editing
the aliases file now you edit the owner-news file.  A better way, so that
you can manage this via email commands to majordomo, is to create this
alias as another list.

owner-news: "|/path/to/majordomo/wrapper resend -l owner-news owner-news-owner,nobody"
owner-news-owner: :include:/path/to/majordomo/lists/owner-news,
owner-news-request: :include:/path/to/majordomo/lists/owner-news,
owner-news-approval: :include:/path/to/majordomo/lists/owner-news,

Dan Liston
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.