Great Circle Associates Majordomo-Users
(May 1995)
 

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

Subject: Re: majordomo.pl
From: "Marcos Ramirez A." <marcos @ inf . utfsm . cl>
Date: Tue, 09 May 1995 15:39:02 -0400
To: majordomo-users @ greatcircle . com
In-reply-to: Your message of "Tue, 09 May 1995 11:17:59 CST." <9505091117.ZM6930@hpcvusm.cv.hp.com>


	Hola!

> On executing the command as listed below I got an error message :
>
> Undefined subroutine "main'lopen" called at /usr/local/majordomo/majordomo.pl
> line 229, <STDIN> line 1.
> 
> Has anyone encountered this before ? What should I do to correct the code.

Change the line 

	open(MAIL, "|-") || &do_exec_sendmail();

to 
	open (MAIL, "|/usr/lib/sendmail -f$list-request -t") || 
	     die ("Failed to exec sendmail");


	This works fine for me 

								Marcos.


References:
Indexed By Date Previous: Re: majordomo.pl
From: Dave Barr <barr@math.psu.edu>
Next: Approve and medit problems
From: beaudet@citi.doc.ca (Michel Beaudet [GSI])
Indexed By Thread Previous: Re: majordomo.pl
From: Dave Barr <barr@math.psu.edu>
Next: Wrapper error
From: "Benes, George" <BenesG@dbisna.com>

Google
 
Search Internet Search www.greatcircle.com