### 6.3.1 Sendmail ``smrsh'' compatibility

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 programs. You need to explicitly allow Mailman's wrapper program to be used with smrsh or Mailman will not 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 enabling this is:

- Find out where your Sendmail executes its smrsh wrapper

                  % grep smrsh /etc/mail/sendmail.cf

- Figure out where smrsh expects symlinks for allowable mail programs. At the very beginning of the following output you will see a full path to some directory, e.g. /var/adm/sm.bin or similar:

                  % strings $path_to_smrsh | less

- cd into /var/adm/sm.bin, or where ever it happens to reside on your system - alternatives include /etc/smrsh, /var/smrsh and /usr/local/smrsh.

                  % cd /var/adm/sm.bin

- Create a symbolic link to Mailman's wrapper program:

                  % ln -s /usr/local/mailman/mail/mailman mailman