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
|
|