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

Re: [cobalt-users] RAQ2 pathproblem aliases



"Popp, Armin" <apopp@xxxxxxx> wrote:
> I have a problem when installing keystone, a helpdesk app.
>
> The install manual told me the following:
> ---------------------------------------------------------------------
> Edit the system aliases file for the server running Keystone. In most
systems, this will be in
> /etc/aliases. Create the following entries:
>
> keystone: "|/apache/htdocs/keystone/perl/keymail.pl -mailinfo";
> ---------------------------------------------------------------------
> my absolute path for example is
>
> /home/sites/site1/web/keystone/perl/keymail.pl
>
> I tried:
>
> keystone: "|/home/sites/site1/web/keystone/perl/keymail.pl -mailinfo";
>
> When I try to do that in aliases mail comes
> back with undeliverable
>
> What is the substituded Path?

The path isn't the problem.  Sendmail is paranoid and will not execute
programs that aren't trusted.  To make a program trusted add a symbolic link
to it using "ln" in /usr/adm/sm.bin/.  "man ln" for instructions.  Go to the
directory I just mentioned and type "ln -s keymail.pl
/home/sites/site1/web/keystone/perl/keymail.pl".  I believe you'll also need
to make the original file (not the symbolic link) executable by the user
sendmail runs as.  chmod 755 that file and it should work.

--
Steve Werby
President, Befriend Internet Services LLC
http://www.befriend.com/