Redhat configures sendmail to use smrsh. As such, any executable you
try to use from the aliases file must have a link in the /etc/smrsh
directory. Do you have a link to "wrapper" in this directory?
ln -s /usr/lib/majordomo/wrapper /etc/smrsh/wrapper
You should also define the majordomo user as "trusted" by sendmail.
In 8.9.3 you would at Tmajordomo to the sendmail.cf in 8.11.6 you just
add majordomo to the /etc/mail/trusted-users file.
Finally, when you get errors from the shell/command line, try using an
actual mail client like pine, elm, communicator, or even outlook or
yahoo (in "TEXT" mode) to send message commands to majordomo. This is
the way majordomo was designed to be accessed.
----- Original Message -----
From: "Sanders, Corey" <Corey_Sanders@stercomm.com>
undefined: Tuesday, January 8, 2002 3:10 pm
Subject: Post setup error message
> I setup majordomo (first from an RPM from rpmfind.net, and after
> that didn't
> work from the greatcircle source). After both installs, I get the same
> problem "Illegal command: majordomo" and "Unknown mailer error: 6"
> (seeattached error message). I've checked, rechecked, and triple-
> checked the
> permissions and they all seem to be correct. I've looked for typos
> and I've
> read the FAQ so many times I could recite it like Shakespeare, but
> I don't
> see the issue. Any help?
> Things I've tried:
> 1) As a non-privledged user, I run the '/usr/lib/majordomo/wrapper
> config-test' command and it tests fine.
> 2) As a non-privledged user, I can run '/usr/lib/majordomo/wrapper
> majordomo< smtp.test.message' and majordomo works fine.
> 3) As anyone, if I run 'echo lists | mail majordomo', I get the error
> message returned below.
> 4) The FAQ says to check errno.h if the "Unknown mailer" error is
> below 255.
> I do this, but the error message "ENXIO - no such device or
> address" doesn't
> make any sense to me.
> 5) I know that the wrapper script has to at least get called
> because I am
> getting the "majordomo-owner" mail messages at my work email
> address, using
> a completely different mail server.
> Majordomo is installed under /usr/lib/majordomo as user
> 'majordomo', group
> 'majordomo'. The wrapper is setuid root and is in the 'daemon'
> group. I am
> currently using the src archive from greatcircle, version 1.94.5. My
> sendmail install is an out-of-the-box Redhat 7.2 configuration. The
> onlything I've changed is my aliases file and I tried adding
> majordomo to the
> trusted-users file in /etc/mail.
> -- Corey Sanders
> -----Original Message-----
> From: Mail Delivery Subsystem [mailto:MAILER-DAEMON@stercomm.com]
> Sent: Tuesday, January 08, 2002 3:23 PM
> To: Sanders, Corey
> Subject: Returned mail: see transcript for details
> The original message was received at Tue, 8 Jan 2002 15:22:33 -0500
> from csanders@localhost
> ----- The following addresses had permanent fatal errors -----
> "|/usr/lib/majordomo/wrapper majordomo"
> (reason: 6)
> (expanded from: email@example.com)
> ----- Transcript of session follows -----
> Message delivered to mailing list firstname.lastname@example.org
> Illegal command: majordomo
> 554 5.3.0 unknown mailer error 6