I am still stuck at the smrsh.
I am getting error 126 send back to the email?
----- The following addresses had permanent fatal errors ----- "|/home/mailman/mail/wrapper mailcmd test" (reason: 126)
----- Transcript of session follows ----- /bin/sh: /usr/adm/sm.bin/wrapper: is a directory 554 5.3.0 "|/home/mailman/mail/wrapper mailcmd test"... unknown mailer error 126
strange isn't it?
Erik
At 12:23 AM 4/20/02 +0200, E.J.L. Kemper wrote:
I am still stuck at the smrsh.
I am getting error 126 send back to the email?
----- The following addresses had permanent fatal errors ----- "|/home/mailman/mail/wrapper mailcmd test" (reason: 126)
----- Transcript of session follows ----- /bin/sh: /usr/adm/sm.bin/wrapper: is a directory 554 5.3.0 "|/home/mailman/mail/wrapper mailcmd test"... unknown mailer error 126
sounds like you screwed up your smrsh config. if /usr/adm/sm.bin/wrapper is a directory, smrsh certainly cant exec it. It's not a mailman issue.
But the strange thing is I think, that de installation procedure didn't build the wrapper file at all. Some-one from this list send me this file, but that didn't help.
I did however change the error to this....?
------snip------
----- The following addresses had permanent fatal errors ----- "|/home/mailman/mail/wrapper mailcmd test" (reason: service unavailable) (expanded from: <test-request@testserver.nl>)
----- Transcript of session follows ----- smrsh: wrapper not available for sendmail programs 554 5.0.0 "|/home/mailman/mail/wrapper mailcmd test"... Service unavailable
--------snip-------------
----- Original Message ----- From: "Ron Jarrell" <jarrell@vt.edu> To: "E.J.L. Kemper" <E.J.L.Kemper@CyberTech.NL>; <mailman-users@python.org> Sent: Monday, April 22, 2002 2:32 AM Subject: Re: [Mailman-Users] error 126
At 12:23 AM 4/20/02 +0200, E.J.L. Kemper wrote:
I am still stuck at the smrsh.
I am getting error 126 send back to the email?
----- The following addresses had permanent fatal errors ----- "|/home/mailman/mail/wrapper mailcmd test" (reason: 126)
----- Transcript of session follows ----- /bin/sh: /usr/adm/sm.bin/wrapper: is a directory 554 5.3.0 "|/home/mailman/mail/wrapper mailcmd test"... unknown mailer error 126
sounds like you screwed up your smrsh config. if /usr/adm/sm.bin/wrapper is a directory, smrsh certainly cant exec it. It's not a mailman issue.
At 11:18 AM 4/22/02 +0200, you wrote:
But the strange thing is I think, that de installation procedure didn't build the wrapper file at all. Some-one from this list send me this file, but that didn't help.
Ok, what version of mailman are you running? As I said in my message, if you're running 2.1+ *there is no program called wrapper*. If the install didn't build it, then getting it from someone else is the wrong solution, either your source tree is horrible corrupted at this point, or you're using the install instructions for the wrong version!
I did however change the error to this....?
------snip------
----- The following addresses had permanent fatal errors ----- "|/home/mailman/mail/wrapper mailcmd test" (reason: service unavailable) (expanded from: <test-request@testserver.nl>)
Sendmail's smrsh either isnt' configured to use wrapper, or wrapper isn't there, or isn't runnable.
I get about the same problem running redhat 7.2 sendmail 8.11.6 with mailman.b21
smrsh: mailman not available for sendmail programs 554 5.0.0 Service unavailable
has anyone solved this?
----- Original Message ----- From: "E.J.L. Kemper" <E.J.L.Kemper@CyberTech.NL> To: <mailman-users@python.org> Sent: Monday, April 22, 2002 2:18 AM Subject: Re: [Mailman-Users] error 126
But the strange thing is I think, that de installation procedure didn't build the wrapper file at all. Some-one from this list send me this file, but that didn't help.
I did however change the error to this....?
------snip------
----- The following addresses had permanent fatal errors ----- "|/home/mailman/mail/wrapper mailcmd test" (reason: service unavailable) (expanded from: <test-request@testserver.nl>)
----- Transcript of session follows ----- smrsh: wrapper not available for sendmail programs 554 5.0.0 "|/home/mailman/mail/wrapper mailcmd test"... Service
unavailable
--------snip-------------
----- Original Message ----- From: "Ron Jarrell" <jarrell@vt.edu> To: "E.J.L. Kemper" <E.J.L.Kemper@CyberTech.NL>;
<mailman-users@python.org>
Sent: Monday, April 22, 2002 2:32 AM Subject: Re: [Mailman-Users] error 126
At 12:23 AM 4/20/02 +0200, E.J.L. Kemper wrote:
I am still stuck at the smrsh.
I am getting error 126 send back to the email?
----- The following addresses had permanent fatal errors ----- "|/home/mailman/mail/wrapper mailcmd test" (reason: 126)
----- Transcript of session follows ----- /bin/sh: /usr/adm/sm.bin/wrapper: is a directory 554 5.3.0 "|/home/mailman/mail/wrapper mailcmd test"... unknown mailer error 126
sounds like you screwed up your smrsh config. if /usr/adm/sm.bin/wrapper is a directory, smrsh certainly cant exec it. It's not a mailman issue.
Mailman-Users mailing list Mailman-Users@python.org http://mail.python.org/mailman/listinfo/mailman-users Mailman FAQ: http://www.python.org/cgi-bin/faqw-mm.py
well duh! didn't see the readme folks. sorry. for any other newbie with this problem
from the SENDMAIL.README
Many newer versions of Sendmail come with a restricted execution
utility called "smrsh", which limits the executables that Sendmail
will allow to be used as mail filter programs. You need to
explicitly allow Mailman's wrapper program to be used with smrsh
before it will work. If mail is not getting delivered to
Mailman's wrapper program and you're getting an "operating system
error" in your mail syslog, this could be your problem.
One good way of doing this is to:
- cd into /etc/smrsh (or where ever it happens to reside on
your system, such as /var/smrsh or /usr/local/smrsh).
- create a symbolic link to Mailman's wrapper program
For example, if you've installed Mailman in the standard location,
you can just execute these commands (you might have to do these as
root):
% cd /etc/smrsh
% ln -s /usr/local/mailman/mail/mailman mailman
----- Original Message ----- Sent: Wednesday, May 29, 2002 1:29 AM Subject: Re: [Mailman-Users] sendmail shell not available for mailman
I get about the same problem running redhat 7.2 sendmail 8.11.6 with mailman.b21
smrsh: mailman not available for sendmail programs 554 5.0.0 Service unavailable
has anyone solved this?
participants (3)
-
comquest
-
E.J.L. Kemper
-
Ron Jarrell