[Mailman-Users] Smrsh problem on redhat

Nate Perry-Thistle nate at plsweb.com
Sat Nov 8 01:00:13 CET 2003

Hi Randy,

I disagree slightly: the smrsh man page doesn't say "don't do it", it 
says "be conservative" and in this case you'll have to allow 
/usr/local/mailman/mail/mailman to be executed by Sendmail to make 
Mailman useful.

This is addressed in README.SENDMAIL:


    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

        % cd /etc/smrsh
        % ln -s /usr/local/mailman/mail/mailman mailman

Hope that's an acceptable answer.


On Fri, Nov 07, 2003 at 02:36:10PM -0800, Foo, Randy wrote:
> I have a red hat 9 system with mailman and apache.  Sendmail is more or
> less working, but I can't post to the lists because it looks like smrsh
> (the restricted sendmail shell) can't run the mailman script -
> /usr/local/mailman/mail/mailman
> I know it might be possible to enter the script into /etc/smrsh so that
> it can be executed, but the man pages advise against doing that.  Has
> anyone run into this before?  What did you do as a fix? Or... If anyone
> has any suggestions feel free to fire away.
> Thanks,
> Randy
> ------------------------------------------------------
> Mailman-Users mailing list
> Mailman-Users at python.org
> http://mail.python.org/mailman/listinfo/mailman-users
> Mailman FAQ: http://www.python.org/cgi-bin/faqw-mm.py
> Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/
> This message was sent to: nate at plsweb.com
> Unsubscribe or change your options at
> http://mail.python.org/mailman/options/mailman-users/nate%40plsweb.com


Nate Perry-Thistle
Director of Technology
Performance Learning Systems, Inc.    http://www.plsweb.com/

More information about the Mailman-Users mailing list