Great Circle Associates Majordomo-Workers
(October 1997)
 

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

Subject: mkdigest problems with 1.94.4
From: David Shaw <dshaw @ cs . jhu . edu>
Organization: Computer Science Department, The Johns Hopkins University
Date: Tue, 7 Oct 1997 19:23:42 -0400 (EDT)
To: majordomo-workers @ greatcircle . com

Hi all,

There seems to be a wee problem with mkdigest under 1.94.4.  If you are
virtual domains (eg, calling majordomo with the -c flag and an alternate
.cf file), mkdigest won't work. 

This line in majordomo (in &do_mkdigest):
open(DIGEST,
                "$homedir/digest -m -C -l $list $list_outgoing 2>&1 |");

Should read:
open(DIGEST,
                "$homedir/digest -m -C -l $list -c $cf $list_outgoing 2>&1 |");

That way, the $cf file passed to majordomo is passed on to digest. 
Without this, digest tries to use the .cf file in the main majordomo
directory, which may or may not be the correct one for the list being
mkdigested. 

diff attached below.

David

-- 
    David Shaw  |  dshaw@cs.jhu.edu  |  WWW http://www.cs.jhu.edu/~dshaw/
+---------------------------------------------------------------------------+
   "There are two major products that come out of Berkeley: LSD and UNIX.
      We don't believe this to be a coincidence." - Jeremy S. Anderson

*** majordomo.orig	Tue Oct  7 19:07:09 1997
--- majordomo	Tue Oct  7 19:23:16 1997
***************
*** 1138,1144 ****
  	# The password is valid, so run digest
  
      	    open(DIGEST, 
! 		"$homedir/digest -m -C -l $list $list_outgoing 2>&1 |");
  	    @digest_errors = <DIGEST>;
  	    close(DIGEST);
  
--- 1138,1144 ----
  	# The password is valid, so run digest
  
      	    open(DIGEST, 
! 		"$homedir/digest -m -C -l $list -c $cf $list_outgoing 2>&1 |");
  	    @digest_errors = <DIGEST>;
  	    close(DIGEST);
  


Follow-Ups:
Indexed By Date Previous: Second try: mj_shell manpage
From: Jason L Tibbitts III <tibbs@hpc.uh.edu>
Next: Re: mkdigest problems with 1.94.4
From: "Brian L. Heess - home" <DMbong@krumm.commline.com>
Indexed By Thread Previous: Second try: mj_shell manpage
From: Jason L Tibbitts III <tibbs@hpc.uh.edu>
Next: Re: mkdigest problems with 1.94.4
From: "Brian L. Heess - home" <DMbong@krumm.commline.com>

Google
 
Search Internet Search www.greatcircle.com