Munrich:
First check your environment space. If $HOME is not set the script won't be
able to find .majordomo
you can also add something like this:
$opt_f = "/usr/local/majordom/lists/.majordomo";
#you no longer need this if(), but it does no harm to keep it
if (!defined($opt_f)) {
$opt_f = "$ENV{HOME}/.majordomo";
}
Cheers
Ari
oooooooooooooooooooooooooooooooooooooooooooooo
O Ariel Spivakovsky O
O spiv@wotan.cns.nyu.edu O
O ------------------------- O
oooooooooooooooooooooooooooooooooooooooooooooo
On Thu, 3 Aug 1995, Munirih Hodge wrote:
> Hi there,
>
> I am trying to get the moderated list to work. I have got it half working.
> I able to get messages sent to the list to come to me for approval but I am
> having trouble approving the messages once I get them.
>
> I have read the info in the FAQ "HOW DO I SET UP A MODERATED LIST?" but I am
> unsure how to tag the message as "approved". I am on a UNIX System using Perl.
>
> I have tried it a different way as described in the O'Reilley book "Managing
> Internet Information Systems" by saving the message in a file and then
> creating a .majordomo file in my home directory with the entry of the owner
> list in it. But when I run the approve script:
>
> approve filename
>
> I get the following error message:
>
> open(CONF, "//.majordomo"): No such file or directory at ./approve line 217.
>
> Any help would be appreciated.
> Munirih Hodge
> mhodge@hq.marh.gov.bc.ca
>
References:
|
|