Dunno DEC Alpha, but some things to try, check:
1. maybe some other permissions are wrong - what are the perms on
majordomo itself ?
2. Is the path #!/usr/local/bin/perl in line 1 of majordomo right ?
3. Is the permission of wrapper right ? suid root (recommended for
POSIX situations)
4. You could try making sure that the prog mailer works:
alias: "| /bin/tee /tmp/a"
see if mail to alias ends up in /tmp/a
5. You could make sure that wrapper works:
Recompile
cc -DBIN=\"/bin\" -o wrapper2 wrapper.c
put wrapper2 in /usr/local/bin, 755
make an alias
alias2: "| /usr/local/bin/wrapper2 tee /tmp/b"
and see if mail to alias2 comes out in /tmp/b.
(Remove these aliases afterwards).
6. (Does #!work ?)
-mike
> Hi!
>
> I'm trying to set up Majordomo on a DEC 3000/600 running OSF/1 v. 2.0.
> The machine is not currently connected to the net but has perl-4.036
> installed. If someone has had experience with the DEC alpha or can point
> me in the right direction, I sure would appreciate help. Most likely,
> however, it is not a machine specific problem... :-)
>
> I've been following the information provided in the majordomo.manual
> (from the Nutshell Handbook "Managing Internet Information Services"...
> copying the alias file information. I used the POSIX information in the
> Makefile (although I am not certain if this is correct). Also, I have
> changed the perl variables as noted in the manual... but also left those
> that it did not reference in the majordomo.cf file.
>
> Initially, I got the following error when attempting to send the help
> command:
>
> % echo help | /usr/lib/sendmail -v majordomo
> majordomo... aliased to "|/usr/local/majordomo/bin/wrapper majordomo"
> "|/usr/local/majordomo/bin/wrapper majordomo"... Connecting to (prog)...
> about to exec
> majordomo: Permission denied
> "|/usr/local/majordomo/bin/wrapper majordomo"... unknown mailer error 5
> owner-majordomo... aliased to majordomo-owner
> majordomo-owner... aliased to steve
> steve... Connecting to (local)...
> about to exec
> steve... Sent
>
>
> I then decided to change permissions in /usr/local/majordomo/bin to
> 775... and now I am receiving memory faults:
>
> % echo help | /usr/lib/sendmail -v majordomo
> majordomo... aliased to "|/usr/local/majordomo/bin/wrapper majordomo"
> "|/usr/local/majordomo/bin/wrapper majordomo"... Connecting to (prog)...
> about to exec
> sh: 24276 Memory fault
> "|/usr/local/majordomo/bin/wrapper majordomo"... unknown mailer error 139
> owner-majordomo... aliased to majordomo-owner
> majordomo-owner... aliased to steve
> steve... Connecting to (local)...
> about to exec
> steve... Sent
>
> Thanks! I'm at a loss as to what to try next.
>
> --
> Stephen L. Frazier
> Mgr. of Academic Computing Research
> Bryant College
> 401-232-6363
> <steve@research1.bryant.edu>
>
>
> _/_/_/ _/_/_/ _/ _/_/_/ _/ _/_/_/ _/_/_/
> _/ _/ _/ _/_/ _/ _/ _/ _/ _/
> _/_/_/ _/_/_/ _/ _/ _/ _/ _/_/_/ _/_/_/
> _/ _/ _/ _/_/ _/ _/ _/ _/ _/ _/
> _/ _/ _/ _/ _/ _/_/_/ _/ _/_/_/ _/ _/
>
>
References:
-
[no subject]
From: Stephen Frazier <steve@research1.bryant.edu>
|
|