I agree. Also, if your local mailer is procmail, you could have procmail run
the perl script.

> -----Original Message-----
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On
> Behalf Of Bruce Dawson
> Sent: Thursday, January 04, 2001 6:39 PM
> To: Ken D'Ambrosio
> Cc: Greater NH Linux Users' Group
> Subject: Re: While we're talking Sendmail...
>
>
> As root, do:
>
>   ln -s /tmp/mailps2pdf.pl /etc/smrsh/
>
> --Bruce
>
> Ken D'Ambrosio wrote:
> >
> > 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:
> >
> > "   ----- Transcript of session follows -----
> > sh: mailps2pdf.pl not available for sendmail programs
> > 554 5.0.0 |/tmp/mailps2pdf.pl... Service unavailable"
> >
> > It's set to 777 and all sorts of other rabidly insecure things; how do I
> > let Sendmail run it?  I've poked 'round, and even (*gasp*) hit the Bat
> > Book, but no dice.  I know it can be done, 'cause that's how
> Cisco used to
> > re-direct their e-mail for pagers.
>
> **********************************************************
> 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
> **********************************************************
>


**********************************************************
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