smrsh: how to get it to work?

From: Erwin Fritz (efritz@glja.com)
Date: Wed May 08 2002 - 12:58:20 EDT


My email server is running Solaris 5.7, using Sun's included sendmail. I'm
attempting to get smrsh working.

I included this line in my mail.mc file:

FEATURE(`smrsh',`/usr/lib/smrsh')

before the MAILER(local) line, and recompiled. That all worked okay. I then
created the directory /var/adm/sm.bin, and did 'ln -s /usr/bin/vacation
/var/adm/sm.bin'.

When I send email to a user with a vacation alert set up in her .forward
file, I get a reply back:

=== Begin quote ===
   ----- The following addresses had permanent fatal errors -----
"|/usr/bin/vacation -j -t8h url"
    (reason: service unavailable)
    (expanded from: <url@glja.com>)

   ----- Transcript of session follows -----
smrsh: vacation not available for sendmail programs
554 5.0.0 "|/usr/bin/vacation -j -t8h url"... Service unavailable
=== End quote ===

Searching the Sun Manager archives, I found one reference that said that
the directory isn't /var/adm/sm.bin, it's /etc/mail/sm.bin. I tried that,
with the same result. Stock (i.e. non-Sun) sendmail uses /usr/bin/sm.bin,
but that didn't make any difference either.

I tried copying /usr/bin/vacation to these directories as well (instead of
the soft link), and that also made no difference.

Any ideas on how to get this working?

-- 
Erwin Fritz
Gilbert Laustsen Jung Associates Ltd.
_______________________________________________
sunmanagers mailing list
sunmanagers@sunmanagers.org
http://www.sunmanagers.org/mailman/listinfo/sunmanagers


This archive was generated by hypermail 2.1.7 : Wed Apr 09 2008 - 23:24:18 EDT