Joel,
I don't answer majordomo questions privately, unless there is
sensitive information in the message content that should not
be viewed by all members of the majordomo-users list publicly.
I will include direct copies of replies to the origin when I
post responses to the list, just to insure the sender receives
the reply quickly.
Perhaps before asking new questions, you should explain the
results or outcome of the recommendation that you examine the
testing.config file for a restrict_post = line. What did that
line contain? Did the filename on the right hand side of the
equals sign exist? If the filename was not "fully qualified",
did the file exist in the "lists" directory? What are the
ownership, permissions, and contents of that file? If the
RHS was empty, you should not have received an error. If the
filename is pointing to a file that had zero size, add an
address to it. "nobody@[127.0.0.1]" usually works nicely.
Since the "end result" of your error message is a positive
confirmation of the new config file being written, have you
checked the config file against what was in the email to see
if the changes "were" in fact accepted?
Also, as a majordomo tenderfoot, you should specify what MTA
and version of majordomo you are trying to run. Knowing what
OS you are running on is also helpful. The only version of
majorcool I have ever heard of is 1.32, so that is assumed on
my part, and typically, I also assume apache for a web server.
Does your MTA (sendmail, postfix, qmail, exim, etc.) work by
itself, without complicating it with majordomo?
Does majordomo work, without complicating it with majorcool?
Does your web server work? Does it support .cgi?
Is the machine/OS you are running on, yours? Hosted?
Do you have root access?
Dan Liston
"Joel M. Fisher" wrote:
>
> Hey Daniel,
>
> Thanks for the response.
>
> This problem occurs on all of my lists. I'm pretty green with majordomo.... so
> if you could answer a few simple questions for me.
>
> I would like to run majordomo from the command line so I can put a system call
> trace on it... but I'm not sure what needs to be passed to it.
>
> Would something like this work? Somehow it has to know what email address the
> request came from.
>
> # majordomo < newconfig.txt
>
> Contents of newconfig.txt something like.
>
> writeconfig testing testingpass
>
> # The configuration file for a majordomo mailing list.
> # Comments start with the first # on a line, and continue to the end
> # of the line. There is no way to escape the # character. The file
> # uses either a key = value for simple (i.e. a single) values, or uses
> # a here document
> # key << END
> # value 1
> # value 2
> # [ more values 1 per line]
> # END
> ........etc
>
> Any insight would be appreciated,
>
> Joel
>
> Daniel Liston wrote:
>
> > Look at your testing.config file for the error. You have defined
> > a "restrict_post = filename" but that filename does not exist or
> > does not have the correct ownership/permissions. This file must
> > exist "before" it can be activated via a newconfig/writeconfig
> > command.
> >
> > Dan Liston
> >
> > "Joel M. Fisher" wrote:
> > >
> > > Hey All,
> > >
> > > I'm having a problem with newconfig. Anytime a config change is
> > > submitted via email or majorcool I receive the below error.
> > >
> > > Any info would be appreciated.
> > >
> > > Thanks,
> > >
> > > Joel
> > >
> > > >>>> newconfig testing testingpass
> > > The new config file for testing was NOT accepted because:
> > > Can't find restrict_post file /opt/majordomo/lists/testing.new at line
> > > 66
> > > >>>> writeconfig testing testingpass
> > > wrote new config for list testing.
Follow-Ups:
References:
|
|