Great Circle Associates Majordomo-Users
(January 2002)

Indexed By Date: [Previous] [Next] Indexed By Thread: [Previous] [Next]

Subject: Re: Post setup error message
From: dliston @ sonny . org
Date: Wed, 09 Jan 2002 09:54:06 -0600
To: "Sanders, Corey" <Corey_Sanders @ stercomm . com>
Cc: "'majordomo-users @ greatcircle . com'" <majordomo-users @ greatcircle . com>

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?

as root,
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 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.

Dan Liston

----- Original Message -----
From: "Sanders, Corey" <>
undefined: Tuesday, January 8, 2002 3:10 pm
Subject: Post setup error message

> I setup majordomo (first from an RPM from, 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.
> Environment:
> 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 []
> 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:
>   ----- Transcript of session follows -----
> Message delivered to mailing list
> Illegal command: majordomo
> 554 5.3.0 unknown mailer error 6

Indexed By Date Previous: Re: Free Firewall Solution
From: "Steven W. Orr" <>
Next: Re: Post setup error message
From: "Sanders, Corey" <>
Indexed By Thread Previous: Post setup error message
From: "Sanders, Corey" <>
Next: Re: Post setup error message
From: "Sanders, Corey" <>

Search Internet Search