Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Linux, Sendmail & Majordomo: Permission denied. Pls. Help me....

0 views
Skip to first unread message

bill davidsen

unread,
Dec 13, 1995, 3:00:00 AM12/13/95
to
In article <4an6s7$n...@news.uni-c.dk>,
Nicolai Lang <Nicolai_Lang/BSC/SEM#S...@notes.uvm.dk> wrote:
| I am setting up the Majordomo mailer on a Linux box, and I get the
| following error. Please help if you can.
|
| I have checked & tripple checked permissions, aliases etc etc, and i
| can't find any list over perl error codes (126)....
|
| ==========================================================
| ----- The following addresses have delivery notifications -----
| <majo...@pippin.udd.sembsc.dk> (successfully delivered to mailing
| list)
| "|/usr/local/mail/majordomo/wrapper majordomo" (unrecoverable error)
| (expanded from: <majo...@pippin.udd.sembsc.dk>)
|
| ----- Transcript of session follows -----
| Message delivered to mailing list <majo...@pippin.udd.sembsc.dk>
| sh: /usr/local/mail/majordomo/wrapper: Permission denied
| 554 "|/usr/local/mail/majordomo/wrapper majordomo" ... unknown mailer
| error 126
| ==========================================================

Check the permissions on "/usr/local/mail/majordomo/wrapper" and be
sure it can be executed by incoming mail. I know, you triple
checked...

Nicolai Lang

unread,
Dec 14, 1995, 3:00:00 AM12/14/95
to
I am setting up the Majordomo mailer on a Linux box, and I get the
following error. Please help if you can.

I have checked & tripple checked permissions, aliases etc etc, and i
can't find any list over perl error codes (126)....

==========================================================
----- The following addresses have delivery notifications -----
<majo...@pippin.udd.sembsc.dk> (successfully delivered to mailing
list)
"|/usr/local/mail/majordomo/wrapper majordomo" (unrecoverable error)
(expanded from: <majo...@pippin.udd.sembsc.dk>)

----- Transcript of session follows -----
Message delivered to mailing list <majo...@pippin.udd.sembsc.dk>
sh: /usr/local/mail/majordomo/wrapper: Permission denied
554 "|/usr/local/mail/majordomo/wrapper majordomo" ... unknown mailer
error 126
==========================================================

Thank's a lot in advance.

Klaus Lichtenwalder

unread,
Dec 14, 1995, 3:00:00 AM12/14/95
to
In article <4an6s7$n...@news.uni-c.dk>,

nicola...@sembsc.dk (Nicolai Lang) writes:
>I am setting up the Majordomo mailer on a Linux box, and I get the
>following error. Please help if you can.
>
>I have checked & tripple checked permissions, aliases etc etc, and i
>can't find any list over perl error codes (126)....
>
>==========================================================
> ----- The following addresses have delivery notifications -----
><majo...@pippin.udd.sembsc.dk> (successfully delivered to mailing
>list)
>"|/usr/local/mail/majordomo/wrapper majordomo" (unrecoverable error)
> (expanded from: <majo...@pippin.udd.sembsc.dk>)
>
> ----- Transcript of session follows -----
>Message delivered to mailing list <majo...@pippin.udd.sembsc.dk>
>sh: /usr/local/mail/majordomo/wrapper: Permission denied
^^^^^^^^^^^^^^^^^^^^^^^^^^
What are those permissions? There's no perl involved up to now. And 126 is
the return code of the shell.

Klaus
--
__________________________________________________________________________
Klaus Lichtenwalder, Dipl. Inform., Fax +49-89-98292755, PGP Key available
Lichte...@ACM.org, kl...@gaston.m.ISAR.de, http://www.wp.com/Klaus
When PRIVACY Is Outlawed... Only OUTLAWS Will Have Privacy!
SUPPORT THE PHIL ZIMMERMANN LEGAL DEFENSE FUND!
zl...@clark.net <http://www.netresponse.com/zldf>


johan Henselmans

unread,
Dec 15, 1995, 3:00:00 AM12/15/95
to
On Thu, 14 Dec 1995, Klaus Lichtenwalder wrote:

> In article <4an6s7$n...@news.uni-c.dk>,
> nicola...@sembsc.dk (Nicolai Lang) writes:
> >I am setting up the Majordomo mailer on a Linux box, and I get the
> >following error. Please help if you can.
> >
> >I have checked & tripple checked permissions, aliases etc etc, and i
> >can't find any list over perl error codes (126)....
> >
> >==========================================================
> > ----- The following addresses have delivery notifications -----
> ><majo...@pippin.udd.sembsc.dk> (successfully delivered to mailing
> >list)
> >"|/usr/local/mail/majordomo/wrapper majordomo" (unrecoverable error)
> > (expanded from: <majo...@pippin.udd.sembsc.dk>)
> >
> > ----- Transcript of session follows -----
> >Message delivered to mailing list <majo...@pippin.udd.sembsc.dk>
> >sh: /usr/local/mail/majordomo/wrapper: Permission denied
> ^^^^^^^^^^^^^^^^^^^^^^^^^^
> What are those permissions? There's no perl involved up to now. And 126 is
> the return code of the shell.
>
> Klaus
> --

