I installed (tried to do so) majordomo 1.93 on a SUN SPARC 2 running SunOS
4.1.3., sendmail and perl 4.016 !!
I've to struggle with two problems:
1. during compiling wrapper one error message appeared:
"wrapper.c", line 66: warning: illegal combination of pointer and
integer, op !=
wrapper.c, line 66:
> /* if the command contains a /, then don't allow it */
> if (STRCHR(argv[1], '/') != (char *) NULL) {
> /* this error message is intentionally cryptic */
> fprintf(stderr, "%s: error: insecure usage\n", argv[0]);
> exit(2);
> }
2. testing the compiled wrapper (wrapper test) failed with the hint
to recompile wrapper with POSIX Flags (with POSIX-Flags compiling
wrapper stopped with fatal error).
after setting up a test mailinglist,
echo help | /usr/ucb/mail -v majordomo (and)
echo help | /bin/sendmail -v majordomo
produced following output (in both cases):
alpin-398> echo help | /usr/ucb/mail -v majordomo
alpin-399> majordomo... aliased to "|/z/majordomo/wrapper majordomo"
sh: |/z/majordomo/wrapper majordomo: not found
"|/z/majordomo/wrapper majordomo"... unknown mailer error 1
owner-majordomo... aliased to gkaefer, nobody
nobody... aliased to /dev/null
/dev/null... Sent
gkaefer... Sent
Mail-Bounce-Checker... aliased to support
support... Sent
Is the reason for these faults the old perl version I've currently insalled,
should I install perl 5.001?
thanks for your time,
Georg Kaefer (gkaefer@alpin.or.at)
|
|