[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [cobalt-users] OT? Mail to a script/program



> >> We have set this alias entry
> >> (alias: "|/home/sites/site41/web/cgi-bin/alias.cgi")
> >> to activate a script when receive email, but Sendmail answers 
> >> "Cannot mail directly to files"
> >>If I try from a shell: perl/home/sites/site41/web/cgi-bin/alias.cgi
> >>it works.!


Zeffie wrote:

>who owns the file and what group is it in....

Its ownership is root.root

--------------------

elmer@xxxxxxxxxxxxxx wrote:

>that doing a chmod +x on the script might end your problem

Done, but not did the trick...

>Then again, do you trust user 41 enough enough to all but hand them 
>root access to your server?

But the cgi script is owned by root so I think user 41 can do nothing,
or not?


Thanks
Robert