Hello, Manuel!
On Thu, 26 Aug 1999, Manuel de Ferran wrote:
>I try to put in a .forward file a pipe to a program :
>"|/home/toto/bin/test.pl"
>
>But I get a : stat=Can't create output: Executable files not allowed
>
>The sendmail version is 8.9.3, I look in the sendmail.cf and in the faq
>on sendmail.org but didnt find anything that could fix it.
>(My local mailer is procmail)
What is /home/toto/bin/test.pl permissions ? They have to satisfy
some conditions (I don't know this exactly). This is a part from
sendmail(safefile.c):
if (bitset(S_IWUSR|S_IWGRP|S_IWOTH, mode) &&
bitset(S_IXUSR|S_IXGRP|S_IXOTH, st->st_mode))
{
if (tTd(44, 4))
printf("\t[exec bits %lo]\tE_SM_ISEXEC]\n",
(u_long) st->st_mode);
return E_SM_ISEXEC;
}
Seems this is the only place this error can occur from.
Anyway, playing with this, I found that I can use 777 permission
on a executable and this is OK for sendmail.
Bye.
--
***
*******
*********
****** Confucious say: "Is stuffy inside fortune cookie."
*******
***
--
With best of best regards, Pawel S. Veselov (aka Black Angel)
Web page : http://i.am/BlackAngel | ICQ UIN : 5252265
Internet e-mail : [EMAIL PROTECTED]
-
To unsubscribe from this list: send the line "unsubscribe linux-net" in
the body of a message to [EMAIL PROTECTED]