By default in Redhat, sendmail uses smrsh which will not allow you to
execute scripts outside of /etc/smrsh. You can solve by either putting
wrapper in there, or re-configure sendmail to use a different shell -
probably best to stick with smrsh though.
> CC'ing to ILUG..
>> > From: Ray Kelly [mailto:ray at skynet.ie]
> > Did the mailing list aliases actually get created?
> > what does "sendmail -bv mail_list" on the machine itself say
> > when adding a new list you should have been presented with
> > som "stuff" to paste into
> > your mail aliases, this is pretty obvious when you're using
> > the text mode to do so,
> > but seeing as I've not used the Wah Wah Wah interface to do
> > that in the past I can't comment on how it works
> I am using the text mode to do it - and have added the aliases - my
> mailing list is called test and /etc/aliases has
>> ## test mailing list
> ## created: 15-Jul-2002 mailman
> test: "|/home/mailman/mail/wrapper post test"
> test-admin: "|/home/mailman/mail/wrapper mailowner test"
> test-request: "|/home/mailman/mail/wrapper mailcmd test"
> test-owner: test-admin
>> However - a mail to any of these addresses produces a bounce (user not
>> > on the command not found stuff, It's possible that mailman is
> > living in a chrooted jail & therefore isn't able to get out
> > of that to find the apps / libs which it needs to run!
> > (especially if it's not running as root)
> > How did you install it, from src or a package?
> I installed it from source and I made sure to set the --with-mail-gid to
> the group that sendmail runs as (daemon) and to set the --with-cgi-gid
> to the apache group (nobody) - it runs as mailman:mailman - I have
> symlinked safe_finger to the mailman chroot jail (/home/mailman/bin) -
> but this still doesn't work - however root doesn't get a command not
> found message in this case - he gets the output of safe_finger mailed to
> him instead (see first post).
> Irish Linux Users' Group: ilug at linux.ie>http://www.linux.ie/mailman/listinfo/ilug for (un)subscription
> List maintainer: listmaster at linux.ie
Maintained by the ILUG website team. The aim of Linux.ie is to
support and help commercial and private users of Linux in Ireland. You can
display ILUG news in your own webpages, read backend
information to find out how. Networking services kindly provided by HEAnet, server kindly donated by
Dell. Linux is a trademark of Linus Torvalds,
used with permission. No penguins were harmed in the production or maintenance
of this highly praised website. Looking for the
Indian Linux Users' Group? Try here. If you've read all this and aren't a lawyer: you should be!