Thanks Daniel,
I decided to simply use the moderated function. The owner would simply
have to delete the mail or resend it to the proper list if it's important...
And you are right about the "writeconfig" command which adds the
listname.config comments back into the file.
So I use the "newconfig" command and follow up with the "writeconfig"
command to recreate a complete .config file...
Thanks for the help.
Michel
----- Message d'origine -----
De : "Daniel Liston" <dliston@sonny.org>
À : "Michel Côté" <michel.cote@millenniumsend.org>;
<majordomo-users@greatcircle.com>
Envoyé : 16 août, 2002 16:40
Objet : Re: Using a second list as a nomail function
> Sorry Michel, the restrict_post variable only accepts filenames as
> arguments. If the file does exist, it should not be empty.
>
> What you might ask your service to do in support of majordomo hosting
> is to "touch" the filenames listed in the restrict_post lines of the
> listname.config files rather than force creating aliases or separate
> lists. The touch command would create files that do not exist, but
> not change any file that does exist other than it's timestamp value.
>
> Majordomo will automatically create the associated .config files for
> these newly created files the first time majordomo sees the new file.
> A catch to watch out for though, majordomo will NOT create .config
> files for filenames that contain a dot character, and therefore would
> not be able to manage that file as a list. Another gotcha is that
> some listname.extension files, zero bytes or otherwise, will act as
> flag files to majordomo. Even though these are deprecated, they are
> still recognized by the program. The following are examples of BAD
> filenames to use (unless you also expect to use their functionality);
> listname.auto, listname.closed, listname.private, listname.hidden,
> and listname.strip. Notice, these all have dots in the names which
> make them a bad idea for other restrict_post reasons too.
>
> Dan Liston
>
> Michel Côté wrote:
> >
> > Thanks Daniel,
> >
> > My host does add an alias for every list I create. I can't play
> > with the alias file without asking the server admin to rewrite the file
> > for me. One thing I'm wondering is: can I write an email address
> > instead of a filename in the restrict_post variable? The email I'm
> > thinking of is the sports-nomail-owner email or another I create for the
> > GM of each simulations.
> >
References:
|
|