I had the same problems once. It turned out to be a permissions problem
in the writing to the folder where the lists should reside.


Regards,

Johan

Johan Henselmans
work: jo...@netsense.nl tel: (+31)-(0)20-6261180
http://www.netsense.nl
Netsense vof, Nieuwe Herengracht 149 1011 SG Amsterdam
home: jo...@hsb.nest.nl tel: (+31)-(0)20-6267538
Nieuwe Herengracht 147d 1011 SG Amsterdam

Andrew Mileski

unread,
Dec 15, 1995, 3:00:00 AM12/15/95
to
> Nicolai Lang <Nicolai_Lang/BSC/SEM#S...@notes.uvm.dk> wrote:
> | I am setting up the Majordomo mailer on a Linux box, and I get the
> | following error. Please help if you can.
> |
> | I have checked & tripple checked permissions, aliases etc etc, and i
> | can't find any list over perl error codes (126)....

> | sh: /usr/local/mail/majordomo/wrapper: Permission denied


> | 554 "|/usr/local/mail/majordomo/wrapper majordomo" ... unknown mailer
> | error 126

I'll bet you have the simplest of errors!

Check the path to perl in the '#!' statement.

-- Andrew E. Mileski --

-------------------------------------------------------
Dark Matter Technologies Inc. - Ottawa Ontario, Canada!
mailto:dmt...@magi.com http://www.magi.com/~dmtech/

Pete Holsberg

unread,
Dec 19, 1995, 3:00:00 AM12/19/95
to
nicola...@sembsc.dk (Nicolai Lang) wrote:

>I am setting up the Majordomo mailer on a Linux box, and I get the
>following error. Please help if you can.

>I have checked & tripple checked permissions, aliases etc etc, and i
>can't find any list over perl error codes (126)....

>==========================================================


> ----- The following addresses have delivery notifications -----
><majo...@pippin.udd.sembsc.dk> (successfully delivered to mailing
>list)
>"|/usr/local/mail/majordomo/wrapper majordomo" (unrecoverable error)
> (expanded from: <majo...@pippin.udd.sembsc.dk>)

> ----- Transcript of session follows -----
>Message delivered to mailing list <majo...@pippin.udd.sembsc.dk>

>sh: /usr/local/mail/majordomo/wrapper: Permission denied
>554 "|/usr/local/mail/majordomo/wrapper majordomo" ... unknown mailer
>error 126

>==========================================================

I have a similar response:

---------- Forwarded message ----------
Date: Tue, 19 Dec 1995 14:12:13 -0500
From: Mail Delivery Subsystem
<MAILER...@grovers-mill.mccc.edu>
To: bmul...@grovers-mill.mccc.edu
Subject: Returned mail: unknown mailer error 126

The original message was received at Tue, 19 Dec 1995
14:12:12 -0500
from tecoma.mccc.edu [198.133.170.1]

----- The following addresses had delivery problems -----
"|/usr/local/bin/majordomo/wrapper majordomo"
(unrecoverable error)
(expanded from: <majordomo@grover>)

----- Transcript of session follows -----

Message delivered to mailing list <majordomo@grover>
sh: /usr/local/bin/majordomo/wrapper: Permission denied
554 "|/usr/local/bin/majordomo/wrapper majordomo"... unknown
mailer error 126

/usr/local/mail and all subdirectories are 770
majordom/majordom.

/usr/local/bin/majordomo and subdirectories are also 770,
majordom/majordom.

???

Thanks,
Pete


Bruce Klein

unread,
Dec 27, 1995, 3:00:00 AM12/27/95
to
>> Nicolai Lang <Nicolai_Lang/BSC/SEM#S...@notes.uvm.dk> wrote:
>> | I am setting up the Majordomo mailer on a Linux box, and I get the
>> | following error. Please help if you can.
>> |
>> | I have checked & tripple checked permissions, aliases etc etc, and i
>> | can't find any list over perl error codes (126)....

>> | sh: /usr/local/mail/majordomo/wrapper: Permission denied


>> | 554 "|/usr/local/mail/majordomo/wrapper majordomo" ... unknown mailer
>> | error 126

Check the permissions on the wrapper program. Make sure that it is owned
by root and is readable and executable by the UID that sendmail uses. In
my case sendmail is run by bin. I have a majordomo group that has the
users majordom and bin in it. Wrapper is set up like this:

-rwsrwx--- 1 root majordom 14233 Nov 24 16:52 wrapper*

When I first set up majordomo I got the same error because I had wrapper
owned by root and set to group root so that it could be setuid and setgid
to root.

0 new messages