I am (at last) working out all the bugs in majordomo V1.93 on my system.
(hp9000 model 807) hpux9.04 / perl4.036 / sendmail (??) <how do you tell the
ver of an installed sendmail - I looked at the hp man pages & could not find
In doing some testing:
machine: echo help | /usr/lib/sendmail -v list-request
list-request... aliased to "|/users/majordomo/bin/wrapper request-answer list"
"|/users/majordomo/bin/wrapper request-answer list"... Connecting to local host
"|/users/majordomo/bin/wrapper request-answer list"... Executing "/bin/sh -c
/users/majordomo/bin/wrapper request-answer list"
do_exec_sendmail, number of args <= 1 unsafe to exec
ABORT do_exec_sendmail, number of args <= 1 unsafe to exec at
/users/majordomo/bin/majordomo.pl line 209, <STDIN> line 1.
"|/users/majordomo/bin/wrapper request-answer new-products"... Sent
in request-answer there is a call made to do_exec_sendmail with no args.
open(MAIL, "|-") || &do_exec_sendmail();
most other calls to this have @mailer as the arg, but I tried that & it
doesn't work... any pointers?