From: Simon on
Hi

I am set up a sym-lnk to foo.php and checked that it appears to be
linked ok.

I've also done this with "php", and it doesn't report any problems
with this.

I've chmod foo.php to 755.

But still this error bounces back.

Any help would be greatly appreciated.
From: Andrzej Adam Filip on
Simon <sdebanke(a)googlemail.com> wrote:
> I am set up a sym-lnk to foo.php and checked that it appears to be
> linked ok.
>
> I've also done this with "php", and it doesn't report any problems
> with this.
>
> I've chmod foo.php to 755.
>
> But still this error bounces back.
>
> Any help would be greatly appreciated.

Have you "scanned" the FAQ?

http://www.sendmail.org/faq/section3#3.34
What does "foo not available for sendmail programs" mean?

--
[pl>en Andrew] Andrzej Adam Filip : anfi(a)onet.eu : Andrzej.Filip(a)gmail.com
Open-Sendmail: http://open-sendmail.sourceforge.net/
Being overloaded is the sign of a true Debian maintainer.
-- JHM on #Debian
From: Simon on
On Nov 16, 9:23 pm, Andrzej Adam Filip <a...(a)onet.eu> wrote:
> Simon <sdeba...(a)googlemail.com> wrote:
> > I am set up a sym-lnk to foo.php and checked that it appears to be
> > linked ok.
>
> > I've also done this with "php", and it doesn't report any problems
> > with this.
>
> > I've chmod foo.php to 755.
>
> > But still this error bounces back.
>
> > Any help would be greatly appreciated.
>
> Have you "scanned" the FAQ?
>
> http://www.sendmail.org/faq/section3#3.34
> What does "foo not available for sendmail programs" mean?
>
> --
> [pl>en Andrew] Andrzej Adam Filip : a...(a)onet.eu : Andrzej.Fi...(a)gmail.com
> Open-Sendmail:http://open-sendmail.sourceforge.net/
> Being overloaded is the sign of a true Debian maintainer.
>   -- JHM on #Debian

Hi

Thanks for your reply.

Yes, I have. It tells you to set up a sym-lnk to php, which I've
done.

It doesn't complain about php.

It only complains about my script "foo.php"
From: Simon on
On Nov 16, 9:32 pm, Simon <sdeba...(a)googlemail.com> wrote:
> On Nov 16, 9:23 pm, Andrzej Adam Filip <a...(a)onet.eu> wrote:
>
>
>
> > Simon <sdeba...(a)googlemail.com> wrote:
> > > I am set up a sym-lnk to foo.php and checked that it appears to be
> > > linked ok.
>
> > > I've also done this with "php", and it doesn't report any problems
> > > with this.
>
> > > I've chmod foo.php to 755.
>
> > > But still this error bounces back.
>
> > > Any help would be greatly appreciated.
>
> > Have you "scanned" the FAQ?
>
> >http://www.sendmail.org/faq/section3#3.34
> > What does "foo not available for sendmail programs" mean?
>
> > --
> > [pl>en Andrew] Andrzej Adam Filip : a...(a)onet.eu : Andrzej.Fi...(a)gmail.com
> > Open-Sendmail:http://open-sendmail.sourceforge.net/
> > Being overloaded is the sign of a true Debian maintainer.
> >   -- JHM on #Debian
>
> Hi
>
> Thanks for your reply.
>
> Yes, I have.  It tells you to set up a sym-lnk to php, which I've
> done.
>
> It doesn't complain about php.
>
> It only complains about my script "foo.php"

sorry..

It actually tells you to set up the sym-lnk to the program "foo".
Sorry, I've read a LOT online while trying to fix this.

I've done that also, as explained in my first post.
From: Simon on
On Nov 16, 9:34 pm, Simon <sdeba...(a)googlemail.com> wrote:
> On Nov 16, 9:32 pm, Simon <sdeba...(a)googlemail.com> wrote:
>
>
>
> > On Nov 16, 9:23 pm, Andrzej Adam Filip <a...(a)onet.eu> wrote:
>
> > > Simon <sdeba...(a)googlemail.com> wrote:
> > > > I am set up a sym-lnk to foo.php and checked that it appears to be
> > > > linked ok.
>
> > > > I've also done this with "php", and it doesn't report any problems
> > > > with this.
>
> > > > I've chmod foo.php to 755.
>
> > > > But still this error bounces back.
>
> > > > Any help would be greatly appreciated.
>
> > > Have you "scanned" the FAQ?
>
> > >http://www.sendmail.org/faq/section3#3.34
> > > What does "foo not available for sendmail programs" mean?
>
> > > --
> > > [pl>en Andrew] Andrzej Adam Filip : a...(a)onet.eu : Andrzej.Fi...(a)gmail.com
> > > Open-Sendmail:http://open-sendmail.sourceforge.net/
> > > Being overloaded is the sign of a true Debian maintainer.
> > >   -- JHM on #Debian
>
> > Hi
>
> > Thanks for your reply.
>
> > Yes, I have.  It tells you to set up a sym-lnk to php, which I've
> > done.
>
> > It doesn't complain about php.
>
> > It only complains about my script "foo.php"
>
> sorry..
>
> It actually tells you to set up the sym-lnk to the program "foo".
> Sorry, I've read a LOT online while trying to fix this.
>
> I've done that also, as explained in my first post.

This turned out to be a permissions issue.

I moved the php script to the /etc/smrsh/ directory and it all
worked. Any pointers as to how to solve this so I can put the php
script back where it belongs would be great.