Great Circle Associates Majordomo-Users
(May 1996)
 

Indexed By Date: [Previous] [Next] Indexed By Thread: [Previous] [Next]

Subject: Re: administrivia
From: Hugh Messenger <hugh @ garply . com>
Date: Wed, 15 May 1996 23:15:25 -0500 (CDT)
To: Sean Davies <sean @ hursley . ibm . com>
Cc: Majordomo Users mailing list <majordomo-users @ GreatCircle . COM>
In-reply-to: <9605151248.AA19695@hursley.ibm.com>



On Wed, 15 May 1996, Sean Davies wrote:

> Is it really the case that if any posting to a list contains the word
> subscribe or unsubscribe in the text and administrivia is set to yes then
> the posting is forwarded to the list owner ? It certainly seems to be the
> case for me ...

That is the theory.

My problem right now is that I can't turn the damn administrivia setting
off!  Even with ...

        # administrivia      [bool] (yes) <resend>
administrivia     =   no

... in the config, any message with those keywords still gets bounced as
an admin request.  This is driving me stone crazy.

Anyone got any suggestions?

The following little perl test churns out the right answer:

#==============================================
#!/usr/local/bin/perl

require "./config_parse.pl";
$opt_l = "fed-lr-er";

&get_config("/usr/local/majordomo/lists","fed-lr-er");

$opt_s = &cf_ck_bool($opt_l,"administrivia")
                        if &cf_ck_bool($opt_l,"administrivia");

if (defined($opt_s)) {
  print "opt_s is defined\n";
}
else {
  print "opt_s is NOT defined\n";
}
#===============================================

... so the tests in resend should be working!

Setup is ...

Majordomo 1.93
OSF 3.0
perl 5.002

   -- hugh





Follow-Ups:
References:
Indexed By Date Previous: [no subject]
From: pc9@home.icm.ac.cn (pc9)
Next: Digest Index
From: "Mogens L. Gilmour" <mogens@webcoach.com>
Indexed By Thread Previous: administrivia
From: "Sean Davies" <sean@hursley.ibm.com>
Next: Re: administrivia
From: Richard Pieri <ratinox@unilab.dfci.harvard.edu>

Google
 
Search Internet Search www.greatcircle.com