stew has asked for the wisdom of the Perl Monks concerning the following question:

Hi,

Can anybody help me to figure out how to make Perl available to the sendmail shell smrsh? Here is what I get when I try to send mail to an address that is an alias fo a perl script.

----- The following addresses had permanent fatal errors ----- "|/usr/bin/perl /path/to/script.pl" (reason: service unavailable) (expanded from: sbss) ----- Transcript of session follows ----- smrsh: perl not available for sendmail programs (stat failed) 554 5.0.0 Service unavailable


Cheers,
Stew

Replies are listed 'Best First'.
Re: Perl and smrsh
by stew (Scribe) on Sep 12, 2003 at 10:02 UTC
    Thank you - I did,

    For anybody else that may be interested all I had to do was create a symlink in /etc/smrsh

    ln -s /usr/bin/perl /etc/smrsh/perl


    Stew
Re: Perl and smrsh
by Abigail-II (Bishop) on Sep 12, 2003 at 09:41 UTC
    That's not a perl problem, it's a sendmail problem. The fact that sendmail can't find perl is something you have to fix on the sendmail site. You're much better off asking in a more appropriate forum, for instance, in the Usenet group comp.mail.sendmail.

    Abigail