[Mailman-Users] Test List
Bill DeVos
watcher at stercomm.com
Tue Feb 29 17:42:25 CET 2000
On Tue, 29 Feb 2000, Lin Qiu wrote:
> Bill,
>
> Thanks for the information. I did the symbolic link, it takes care one problem.
> This time I have:
>
> ----- The following addresses had permanent fatal errors -----
> "|/home/mailman/mail/wrapper mailcmd test"
> (expanded from: <test-request at lqldap.admin.sunyrockland.edu>)
>
> ----- Transcript of session follows -----
> Traceback (innermost last):
> File "/home/mailman/scripts/mailcmd", line 49, in ?
> list = MailList.MailList(sys.argv[1])
> File "/home/mailman/Mailman/MailList.py", line 62, in __init__
> self.Load()
> File "/home/mailman/Mailman/MailList.py", line 804, in Load
> self.Lock()
> File "/home/mailman/Mailman/MailList.py", line 1373, in Lock
> self.__lock.lock()
> File "/home/mailman/Mailman/LockFile.py", line 186, in lock
> os.link(self.__lockfile, self.__tmpfname)
> OSError: [Errno 13] Permission denied
> 554 "|/home/mailman/mail/wrapper mailcmd test"... unknown mailer error 1
Although I'm very new to Python (haven't written a program in it yet)
looking at the traceback the last line mentions
os.link(self.__lockfile..., this appears to me that it was (at the time of
the error) attempting to create it's lock file, yes?
Looking at the actuall error "Permission denied" I would guess that the
OS has refused permission to create a lock file.
Again from the INSTALL docs:
3. Check your installation
To check that your installation has all the correct permissions
and group ownerships, you should run the check_perms script:
- cd to $prefix
- Run bin/check_perms
Have you done this? What was the result?
>
> Could this cause by "using the wrong GID or UID for mail" as indicated in the
> installation menu? I look up the syslog, and did not find anything there.
>
> Thanks.
>
> Lin
>
> Bill DeVos wrote:
>
> > Well, first day on the list and I get to answer a question, neato! Here
> > is the documentation from the INSTALL file:
> >
> > Problem: I send mail to the list, and get back mail saying,
> > "sh: wrapper not available for sendmail programs"
> >
> > Solution: Your system uses sendmail restricted shell. You need to
> > configure smrsh by creating a symbolic link from the
> > mail wrapper ($prefix/mail/wrapper) to the directory
> > identifying executables allowed to run under smrsh.
> > Some common names for this directory are
> > /var/admin/sm.bin, /usr/admin/sm.bin or /etc/smrsh.
> >
> > and here is the command line that you would use from the information you
> > gave in your email.
> >
> > ln -s /home/mailman/mail/wrapper /etc/smrsh/wrapper
> >
> > Enjoy!
> >
> > On Tue, 29 Feb 2000, Lin Qiu wrote:
> >
> > > Date: Tue, 29 Feb 2000 12:24:17 -0500
> > > From: Lin Qiu <lqiu at sunyrockland.edu>
> > > To: MailMan <mailman-users at python.org>
> > > Subject: [Mailman-Users] Test List
> > >
> > > Hello all,
> > >
> > > I'm running Linux 6.1, Mailman 1.1, Python 1.5.1 and Apache 1.3.11 and
> > > sendmail.
> > >
> > > My project here is to setup a list server for faculty and students to
> > > create their own lists.
> > >
> > > I followed the Mailman installation instruction and run
> > >
> > > ./configure with all default options.
> > >
> > > my aliases file looks like this:
> > >
> > > /etc/aliases
> > >
> > > #Test mailing list
> > > test: "|/home/mailman/mail/wrapper post test"
> > > test-admin: "|/home/mailman/mail/wrapper mailowner test"
> > > test-request: "|/home/mailman/mail/wrapper mailcmd test"
> > > owner-test: test-admin
> > > owner-test: test-admin
> > >
> > > I run newaliases after I update my aliases file.
> > >
> > > I also setup a test list. I was able to create the list, login the admin
> > > web page and subscribe to the list. I got a Confirmation email from
> > > test-request at lqldap.mydomain.edu.
> > >
> > > However, I was not be able to send mail to
> > > test-request at lqldap.mydomain.edu.
> > > Here is what I got :
> > >
> > > ----- The following addresses had permanent fatal errors -----
> > > "|/home/mailman/mail/wrapper mailcmd test"
> > > (expanded from: <test-request at lqldap.mydomain.edu>)
> > >
> > > ----- Transcript of session follows -----
> > > sh: wrapper not available for sendmail programs
> > > 554 "|/home/mailman/mail/wrapper mailcmd test"... Service unavailable
> > >
> > >
> > > When I send a email to test at lqldap.mydomain.edu, I did not get rebound.
> > > from maillog it lists:
> > >
> > > lqldap smrsh: uid 8: attempt to use wrapper mailowner test
> > > lqldap sendmail[1234]: MAA01234: to="|/home/mailman/mail/wrapper post
> > > test", ...miler=prog, stat=Service unavailable
> > > lqldap sendmail[1234]: MAA01234: MAB01234: DSN: Service unavailable
> > > lqldap sendmail[1234]: MAB01234: MAC01234: return to sender: Service
> > > unavailable
> > >
> > > I look up the installation guide, it said I need to "configure smrsh by
> > > creating a symbolic link from the mail wrapper to the directory
> > > identifying executables allowed to run under smrsh."
> > >
> > > I look up my /etc/smrsh, there is no files there in the directory.
> > >
> > > Would someone show me how to configure the smrsh and create the symbolic
> > > link ?
> > >
> > > Thanks.
> > >
> > > Lin
> > >
> > >
> > >
> >
> > ,-----------------------------------------------------------------------------.
> > > Watcher (aka Bill DeVos) | <
> > > Sterling Commerce | <
> > > Commerce Services Group | <
> > > 4600 Lakehurst Ct. | If you're passed on the right... <
> > > Dublin, Ohio 43017 | you're in the wrong lane! <
> > > Voice: 614-793-7101 | <
> > > Fax: 614-718-1592 | <
> > > watcher at stercomm.com | <
> > > http://www.aack.net/ | <
> > `-----------------------------------------------------------------------------'
>
,-----------------------------------------------------------------------------.
> Watcher (aka Bill DeVos) | <
> Sterling Commerce | <
> Commerce Services Group | <
> 4600 Lakehurst Ct. | Through the server, over the router, <
> Dublin, Ohio 43017 | off the firewall... Nothing but 'Net' <
> Voice: 614-793-7101 | <
> Fax: 614-718-1592 | <
> watcher at stercomm.com | <
> http://www.aack.net/ | <
`-----------------------------------------------------------------------------'
More information about the Mailman-Users
mailing list