Great Circle Associates Majordomo-Users
(June 1994)
 

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

Subject: Majordomo vs. PP
From: Martin Hamilton <martin @ mrrl . lut . ac . uk>
Date: Mon, 27 Jun 1994 17:29:12 +0100
To: majordomo-users @ greatcircle . com

Hi, I've just got Majordomo 1.92 working with our campus PP mailhub.  In the
process I had to change do_exec_sendmail in majordomo.pl:

*** majordomo.pl        Mon Jun 27 17:12:47 1994
--- majordomo.pl-dist   Mon Jun 27 17:08:28 1994
***************
*** 284,294 ****
      # open the process
      local(@mailer, $mailer);
      eval "\$mailer = \"$mail_prog\"";
  sub do_exec_sendmail {
!     exec "@_";
        die("Failed to exec mailer \"@_\": $!");
  }
!     open($MAIL, "|-") || &do_exec_sendmail($mailer);

      # generate the header.  Note the line beginning with "-"; this keeps
      # this message from being reprocessed by Majordomo if some misbegotten
--- 284,295 ----
      # open the process
      local(@mailer, $mailer);
      eval "\$mailer = \"$mail_prog\"";
+     @mailer = split(' ', $mailer);
  sub do_exec_sendmail {
!     exec(@_, "");
        die("Failed to exec mailer \"@_\": $!");
  }
!     open($MAIL, "|-") || &do_exec_sendmail(@mailer);

      # generate the header.  Note the line beginning with "-"; this keeps
      # this message from being reprocessed by Majordomo if some misbegotten

This seems innocuous to me, but perhaps it has implications ?!? :-)

Cheers,

Martin



Indexed By Date Previous: majordomo, perl 5 and memory problems
From: "Richard A. Muirden" <richard@exxilon.xx.rmit.EDU.AU>
Next: setting up a bounces list
From: pdc@lunch.asd.sgi.com (Paul Close)
Indexed By Thread Previous: majordomo, perl 5 and memory problems
From: "Richard A. Muirden" <richard@exxilon.xx.rmit.EDU.AU>
Next: setting up a bounces list
From: pdc@lunch.asd.sgi.com (Paul Close)

Google
 
Search Internet Search www.greatcircle.com