Great Circle Associates Majordomo-Workers
(January 1996)
 

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

Subject: Re: majordomo problem
From: Dave Wolfe <dwolfe @ risc . sps . mot . com>
Date: Mon, 8 Jan 1996 15:56:56 -0600 (CST)
To: hyojong @ ingress . com (Hyojong Kim)
Cc: majordomo-workers @ greatcircle . com (Majordomo developer's mailing list)
In-reply-to: <v01530502ad172b7ded58@[204.168.148.248]> from "Hyojong Kim" at Jan 8, 96 03:14:04 pm
Reply-to: Dave Wolfe <david_wolfe @ risc . sps . mot . com>

[ Hyojong Kim writes: ]
> 
> Hi! I am getting the following error message when I type in
> "echo help | /usr/lib/sendmail -v hyojong-request":
> 
> hyojong-request... aliased to "|/home/majordom/wrapper request-answer hyojong"
> Undefined subroutine "main'lopen" called at /home/majordom/majordomo.pl line 229
> , <STDIN> line 1.
> "|/home/majordom/wrapper request-answer hyojong"... Sent
> 
> I can see that main'lopen is defined in shlock.pl not in majordomo.pl.
> However, majordomo.pl doesn't require shlock.pl. What is the best way of
> fixing this problem?

Reading the FAQ:

  PROBLEMS WITH 1.93'S REQUEST-ANSWER
  
   [ Summary by Yusef Pisan ]
   There are a some known bugs in request-answer. If you get the error
   'Undefined subroutine "main'lopen"' (or "main::lopen" for Perl 5), you
   need to insert the line 'require "shlock.pl";' near the beginning of
   request-answer. The syntax of the 'do_exec_sendmail' function is
   different in majordomo than in majordomo.pl, so you need to change all
   occurences of 'do_exec_sendmail' in request-answer to something like
   'do_exec_sendmail_in_request_answer'.
   
   On line 41 where it exec()'s sendmail, change the "-f$list-request" to
   "-f$list-approval". 

-- 
 Dave Wolfe    *Not a spokesman for Motorola*  (512) 891-3246
 Motorola MMTG  6501 Wm. Cannon Dr. W. OE112  Austin  TX  78735-8598


References:
Indexed By Date Previous: Re: majordomo problem
From: Brent@GreatCircle.COM (Brent Chapman)
Next: Interesting loop
From: Mark Cheverton <sparky@hypereality.co.uk>
Indexed By Thread Previous: majordomo problem
From: hyojong@ingress.com (Hyojong Kim)
Next: Re: majordomo problem
From: Brent@GreatCircle.COM (Brent Chapman)

Google
 
Search Internet Search www.greatcircle.com