[EMAIL PROTECTED] writes:

> I've whipped up a Perl script that parses an incoming e-mail, stripping
> off the Postscript, converting it to a PDF, and then attaching it to an
> e-mail that it then sends back to the original sender.  However, I can't
> get Sendmail to run the script (via /etc/aliases).  Here's what happens:

Try this (as root):

    ln -s /etc/smrsh/mailps2pdf.pl /tmp/mailps2pdf.pl

This path might vary depending on your distribution.  You probably
want to get mailps2pdf.pl out of /tmp too...
    
When you run things via sendmail's pipe '|' notation, you're using
sendmail's restricted shell.  This shell will only allow you to run
programs contained (or linked to) in the smrsh directory. 

Hope this helps,

--kevin
-- 
Kevin D. Clark (cetaceannetworks.com!kclark)  |
Cetacean Networks, Inc.                       |   Give me a decent UNIX
Portsmouth, N.H. (USA)                        |  and I can move the world
alumni.unh.edu!kdc (PGP Key Available)        |






**********************************************************
To unsubscribe from this list, send mail to
[EMAIL PROTECTED] with the following text in the
*body* (*not* the subject line) of the letter:
unsubscribe gnhlug
**********************************************************

Reply via email to